Changeset 8be3230 in mainline for kernel/arch
- Timestamp:
- 2018-11-18T01:01:02Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 3b3fcf36
- Parents:
- ec18e454
- Location:
- kernel/arch
- Files:
-
- 8 added
- 2 edited
-
amd64/src/boot/multiboot.S (modified) (7 diffs)
-
amd64/src/boot/vesa_prot.inc (added)
-
amd64/src/boot/vesa_real.inc (added)
-
amd64/src/boot/vesa_ret.inc (added)
-
amd64/src/boot/vga323.pal (added)
-
ia32/src/boot/multiboot.S (modified) (7 diffs)
-
ia32/src/boot/vesa_prot.inc (added)
-
ia32/src/boot/vesa_real.inc (added)
-
ia32/src/boot/vesa_ret.inc (added)
-
ia32/src/boot/vga323.pal (added)
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/amd64/src/boot/multiboot.S
rec18e454 r8be3230 38 38 #include <arch/cpu.h> 39 39 40 // TODO: most of this file can be rewritten in C41 42 40 #define START_STACK (BOOT_OFFSET - BOOT_STACK_SIZE) 43 41 … … 52 50 53 51 .macro pm_status msg 54 #if defined(CONFIG_EGA) && !defined(CONFIG_FB)52 #ifdef CONFIG_EGA 55 53 pushl %esi 56 54 movl \msg, %esi … … 69 67 multiboot_header: 70 68 .long MULTIBOOT_HEADER_MAGIC 71 #ifdef CONFIG_FB72 69 .long MULTIBOOT_HEADER_FLAGS 73 70 .long -(MULTIBOOT_HEADER_MAGIC + MULTIBOOT_HEADER_FLAGS) /* checksum */ 74 #else75 .long MULTIBOOT_HEADER_FLAGS_NOFB76 .long -(MULTIBOOT_HEADER_MAGIC + MULTIBOOT_HEADER_FLAGS_NOFB) /* checksum */77 #endif78 71 .long multiboot_header 79 72 .long unmapped_start … … 81 74 .long 0 82 75 .long multiboot_image_start 83 #ifdef CONFIG_FB84 .long 085 .long CONFIG_BFB_WIDTH86 .long CONFIG_BFB_HEIGHT87 .long CONFIG_BFB_BPP88 #endif89 76 90 77 SYMBOL(multiboot_image_start) … … 171 158 sse2_supported: 172 159 160 #include "vesa_prot.inc" 161 173 162 pm2_status $status_prot2 174 163 … … 579 568 580 569 ret 570 571 #include "vesa_real.inc" 581 572 582 573 .section K_INI_PTLS, "aw", @progbits … … 717 708 status_prot: 718 709 .asciz "[prot] " 710 status_vesa_copy: 711 .asciz "[vesa_copy] " 719 712 status_multiboot_cmdline: 720 713 .asciz "[multiboot_cmdline] " 714 status_vesa_real: 715 .asciz "[vesa_real] " 721 716 status_prot2: 722 717 .asciz "[prot2] " -
kernel/arch/ia32/src/boot/multiboot.S
rec18e454 r8be3230 38 38 #include <arch/cpu.h> 39 39 40 // TODO: most of this file can be rewritten in C41 42 40 #define START_STACK (BOOT_OFFSET - BOOT_STACK_SIZE) 43 41 … … 52 50 53 51 .macro pm_status msg 54 #if defined(CONFIG_EGA) && !defined(CONFIG_FB)52 #ifdef CONFIG_EGA 55 53 pushl %esi 56 54 movl \msg, %esi … … 68 66 multiboot_header: 69 67 .long MULTIBOOT_HEADER_MAGIC 70 #ifdef CONFIG_FB71 68 .long MULTIBOOT_HEADER_FLAGS 72 69 .long -(MULTIBOOT_HEADER_MAGIC + MULTIBOOT_HEADER_FLAGS) /* checksum */ 73 #else74 .long MULTIBOOT_HEADER_FLAGS_NOFB75 .long -(MULTIBOOT_HEADER_MAGIC + MULTIBOOT_HEADER_FLAGS_NOFB) /* checksum */76 #endif77 70 .long multiboot_header 78 71 .long unmapped_start … … 80 73 .long 0 81 74 .long multiboot_image_start 82 #ifdef CONFIG_FB83 .long 084 .long CONFIG_BFB_WIDTH85 .long CONFIG_BFB_HEIGHT86 .long CONFIG_BFB_BPP87 #endif88 75 89 76 SYMBOL(multiboot_image_start) … … 117 104 118 105 pm_status $status_prot 106 107 #include "vesa_prot.inc" 119 108 120 109 #ifndef PROCESSOR_i486 … … 696 685 ret 697 686 687 #include "vesa_real.inc" 688 698 689 .section K_DATA_START, "aw", @progbits 699 690 … … 729 720 status_non_pse: 730 721 .asciz "[non_pse] " 722 status_vesa_copy: 723 .asciz "[vesa_copy] " 731 724 status_multiboot_cmdline: 732 725 .asciz "[multiboot_cmdline] " 726 status_vesa_real: 727 .asciz "[vesa_real] " 733 728 status_prot2: 734 729 .asciz "[prot2] "
Note:
See TracChangeset
for help on using the changeset viewer.
