Changeset 17af882 in mainline for kernel/arch/amd64/src
- Timestamp:
- 2014-06-16T11:32:05Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2cb32f9
- Parents:
- 334bf28
- Location:
- kernel/arch/amd64/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/src/boot/multiboot.S
r334bf28 r17af882 428 428 429 429 /* Call arch_pre_main(multiboot_eax, multiboot_ebx) */ 430 xorq %rdi, %rdi431 430 movl multiboot_eax, %edi 432 xorq %rsi, %rsi433 431 movl multiboot_ebx, %esi 434 435 movabsq $arch_pre_main, %rax 436 callq *%rax 437 432 callq arch_pre_main 433 438 434 long_status $status_main 439 435 440 436 /* Call main_bsp() */ 441 movabsq $main_bsp, %rax 442 call *%rax 437 callq main_bsp 443 438 444 439 /* Not reached */ … … 638 633 .quad ptl_2_6g + (PTL_WRITABLE | PTL_PRESENT) 639 634 .quad ptl_2_7g + (PTL_WRITABLE | PTL_PRESENT) 640 .fill 504, 8, 0 635 .fill 502, 8, 0 636 /* Mapping of [0; 2G) at -2G */ 637 .quad ptl_2_0g + (PTL_WRITABLE | PTL_PRESENT) 638 .quad ptl_2_1g + (PTL_WRITABLE | PTL_PRESENT) 639 641 640 642 641 .align 4096 … … 644 643 ptl_0: 645 644 .quad ptl_1 + (PTL_WRITABLE | PTL_PRESENT) 646 .fill 255, 8, 0645 .fill 510, 8, 0 647 646 .quad ptl_1 + (PTL_WRITABLE | PTL_PRESENT) 648 .fill 255, 8, 0649 647 650 648 .section K_DATA_START, "aw", @progbits -
kernel/arch/amd64/src/boot/multiboot2.S
r334bf28 r17af882 244 244 245 245 /* Call arch_pre_main(multiboot_eax, multiboot_ebx) */ 246 xorq %rdi, %rdi247 246 movl multiboot_eax, %edi 248 xorq %rsi, %rsi249 247 movl multiboot_ebx, %esi 250 251 movabsq $arch_pre_main, %rax 252 callq *%rax 248 callq arch_pre_main 253 249 254 250 /* Call main_bsp() */ 255 movabsq $main_bsp, %rax 256 call *%rax 251 callq main_bsp 257 252 258 253 /* Not reached */ -
kernel/arch/amd64/src/mm/km.c
r334bf28 r17af882 40 40 { 41 41 config.identity_base = KM_AMD64_IDENTITY_START; 42 config.identity_size = KM_AMD64_IDENTITY_SIZE; 42 config.identity_size = KM_AMD64_IDENTITY_SIZE; 43 43 } 44 44
Note:
See TracChangeset
for help on using the changeset viewer.