aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Gerd Zellweger <mail@gerdzellweger.com> 2019-09-12 21:53:03 -0700
committerGravatar Gerd Zellweger <mail@gerdzellweger.com> 2019-09-12 21:53:03 -0700
commit9f6bb5b74fda82efb501cd62a326b12256ae4509 (patch)
tree4f74ee7fa589bab162a4a9e0be85d5fda3de5789
parent5ae15a9b7db6ba719dd2285f3eb7df66ee1fa2e1 (diff)
downloadrust-x86-9f6bb5b74fda82efb501cd62a326b12256ae4509.tar.gz
rust-x86-9f6bb5b74fda82efb501cd62a326b12256ae4509.tar.zst
rust-x86-9f6bb5b74fda82efb501cd62a326b12256ae4509.zip
Fix warnings and release 0.23 version.
-rw-r--r--Cargo.toml2
-rw-r--r--src/apic/x2apic.rs6
2 files changed, 4 insertions, 4 deletions
diff --git a/Cargo.toml b/Cargo.toml
index fb11dbc..0c186cf 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "x86"
-version = "0.22.0"
+version = "0.23.0"
authors = [
"Gerd Zellweger <mail@gerdzellweger.com>",
"Eric Kidd <git@randomhacks.net>",
diff --git a/src/apic/x2apic.rs b/src/apic/x2apic.rs
index fa3e70f..dc99a05 100644
--- a/src/apic/x2apic.rs
+++ b/src/apic/x2apic.rs
@@ -98,7 +98,7 @@ impl ApicControl for X2APIC {
}
/// Send a INIT IPI to a core.
- unsafe fn ipi_init(&mut self, core: ApicId) {
+ unsafe fn ipi_init(&mut self, _core: ApicId) {
unreachable!("NYI");
}
@@ -108,12 +108,12 @@ impl ApicControl for X2APIC {
}
/// Send a STARTUP IPI to a core.
- unsafe fn ipi_startup(&mut self, core: ApicId, start_page: u8) {
+ unsafe fn ipi_startup(&mut self, _core: ApicId, _start_page: u8) {
unreachable!("NYI");
}
/// Send a generic IPI.
- unsafe fn send_ipi(&mut self, icr: Icr) {
+ unsafe fn send_ipi(&mut self, _icr: Icr) {
unreachable!("NYI");
}
}