Changeset f944715 in mainline
- Timestamp:
- 2005-09-01T09:02:53Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c842f04
- Parents:
- dbe9ff0
- Location:
- arch/ia32
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia32/src/boot/boot.S
rdbe9ff0 rf944715 26 26 # THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 27 # 28 29 #include <arch/boot/boot.h> 28 30 29 31 .section K_TEXT_START … … 55 57 movl %eax,%cr0 # switch to protected mode 56 58 jmpl $8,$meeting_point 59 60 .code32 61 .align 4 62 multiboot_header: 63 .long MULTIBOOT_HEADER_MAGIC 64 .long MULTIBOOT_HEADER_FLAGS 65 .long -(MULTIBOOT_HEADER_MAGIC + MULTIBOOT_HEADER_FLAGS) # checksum 66 .long multiboot_header 67 .long unmapped_ktext_start 68 .long 0 69 .long 0 70 .long multiboot_image_start 71 72 multiboot_image_start: 73 movl $0x7c00, %esp # initialize stack pointer 74 75 lgdt gdtr 76 lidt idtr 77 57 78 meeting_point: 58 .code3259 60 79 movw $16,%ax 61 80 movw %ax,%es
Note:
See TracChangeset
for help on using the changeset viewer.