- Timestamp:
- 2006-03-13T19:39:30Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 45d6add
- Parents:
- 78a95d6f
- Location:
- arch
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/amd64/include/types.h
r78a95d6f r6d9c49a 49 49 50 50 typedef __u64 __native; 51 typedef __s64 __snative; 51 52 52 53 typedef struct page_specifier pte_t; -
arch/amd64/src/asm_utils.S
r78a95d6f r6d9c49a 208 208 swapgs 209 209 210 sti 210 211 movq %r9, %rcx # Exchange last parameter as a third 211 212 call syscall_handler 212 213 cli # We will be touching stack pointer 214 213 215 popq %r11 214 216 popq %rcx -
arch/amd64/src/syscall.c
r78a95d6f r6d9c49a 63 63 64 64 /** Dispatch system call */ 65 __native syscall_handler(__native id, __native a1, __native a2, __native a3) 65 __native syscall_handler(__native a1, __native a2, __native a3, 66 __native id) 66 67 { 67 interrupts_enable();68 68 if (id < SYSCALL_END) 69 69 return syscall_table[id](a1,a2,a3); 70 70 else 71 71 panic("Undefined syscall %d", id); 72 interrupts_disable();73 72 } -
arch/ia32/include/types.h
r78a95d6f r6d9c49a 48 48 49 49 typedef __u32 __native; 50 typedef __s32 __native; 50 51 51 52 typedef struct page_specifier pte_t; -
arch/ia32/src/interrupt.c
r78a95d6f r6d9c49a 115 115 { 116 116 __native *stack = (__native *) st; 117 117 118 interrupts_enable(); 118 119 if (stack[-2] < SYSCALL_END) 119 120 stack[-2] = syscall_table[stack[-2]](stack[-5], stack[-3], stack[-4]); 120 121 else 121 122 panic("Undefined syscall %d", stack[-2]); 123 interrupts_disable(); 122 124 } 123 125 -
arch/ia64/include/types.h
r78a95d6f r6d9c49a 1 /* 1 2 2 * Copyright (C) 2005 Jakub Jermar 3 3 * All rights reserved. … … 48 48 49 49 typedef __u64 __native; 50 typedef __s64 __native; 50 51 51 52 typedef struct pte pte_t; -
arch/mips32/include/types.h
r78a95d6f r6d9c49a 49 49 50 50 typedef __u32 __native; 51 typedef __s32 __snative; 51 52 52 53 typedef struct pte pte_t; -
arch/mips32/src/exception.c
r78a95d6f r6d9c49a 134 134 static void syscall_exception(int n, struct exception_regdump *pstate) 135 135 { 136 interrupts_enable(); 136 137 if (pstate->a3 < SYSCALL_END) 137 138 pstate->v0 = syscall_table[pstate->a3](pstate->a0, … … 140 141 else 141 142 panic("Undefined syscall %d", pstate->a3); 143 interrupts_disable(); 142 144 pstate->epc += 4; 143 145 } -
arch/sparc64/include/types.h
r78a95d6f r6d9c49a 48 48 49 49 typedef __u64 __native; 50 typedef __s64 __native; 50 51 51 52 typedef struct pte pte_t;
Note:
See TracChangeset
for help on using the changeset viewer.