mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-24 16:19:22 +00:00
fix a bug in stage1_lba, and move all the constants in stage1 to stage1.h
This commit is contained in:
1 parent
cb7e6d5e4e
commit
95dfefd185
14 files changed
+238
-75
No files matched your search
+1
-8
@@ -122,14 +122,7 @@ extern char *grub_scratch_mem;
|
||||
* (in LSB order)
|
||||
*/
|
||||
|
||||
#define COMPAT_VERSION_MAJOR 2
|
||||
#define COMPAT_VERSION_MINOR 1
|
||||
#define COMPAT_VERSION ((COMPAT_VERSION_MINOR<<8)|COMPAT_VERSION_MAJOR)
|
||||
|
||||
#define STAGE1_VER_MAJ_OFFS 0x1bc
|
||||
#define STAGE1_INSTALLSEG 0x1ba
|
||||
#define STAGE1_INSTALLADDR 0x1b8
|
||||
#define STAGE1_FIRSTLIST 0x1b5
|
||||
#include <stage1.h>
|
||||
|
||||
#define STAGE2_VER_MAJ_OFFS 0x6
|
||||
#define STAGE2_INSTALLPART 0x8
|
||||
|
||||
Reference in new issue
Block a user