Home
last modified time | relevance | path

Searched refs:psw (Results 1 – 25 of 33) sorted by relevance

12

/linux-2.4.37.9/include/asm-s390x/
Dprocessor.h116 regs->psw.mask = _USER_PSW_MASK; \
117 regs->psw.addr = new_psw; \
122 regs->psw.mask = _USER_PSW_MASK & ~(1L << 32); \
123 regs->psw.addr = new_psw; \
157 #define KSTK_EIP(tsk) (__KSTK_PTREGS(tsk)->psw.addr)
192 psw_t psw; in __load_psw_mask() local
193 psw.mask = mask; in __load_psw_mask()
200 : "=&d" (addr) : "a" (&psw) : "memory", "cc" ); in __load_psw_mask()
Dptrace.h140 psw_t psw; member
152 psw_t psw; member
292 psw_t psw; member
308 #define user_mode(regs) (((regs)->psw.mask & PSW_PROBLEM_STATE) != 0)
309 #define instruction_pointer(regs) ((regs)->psw.addr)
Dsystem.h162 #define __load_psw(psw) \ argument
163 __asm__ __volatile__("lpswe 0(%0)" : : "a" (&psw) : "cc" );
Dsigcontext.h31 _psw_t psw; member
/linux-2.4.37.9/arch/s390/kernel/
Dtraps.c179 mode = (regs->psw.mask & PSW_PROBLEM_STATE) ? "User" : "Krnl"; in show_registers()
181 mode, (unsigned long) regs->psw.mask, in show_registers()
182 (unsigned long) regs->psw.addr); in show_registers()
205 if (regs->psw.mask & PSW_PROBLEM_STATE) in show_registers()
212 if (__get_user(c, (char *)(regs->psw.addr + i))) { in show_registers()
232 (unsigned long) regs->psw.mask, in task_show_regs()
233 (unsigned long) regs->psw.addr); in task_show_regs()
282 if (regs->psw.mask & PSW_PROBLEM_STATE) in do_trap()
285 if (regs->psw.mask & PSW_PROBLEM_STATE) { in do_trap()
307 unsigned long fixup = search_exception_table(regs->psw.addr); in do_trap()
[all …]
Dhead.S44 .long 0x00000000,0x00000000 # external old psw
45 .long 0x00000000,0x00000000 # svc old psw
46 .long 0x00000000,0x00000000 # program check old psw
47 .long 0x00000000,0x00000000 # machine check old psw
48 .long 0x00000000,0x00000000 # io old psw
52 .long 0x000a0000,0x00000058 # external new psw
53 .long 0x000a0000,0x00000060 # svc new psw
54 .long 0x000a0000,0x00000068 # program check new psw
55 .long 0x000a0000,0x00000070 # machine check new psw
56 .long 0x00080000,0x80000000+.Lioint # io new psw
[all …]
Dsignal.c199 psw_t saved_psw=regs->psw; in restore_sigregs()
204 regs->psw.mask=(saved_psw.mask&~PSW_MASK_DEBUGCHANGE)| in restore_sigregs()
205 (regs->psw.mask&PSW_MASK_DEBUGCHANGE); in restore_sigregs()
206 regs->psw.addr=(saved_psw.addr&~PSW_ADDR_DEBUGCHANGE)| in restore_sigregs()
207 (regs->psw.addr&PSW_ADDR_DEBUGCHANGE); in restore_sigregs()
344 regs->psw.addr = FIX_PSW(ka->sa.sa_handler); in setup_frame()
345 regs->psw.mask = _USER_PSW_MASK; in setup_frame()
401 regs->psw.addr = FIX_PSW(ka->sa.sa_handler); in setup_rt_frame()
402 regs->psw.mask = _USER_PSW_MASK; in setup_rt_frame()
439 regs->psw.addr -= 2; in handle_signal()
[all …]
Dptrace.c66 regs->psw.mask |=PSW_PER_MASK; in FixPerRegisters()
68 regs->psw.mask &= ~PSW_PER_MASK; in FixPerRegisters()
Dgdb-stub.c504 regs->psw.addr = addr; in gdb_stub_handle_exception()
/linux-2.4.37.9/arch/s390x/kernel/
Dtraps.c181 mode = (regs->psw.mask & PSW_PROBLEM_STATE) ? "User" : "Krnl"; in show_registers()
183 mode, (unsigned long) regs->psw.mask, in show_registers()
184 (unsigned long) regs->psw.addr); in show_registers()
207 if (regs->psw.mask & PSW_PROBLEM_STATE) in show_registers()
214 if (__get_user(c, (char *)(regs->psw.addr + i))) { in show_registers()
234 (unsigned long) regs->psw.mask, in task_show_regs()
235 (unsigned long) regs->psw.addr); in task_show_regs()
284 if (regs->psw.mask & PSW_PROBLEM_STATE) in do_trap()
287 if (regs->psw.mask & PSW_PROBLEM_STATE) { in do_trap()
308 unsigned long fixup = search_exception_table(regs->psw.addr); in do_trap()
[all …]
Dsignal32.c298 err |= __copy_to_user(&sregs->regs.psw.mask, &regs->psw.mask, 4); in save_sigregs32()
299 err |= __copy_to_user(&sregs->regs.psw.addr, ((char*)&regs->psw.addr)+4, 4); in save_sigregs32()
315 psw_t saved_psw=regs->psw; in restore_sigregs32()
322 err |= __copy_from_user(&regs->psw.mask, &sregs->regs.psw.mask, 4); in restore_sigregs32()
323 err |= __copy_from_user(((char*)&regs->psw.addr)+4, &sregs->regs.psw.addr, 4); in restore_sigregs32()
328 regs->psw.mask=(saved_psw.mask&~PSW_MASK_DEBUGCHANGE)| in restore_sigregs32()
329 (regs->psw.mask&PSW_MASK_DEBUGCHANGE); in restore_sigregs32()
330 regs->psw.addr=(saved_psw.addr&~PSW_ADDR_DEBUGCHANGE)| in restore_sigregs32()
331 (regs->psw.addr&PSW_ADDR_DEBUGCHANGE); in restore_sigregs32()
483 regs->psw.addr = FIX_PSW(ka->sa.sa_handler); in setup_frame32()
[all …]
Dbinfmt_elf32.c64 memcpy(&pr_reg.psw.mask, &regs->psw.mask, 4); \
65 memcpy(&pr_reg.psw.addr, ((char*)&regs->psw.addr)+4, 4); \
106 _psw_t32 psw; member
Dhead.S44 .long 0x00000000,0x00000000 # external old psw
45 .long 0x00000000,0x00000000 # svc old psw
46 .long 0x00000000,0x00000000 # program check old psw
47 .long 0x00000000,0x00000000 # machine check old psw
48 .long 0x00000000,0x00000000 # io old psw
52 .long 0x000a0000,0x00000058 # external new psw
53 .long 0x000a0000,0x00000060 # svc new psw
54 .long 0x000a0000,0x00000068 # program check new psw
55 .long 0x000a0000,0x00000070 # machine check new psw
56 .long 0x00080000,0x80000000+.Lioint # io new psw
[all …]
Dsignal.c197 psw_t saved_psw=regs->psw; in restore_sigregs()
202 regs->psw.mask=(saved_psw.mask&~PSW_MASK_DEBUGCHANGE)| in restore_sigregs()
203 (regs->psw.mask&PSW_MASK_DEBUGCHANGE); in restore_sigregs()
204 regs->psw.addr=(saved_psw.addr&~PSW_ADDR_DEBUGCHANGE)| in restore_sigregs()
205 (regs->psw.addr&PSW_ADDR_DEBUGCHANGE); in restore_sigregs()
342 regs->psw.addr = FIX_PSW(ka->sa.sa_handler); in setup_frame()
343 regs->psw.mask = _USER_PSW_MASK; in setup_frame()
399 regs->psw.addr = FIX_PSW(ka->sa.sa_handler); in setup_rt_frame()
400 regs->psw.mask = _USER_PSW_MASK; in setup_rt_frame()
437 regs->psw.addr -= 2; in handle_signal()
[all …]
Dptrace.c77 regs->psw.mask |= PSW_PER_MASK; in FixPerRegisters()
79 regs->psw.mask &= ~PSW_PER_MASK; in FixPerRegisters()
184 _psw_t32 psw; member
Dlinux32.h199 _psw_t32 psw; member
Dentry.S77 1: aghi %r15,-SP_SIZE # make room for registers & psw
/linux-2.4.37.9/arch/s390/boot/
Dipldump.S21 .long 0x00000000,0x00000000 # svc old psw
22 .long 0x00000000,0x00000000 # program check old psw
23 .long 0x00000000,0x00000000 # machine check old psw
24 .long 0x00000000,0x00000000 # io old psw
28 .long 0x000a0000,0x00000058 # external new psw
29 .long 0x000a0000,0x00000060 # svc new psw
30 .long 0x000a0000,0x00000068 # program check new psw
31 .long 0x000a0000,0x00000070 # machine check new psw
32 .long 0x00080000,0x80000000+.Lioint # io new psw
/linux-2.4.37.9/arch/s390x/boot/
Dipldump.S21 .long 0x00000000,0x00000000 # svc old psw
22 .long 0x00000000,0x00000000 # program check old psw
23 .long 0x00000000,0x00000000 # machine check old psw
24 .long 0x00000000,0x00000000 # io old psw
28 .long 0x000a0000,0x00000058 # external new psw
29 .long 0x000a0000,0x00000060 # svc new psw
30 .long 0x000a0000,0x00000068 # program check new psw
31 .long 0x000a0000,0x00000070 # machine check new psw
32 .long 0x00080000,0x80000000+.Lioint # io new psw
/linux-2.4.37.9/include/asm-s390/
Dprocessor.h108 regs->psw.mask = _USER_PSW_MASK; \
109 regs->psw.addr = new_psw | 0x80000000; \
142 #define KSTK_EIP(tsk) (__KSTK_PTREGS(tsk)->psw.addr)
181 psw_t psw; in __load_psw_mask() local
182 psw.mask = mask; in __load_psw_mask()
190 : "=&d" (addr) : "a" (&psw) : "memory", "cc" ); in __load_psw_mask()
Dptrace.h160 psw_t psw; member
172 psw_t psw; member
310 psw_t psw; member
326 #define user_mode(regs) (((regs)->psw.mask & PSW_PROBLEM_STATE) != 0)
327 #define instruction_pointer(regs) ((regs)->psw.addr)
Dsystem.h150 #define __load_psw(psw) \ argument
151 __asm__ __volatile__("lpsw 0(%0)" : : "a" (&psw) : "cc" );
Dsigcontext.h33 _psw_t psw; member
/linux-2.4.37.9/arch/s390/mm/
Dfault.c170 if (!(regs->psw.mask & PSW_PROBLEM_STATE)) { in do_exception()
260 if (regs->psw.mask & PSW_PROBLEM_STATE) { in do_exception()
269 if ((fixup = search_exception_table(regs->psw.addr)) != 0) { in do_exception()
270 regs->psw.addr = fixup; in do_exception()
300 if (regs->psw.mask & PSW_PROBLEM_STATE) in do_exception()
316 if (!(regs->psw.mask & PSW_PROBLEM_STATE)) in do_exception()
322 regs->psw.addr -= (error_code >> 16); in do_protection_exception()
395 if (!(regs->psw.mask & PSW_PROBLEM_STATE)) { in do_pseudo_page_fault()
530 if (regs->psw.mask & PSW_PROBLEM_STATE) in pfault_interrupt()
/linux-2.4.37.9/arch/s390x/mm/
Dfault.c170 if (!(regs->psw.mask & PSW_PROBLEM_STATE)) { in do_exception()
260 if (regs->psw.mask & PSW_PROBLEM_STATE) { in do_exception()
269 if ((fixup = search_exception_table(regs->psw.addr)) != 0) { in do_exception()
270 regs->psw.addr = fixup; in do_exception()
300 if (regs->psw.mask & PSW_PROBLEM_STATE) in do_exception()
316 if (!(regs->psw.mask & PSW_PROBLEM_STATE)) in do_exception()
322 regs->psw.addr -= (error_code >> 16); in do_protection_exception()
442 if (regs->psw.mask & PSW_PROBLEM_STATE) in pfault_interrupt()

12