aboutsummaryrefslogtreecommitdiff
path: root/src/arch/x86_64/context.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/arch/x86_64/context.rs')
-rw-r--r--src/arch/x86_64/context.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/x86_64/context.rs b/src/arch/x86_64/context.rs
index 08fd3b6..37b6c2f 100644
--- a/src/arch/x86_64/context.rs
+++ b/src/arch/x86_64/context.rs
@@ -13,7 +13,7 @@ pub struct Context {
}
/// prepare the thread (coroutine) for the first execution
-pub unsafe fn settle(){
+pub unsafe fn settle() {
todo!()
// it will be something like this...
// void **sp = (void**)tos;
@@ -23,6 +23,6 @@ pub unsafe fn settle(){
// regs->rsp = sp;
}
-pub unsafe fn switch(ctx_curr:usize, ctx_next:usize){
+pub unsafe fn switch(ctx_curr: usize, ctx_next: usize) {
todo!()
}