mirror of
https://github.com/panpaul/tiny_os
synced 2024-09-20 09:45:19 +08:00
chore: simplify SysResult
This commit is contained in:
parent
2db111e730
commit
e46ca5a288
@ -65,7 +65,7 @@ impl UntypedCap<'_> {
|
||||
1 << self.block_bits()
|
||||
}
|
||||
|
||||
pub fn retype(&mut self, obj_type: ObjectType, user_obj_bits: usize, slots: &mut CNodeObject) -> SysResult<()> {
|
||||
pub fn retype(&mut self, obj_type: ObjectType, user_obj_bits: usize, slots: &mut CNodeObject) -> SysResult {
|
||||
/*
|
||||
* vallina seL4: `decode_untiped_invocation`
|
||||
* - _service CPTR to an untyped object.
|
||||
|
Loading…
Reference in New Issue
Block a user