Move GRUB out of system area when using xorriso 1.2.9 or later.

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2013-04-14 18:53:14 +02:00
parent 5351da81e0
commit b49fe8792a
5 changed files with 159 additions and 80 deletions

View file

@ -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