syntax checked
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7553 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
6794a1b951
commit
9ffd16fb49
@ -35,7 +35,7 @@ Ia32Jump:
|
|||||||
jmp BootSectorEntryPoint # JMP inst - 3 bytes
|
jmp BootSectorEntryPoint # JMP inst - 3 bytes
|
||||||
nop
|
nop
|
||||||
|
|
||||||
OemId: .ascii "INTEL " # OemId - 8 bytes
|
OemId: .ascii "INTEL " # OemId - 8 bytes
|
||||||
# BPB data below will be fixed by tool
|
# BPB data below will be fixed by tool
|
||||||
SectorSize: .word 0 # Sector Size - 16 bits
|
SectorSize: .word 0 # Sector Size - 16 bits
|
||||||
SectorsPerCluster: .byte 0 # Sector Per Cluster - 8 bits
|
SectorsPerCluster: .byte 0 # Sector Per Cluster - 8 bits
|
||||||
|
@ -335,7 +335,7 @@ start:
|
|||||||
MemMapLoop:
|
MemMapLoop:
|
||||||
movl $0xe820, %eax
|
movl $0xe820, %eax
|
||||||
movl $20, %ecx
|
movl $20, %ecx
|
||||||
movl 0x534d4150, %edx # SMAP
|
movl $0x534d4150, %edx # SMAP
|
||||||
int $0x15
|
int $0x15
|
||||||
jc MemMapDone
|
jc MemMapDone
|
||||||
addl $20, %edi
|
addl $20, %edi
|
||||||
|
@ -332,7 +332,7 @@ start:
|
|||||||
MemMapLoop:
|
MemMapLoop:
|
||||||
movl $0xe820, %eax
|
movl $0xe820, %eax
|
||||||
movl $20, %ecx
|
movl $20, %ecx
|
||||||
movl 0x534d4150, %edx # 0x534d4150 stands for 'SMAP'
|
movl $0x534d4150, %edx # 0x534d4150 stands for 'SMAP'
|
||||||
int $0x15
|
int $0x15
|
||||||
jc MemMapDone
|
jc MemMapDone
|
||||||
addl $20, %edi
|
addl $20, %edi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user