diff options
author | rsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-01-10 04:30:33 +0000 |
---|---|---|
committer | rsun3 <rsun3@6f19259b-4bc3-4df7-8a09-765794883524> | 2012-01-10 04:30:33 +0000 |
commit | 69b1c0214f61bc6f57f8ed1dfc2eb1f436ab423e (patch) | |
tree | 93624b588aff06bf2246a791e811b0d3d50ae49c /DuetPkg/BootSector/efi64.S | |
parent | dee34318467c96af32cd123b0082e8498173e24a (diff) | |
download | edk2-platforms-69b1c0214f61bc6f57f8ed1dfc2eb1f436ab423e.tar.xz |
DuetPkg BootSector: Clean up .S files for 64-bit Duet for GCC build.
Partly contributed by Sergey Isakov [isakov-sl@bk.ru].
Signed-off-by: rsun3
Reviewed-by: niruiyu
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12921 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'DuetPkg/BootSector/efi64.S')
-rw-r--r-- | DuetPkg/BootSector/efi64.S | 17 |
1 files changed, 10 insertions, 7 deletions
diff --git a/DuetPkg/BootSector/efi64.S b/DuetPkg/BootSector/efi64.S index fe7a3647ad..ec6ad89761 100644 --- a/DuetPkg/BootSector/efi64.S +++ b/DuetPkg/BootSector/efi64.S @@ -1,6 +1,6 @@ #------------------------------------------------------------------------------
#*
-#* Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
+#* Copyright (c) 2006 - 2012, Intel Corporation. All rights reserved.<BR>
#* This program and the accompanying materials
#* are licensed and made available under the terms and conditions of the BSD License
#* which accompanies this distribution. The full text of the license may be found at
@@ -24,6 +24,9 @@ .code:
.org 0x21000
+.global _start
+_start:
+
.equ DEFAULT_HANDLER_SIZE, INT1 - INT0
.macro jmpCommonIdtEntry
@@ -1279,9 +1282,9 @@ looptop: andb $0xf,%bl
addb $'0', %bl
cmpb $'9', %bl
- jle @f
+ jle LN_C4
addb $7,%bl
-@@:
+LN_C4:
movb %bl, (%edi)
addl $2,%edi
loop looptop
@@ -1300,10 +1303,10 @@ ClearScreen: movb $0xc,%ah
movl $0xb8000,%edi
movl $80*24,%ecx
-LN_C4:
+LN_C5:
movw %ax, (%edi)
addl $2,%edi
- loop LN_C4
+ loop LN_C5
movl $0xb8000,%edi
popl %ecx
@@ -1315,9 +1318,9 @@ A2C: andb $0xf,%al
addb $'0', %al
cmpb $'9', %al
- jle @f
+ jle LN_C6
addb $7,%al
-LN_C5:
+LN_C6:
ret
String1: .asciz "*** INT "
|