wip impl thread_capability

This commit is contained in:
Berkus Decker 2020-12-19 23:19:28 +02:00
parent d04739312c
commit 5ba79d78fd
1 changed files with 6 additions and 2 deletions

View File

@ -4,7 +4,7 @@
use {
super::{CapError, Capability, TryFrom},
crate::capdef,
crate::{arch::memory::PhysAddr, capdef},
paste::paste,
register::{register_bitfields, LocalRegisterCopy},
};
@ -29,4 +29,8 @@ capdef! { Thread }
// Cap implementation
//=====================
impl ThreadCapability {}
impl ThreadCapability {
pub(crate) fn ptr(&self) -> PhysAddr {
0.into() // @todo
}
}