aboutsummaryrefslogtreecommitdiff
path: root/src/syscall.rs
diff options
context:
space:
mode:
authorDavid Li <li.davidm96@gmail.com>2016-01-09 15:34:00 -0700
committerDavid Li <li.davidm96@gmail.com>2016-01-09 15:34:00 -0700
commit02e28802676127d1ee71f9a751a0da8f0890204b (patch)
tree6de08b1e9ec677eb26f03c56ee37de61070aa009 /src/syscall.rs
parentb7ba05db1185849b955f23e1ab023b1819243ddf (diff)
Add core_id to core, syscalls
Diffstat (limited to 'src/syscall.rs')
-rw-r--r--src/syscall.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/syscall.rs b/src/syscall.rs
index 41a0fcd..4620e5f 100644
--- a/src/syscall.rs
+++ b/src/syscall.rs
@@ -19,5 +19,5 @@ use trap;
pub trait SyscallHandler {
// Can't take cache because syscall can't stall
- fn syscall(&mut self, registers: &mut RegisterFile) -> Option<trap::Trap>;
+ fn syscall(&mut self, core_id: usize, registers: &mut RegisterFile) -> Option<trap::Trap>;
}