wip impl thread_capability
This commit is contained in:
parent
d04739312c
commit
5ba79d78fd
|
@ -4,7 +4,7 @@
|
||||||
|
|
||||||
use {
|
use {
|
||||||
super::{CapError, Capability, TryFrom},
|
super::{CapError, Capability, TryFrom},
|
||||||
crate::capdef,
|
crate::{arch::memory::PhysAddr, capdef},
|
||||||
paste::paste,
|
paste::paste,
|
||||||
register::{register_bitfields, LocalRegisterCopy},
|
register::{register_bitfields, LocalRegisterCopy},
|
||||||
};
|
};
|
||||||
|
@ -29,4 +29,8 @@ capdef! { Thread }
|
||||||
// Cap implementation
|
// Cap implementation
|
||||||
//=====================
|
//=====================
|
||||||
|
|
||||||
impl ThreadCapability {}
|
impl ThreadCapability {
|
||||||
|
pub(crate) fn ptr(&self) -> PhysAddr {
|
||||||
|
0.into() // @todo
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
Loading…
Reference in New Issue