From: Gabe Black Date: Wed, 26 Jul 2006 07:40:56 +0000 (-0400) Subject: Now ignore sigaction X-Git-Tag: m5_2.0_beta1~58 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=e081615cd9d6a41b329fb6a695145152644695b8;p=gem5.git Now ignore sigaction src/arch/sparc/isa/operands.isa: Added the GSR register as a control register --HG-- extra : convert_revision : 11ff4016d5c72468dd2daeba3a6105d4e84220ce --- diff --git a/src/arch/sparc/isa/operands.isa b/src/arch/sparc/isa/operands.isa index d250d3672..605816083 100644 --- a/src/arch/sparc/isa/operands.isa +++ b/src/arch/sparc/isa/operands.isa @@ -83,6 +83,7 @@ def operands {{ 'Wstate': ('ControlReg', 'udw', 'MISCREG_WSTATE', None, 53), 'Gl': ('ControlReg', 'udw', 'MISCREG_GL', None, 54), - 'Fsr': ('ControlReg', 'udw', 'MISCREG_FSR', None, 55) + 'Fsr': ('ControlReg', 'udw', 'MISCREG_FSR', None, 55), + 'Gsr': ('ControlReg', 'udw', 'MISCREG_GSR', None, 56) }}; diff --git a/src/arch/sparc/linux/process.cc b/src/arch/sparc/linux/process.cc index e27255e67..8c2de8ca3 100644 --- a/src/arch/sparc/linux/process.cc +++ b/src/arch/sparc/linux/process.cc @@ -199,7 +199,7 @@ SyscallDesc SparcLinuxProcess::syscallDescs[] = { /* 99 */ SyscallDesc("accept", unimplementedFunc), /* 100 */ SyscallDesc("getpriority", unimplementedFunc), /* 101 */ SyscallDesc("rt_sigreturn", unimplementedFunc), - /* 102 */ SyscallDesc("rt_sigaction", unimplementedFunc), + /* 102 */ SyscallDesc("rt_sigaction", ignoreFunc), /* 103 */ SyscallDesc("rt_sigprocmask", unimplementedFunc), /* 104 */ SyscallDesc("rt_sigpending", unimplementedFunc), /* 105 */ SyscallDesc("rt_sigtimedwait", unimplementedFunc), @@ -295,7 +295,7 @@ SyscallDesc SparcLinuxProcess::syscallDescs[] = { /* 195 */ SyscallDesc("epoll_wait", unimplementedFunc), /* 196 */ SyscallDesc("ioprio_set", unimplementedFunc), /* 197 */ SyscallDesc("getppid", getppidFunc), - /* 198 */ SyscallDesc("sigaction", unimplementedFunc), + /* 198 */ SyscallDesc("sigaction", ignoreFunc), /* 199 */ SyscallDesc("sgetmask", unimplementedFunc), /* 200 */ SyscallDesc("ssetmask", unimplementedFunc), /* 201 */ SyscallDesc("sigsuspend", unimplementedFunc),