#------------------------------------------------------------------------------\r
#*\r
-#* Copyright 2006 - 2007, Intel Corporation \r
-#* All rights reserved. This program and the accompanying materials \r
+#* Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>\r
+#* This program and the accompanying materials \r
#* are licensed and made available under the terms and conditions of the BSD License \r
#* which accompanies this distribution. The full text of the license may be found at \r
#* http://opensource.org/licenses/bsd-license.php \r
.equ BLOCK_SHIFT, 9\r
\r
.org 0x0\r
+\r
+.global _start\r
+_start:\r
+\r
Ia32Jump: \r
jmp BootSectorEntryPoint # JMP inst - 3 bytes\r
nop\r
movw $18,%cx\r
jmp PrintStringAndHalt\r
CheckEm64TPass: \r
-jumpFarInstruction: \r
+JumpFarInstruction: \r
.byte 0xea\r
-jumpOffset: \r
+JumpOffset: \r
.word 0x200\r
-jumpSegment: \r
+JumpSegment: \r
.word 0x2000\r
\r
\r
#\r
# Enable paging to activate long mode (set CR0.PG=1)\r
#\r
- movl $cr0, %eax # Read CR0.\r
+ movl %cr0, %eax # Read CR0.\r
.byte 0xf\r
.byte 0xba\r
.byte 0xe8\r
.long 0,0,0,0,0,0,0,0\r
.long 0,0,0,0,0,0,0,0\r
\r
- .long 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0\r
.long 0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0\r
\r
.org 0x0fe0\r