mirror of
https://github.com/AmbiML/sparrow-kata-full.git
synced 2025-09-20 10:59:39 +00:00
Add capscan suport.
Add support to output the contents of the top-level CNode of a CAmkES service or KataOS application to the serial console. This is dependent on kernel support that is enabled with CONFIG_PRINTING. Applications must be running; otherwise there is no CSpace to dump. Specific changes: - add a "capscan" shell command - add capscan method to each CAmkES interface - add capscan_bundle method to the ProcessControlInterface - add Camkes::capscan() to dump the top-level CNode - add ProcessManager support to dump the CNode for a bundle TODO: fix syscall wrapper error return Change-Id: If6ca222decdb4c40a1d3a63e69792eb3feb30f6a GitOrigin-RevId: 504c0182ccccf287b5d58cd8e33981c11d7539d7
This commit is contained in:
@@ -79,3 +79,12 @@ pub fn kata_mlcoord_debug_state() {
|
||||
}
|
||||
unsafe { mlcoord_debug_state() };
|
||||
}
|
||||
|
||||
#[inline]
|
||||
pub fn kata_mlcoord_capscan() -> Result<(), MlCoordError> {
|
||||
extern "C" {
|
||||
fn mlcoord_capscan();
|
||||
}
|
||||
unsafe { mlcoord_capscan() };
|
||||
Ok(())
|
||||
}
|
||||
|
Reference in New Issue
Block a user