2002-07-06 Yoshinori K. Okuji <okuji@enbug.org>

* stage2/shared.h (boot_part_offset): Removed.

	* stage2/disk_io.c (set_bootdev): Copy the partition information
	here. Now this function can call rawread, so it can fail.
	(boot_part_offset): Removed.

	* stage2/builtins.c (boot_func): Don't copy the partition
	information here.
	(real_root_func): Check ERRNUM after calling set_bootdev.
This commit is contained in:
okuji committed 2002-07-05 22:15:57 +00:00
1 parent 1548282786
commit 80d0f93b30
4 files changed
+45 -43

No files matched your search

-1
View File
@@ -545,7 +545,6 @@ extern unsigned long boot_drive;
extern unsigned long install_second_sector;
extern struct apm_info apm_bios_info;
extern unsigned long boot_part_addr;
extern unsigned long boot_part_offset;
extern int saved_entryno;
extern unsigned char force_lba;
extern char version_string[];