feat(kernel): console cap gates DebugPutchar, no uart fast path; spawn start arg in a0; delegate returns slot
This commit is contained in:
@@ -25,7 +25,7 @@ mod smp;
|
||||
pub mod syscall;
|
||||
mod teardown;
|
||||
|
||||
pub use board::{BoardCaps, BoardDevice};
|
||||
pub use board::{BoardCaps, BoardDevice, BootCaps};
|
||||
pub use syscall::{SyscallOutcome, SyscallResult};
|
||||
|
||||
#[cfg(test)]
|
||||
@@ -287,9 +287,10 @@ impl<P: Platform> Kernel<P> {
|
||||
Resource::Memory(id) => self.regions.generation(*id),
|
||||
Resource::Notification(id) => self.notifications.generation(*id),
|
||||
Resource::Process(pid) => self.processes.generation(*pid),
|
||||
Resource::Interrupt(_) | Resource::ProcessCreate | Resource::SystemControl => {
|
||||
Some(Generation::initial())
|
||||
}
|
||||
Resource::Interrupt(_)
|
||||
| Resource::ProcessCreate
|
||||
| Resource::SystemControl
|
||||
| Resource::Console => Some(Generation::initial()),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user