-
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
kernel+x86_64+aarch64: add
SystemCallFrame
trait and arch impls
- Loading branch information
Showing
9 changed files
with
145 additions
and
5 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
//! System call handling for the AArch64 architecture. | ||
/// Holds the data related to a system call frame. | ||
pub struct SystemCallFrame; | ||
|
||
impl oro_kernel::SystemCallFrame for SystemCallFrame { | ||
#[inline] | ||
fn opcode(&self) -> oro_sysabi::syscall::Opcode { | ||
todo!(); | ||
} | ||
|
||
#[inline] | ||
fn table_id(&self) -> u64 { | ||
todo!(); | ||
} | ||
|
||
#[inline] | ||
fn key(&self) -> u64 { | ||
todo!(); | ||
} | ||
|
||
#[inline] | ||
fn value(&self) -> u64 { | ||
todo!(); | ||
} | ||
|
||
#[inline] | ||
fn entity_id(&self) -> u64 { | ||
todo!(); | ||
} | ||
|
||
#[inline] | ||
fn set_error(&mut self, _error: oro_sysabi::syscall::Error) { | ||
todo!(); | ||
} | ||
|
||
#[inline] | ||
fn set_return_value(&mut self, _value: u64) { | ||
todo!(); | ||
} | ||
|
||
#[inline] | ||
unsafe fn return_to_caller(self) -> ! { | ||
todo!(); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters