mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-26 09:10:53 +00:00
change the location of the boot partition table.
This commit is contained in:
1 parent
c62dcb6fa0
commit
a936d03921
5 files changed
+39
-11
No files matched your search
+6
-2
@@ -69,6 +69,8 @@ extern char *grub_scratch_mem;
|
||||
#define BUFFERADDR RAW_ADDR (0x70000)
|
||||
#define BUFFERSEG RAW_SEG (0x7000)
|
||||
|
||||
#define BOOT_PART_TABLE RAW_ADDR (0x07be)
|
||||
|
||||
/*
|
||||
* BIOS disk defines
|
||||
*/
|
||||
@@ -557,9 +559,11 @@ extern unsigned short ascii_key_map[];
|
||||
extern unsigned short io_map[];
|
||||
|
||||
/* calls for direct boot-loader chaining */
|
||||
void chain_stage1 (int segment, int offset, int part_table_addr)
|
||||
void chain_stage1 (unsigned long segment, unsigned long offset,
|
||||
unsigned long part_table_addr)
|
||||
__attribute__ ((noreturn));
|
||||
void chain_stage2 (unsigned long segment, unsigned long offset)
|
||||
__attribute__ ((noreturn));
|
||||
void chain_stage2 (int segment, int offset) __attribute__ ((noreturn));
|
||||
|
||||
/* do some funky stuff, then boot linux */
|
||||
void linux_boot (void) __attribute__ ((noreturn));
|
||||
|
||||
Reference in new issue
Block a user