Move GRUB out of system area when using xorriso 1.2.9 or later.
This commit is contained in:
parent
5351da81e0
commit
b49fe8792a
5 changed files with 159 additions and 80 deletions
|
@ -93,11 +93,12 @@ LOCAL(read_cdrom):
|
|||
pushw $CDBLK_LENG
|
||||
|
||||
/* Block number. */
|
||||
incl %esi
|
||||
pushl %eax
|
||||
pushl %esi
|
||||
|
||||
/* Buffer address. */
|
||||
pushw $((DATA_ADDR - 0x400)>> 4)
|
||||
pushw $((DATA_ADDR - 0x200)>> 4)
|
||||
pushl %eax
|
||||
pushw $0x10
|
||||
|
||||
|
@ -167,6 +168,6 @@ err_noboot_msg:
|
|||
err_cdfail_msg:
|
||||
.ascii "cdrom read fails\0"
|
||||
|
||||
. = start + 0x1FF
|
||||
. = start + 0x7FF
|
||||
|
||||
.byte 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue