From 3658e265a835fa7cace1f91fc96e8045d321d46e Mon Sep 17 00:00:00 2001 From: Harry Chen Date: Thu, 23 May 2019 02:19:42 +0800 Subject: [PATCH] Update device tree file and add stub for SYS_RT_SIGQUEUE Signed-off-by: Harry Chen --- kernel/src/arch/mipsel/board/malta/device.dts | 2 +- kernel/src/arch/mipsel/board/thinpad/device.dts | 2 +- kernel/src/syscall/mod.rs | 3 ++- 3 files changed, 4 insertions(+), 3 deletions(-) diff --git a/kernel/src/arch/mipsel/board/malta/device.dts b/kernel/src/arch/mipsel/board/malta/device.dts index bbe1e66..bee60a4 100644 --- a/kernel/src/arch/mipsel/board/malta/device.dts +++ b/kernel/src/arch/mipsel/board/malta/device.dts @@ -9,7 +9,7 @@ chosen { stdio = &uart2; - bootargs = "rust/sh"; + bootargs = "sh"; }; aliases { }; diff --git a/kernel/src/arch/mipsel/board/thinpad/device.dts b/kernel/src/arch/mipsel/board/thinpad/device.dts index 5a771c9..ef41be8 100644 --- a/kernel/src/arch/mipsel/board/thinpad/device.dts +++ b/kernel/src/arch/mipsel/board/thinpad/device.dts @@ -9,7 +9,7 @@ chosen { stdio = &uart; - bootargs = ""; + bootargs = "sh"; }; aliases { }; diff --git a/kernel/src/syscall/mod.rs b/kernel/src/syscall/mod.rs index 1e5fe1e..0f4c2d6 100644 --- a/kernel/src/syscall/mod.rs +++ b/kernel/src/syscall/mod.rs @@ -287,7 +287,8 @@ impl Syscall<'_> { ), SYS_GETRANDOM => { 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 SYS_MAP_PCI_DEVICE => self.sys_map_pci_device(args[0], args[1]),