Update device tree file and add stub for SYS_RT_SIGQUEUE

Signed-off-by: Harry Chen <i@harrychen.xyz>
master
Harry Chen 6 years ago
parent 0614e2b1aa
commit 3658e265a8

@ -9,7 +9,7 @@
chosen { chosen {
stdio = &uart2; stdio = &uart2;
bootargs = "rust/sh"; bootargs = "sh";
}; };
aliases { }; aliases { };

@ -9,7 +9,7 @@
chosen { chosen {
stdio = &uart; stdio = &uart;
bootargs = ""; bootargs = "sh";
}; };
aliases { }; aliases { };

@ -287,7 +287,8 @@ impl Syscall<'_> {
), ),
SYS_GETRANDOM => { SYS_GETRANDOM => {
self.sys_getrandom(args[0] as *mut u8, args[1] as usize, args[2] as u32) self.sys_getrandom(args[0] as *mut u8, args[1] as usize, args[2] as u32)
} },
SYS_RT_SIGQUEUEINFO => self.unimplemented("rt_sigqueueinfo", Ok(0)),
// custom // custom
SYS_MAP_PCI_DEVICE => self.sys_map_pci_device(args[0], args[1]), SYS_MAP_PCI_DEVICE => self.sys_map_pci_device(args[0], args[1]),

Loading…
Cancel
Save