Changeset a043e39 in mainline for kernel/arch/amd64/src/asm_utils.S
- Timestamp:
- 2010-06-25T04:23:47Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 8e374ea7
- Parents:
- 06737a0
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/src/asm_utils.S
r06737a0 ra043e39 50 50 .global interrupt_handlers 51 51 .global syscall_entry 52 .global panic_printf53 54 panic_printf:55 movq $halt, (%rsp)56 jmp printf57 52 58 53 .global cpuid … … 232 227 cld 233 228 234 # Stop stack traces here 235 xorq %rbp, %rbp 229 # 230 # Stop stack traces here if we came from userspace. 231 # 232 movq %cs, %rax 233 xorq %rdx, %rdx 234 cmpq %rax, IREGISTER_SPACE+16(%rsp) 235 cmovneq %rdx, %rbp 236 236 237 237 movq $(\i), %rdi # %rdi - first parameter … … 287 287 pushq %rcx 288 288 pushq %r11 289 pushq %rbp 290 291 xorq %rbp, %rbp # stop the stack traces here 289 292 290 293 movq %r10, %rcx # Copy the 4th argument where it is expected … … 293 296 addq $8, %rsp 294 297 298 popq %rbp 295 299 popq %r11 296 300 popq %rcx
Note:
See TracChangeset
for help on using the changeset viewer.