aboutsummaryrefslogtreecommitdiff
path: root/src/apic/x2apic.rs
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 /src/apic/x2apic.rs
parent5ae15a9b7db6ba719dd2285f3eb7df66ee1fa2e1 (diff)
downloadrust-x86-9f6bb5b74fda82efb501cd62a326b12256ae4509.tar.gz
rust-x86-9f6bb5b74fda82efb501cd62a326b12256ae4509.tar.zst
rust-x86-9f6bb5b74fda82efb501cd62a326b12256ae4509.zip
Fix warnings and release 0.23 version.
Diffstat (limited to 'src/apic/x2apic.rs')
-rw-r--r--src/apic/x2apic.rs6
1 files changed, 3 insertions, 3 deletions
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");
}
}