Changeset e80329d6 in mainline for kernel/arch/amd64/src/asm.S
- Timestamp:
- 2010-11-02T20:02:07Z (14 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b5e68c8, e06ef614
- Parents:
- c75698b
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/src/asm.S
rc75698b re80329d6 95 95 memcpy_from_uspace_failover_address: 96 96 memcpy_to_uspace_failover_address: 97 xor q %rax, %rax /* return 0, failure */97 xorl %eax, %eax /* return 0, failure */ 98 98 ret 99 99 … … 143 143 144 144 set_efer_flag: 145 mov q $0xc0000080, %rcx145 movl $0xc0000080, %ecx 146 146 rdmsr 147 147 btsl %edi, %eax … … 150 150 151 151 read_efer_flag: 152 mov q $0xc0000080, %rcx152 movl $0xc0000080, %ecx 153 153 rdmsr 154 154 ret … … 243 243 * Stop stack traces here if we came from userspace. 244 244 */ 245 xor q %rdx, %rdx245 xorl %edx, %edx 246 246 cmpq $(GDT_SELECTOR(KTEXT_DES)), ISTATE_OFFSET_CS(%rsp) 247 247 cmovnzq %rdx, %rbp … … 425 425 movq %rdi, %rsi 426 426 movq $(PA2KA(0xb8000)), %rdi /* base of EGA text mode memory */ 427 xor q %rax, %rax427 xorl %eax, %eax 428 428 429 429 /* Read bits 8 - 15 of the cursor address */ … … 505 505 movq $(PA2KA(0xb80a0)), %rsi 506 506 movq $(PA2KA(0xb8000)), %rdi 507 mov q $480, %rcx507 movl $480, %ecx 508 508 rep movsq 509 509 510 510 /* Clear the 24th row */ 511 xor q %rax, %rax512 mov q $20, %rcx511 xorl %eax, %eax 512 movl $20, %ecx 513 513 rep stosq 514 514
Note:
See TracChangeset
for help on using the changeset viewer.