fix some bugs in netboot. now the diskless support is working.
This commit is contained in:
parent
f85b90abd2
commit
83038ffbbc
5 changed files with 17 additions and 6 deletions
11
ChangeLog
11
ChangeLog
|
@ -1,3 +1,14 @@
|
||||||
|
2000-05-28 OKUJI Yoshinori <okuji@gnu.org>
|
||||||
|
|
||||||
|
* stage2/asm.S (codestart): Fix a typo: DISKLESS_SUPPORT ->
|
||||||
|
SUPPORT_DISKLESS.
|
||||||
|
* stage2/nbloader.S: Fix the image length and the memory length
|
||||||
|
fields. They shouldn't contain the first sector for a tag.
|
||||||
|
Mmh..., that is unclear as far as I see the Net Boot Image
|
||||||
|
Proposal...
|
||||||
|
* stage2/shared.h (STACKOFF): Enclosed with parentheses.
|
||||||
|
(PROTSTACKINIT): Likewise.
|
||||||
|
|
||||||
2000-05-27 OKUJI Yoshinori <okuji@gnu.org>
|
2000-05-27 OKUJI Yoshinori <okuji@gnu.org>
|
||||||
|
|
||||||
Add diskless support, mostly based on patches by Christoph
|
Add diskless support, mostly based on patches by Christoph
|
||||||
|
|
|
@ -107,7 +107,7 @@ codestart:
|
||||||
|
|
||||||
sti /* we're safe again */
|
sti /* we're safe again */
|
||||||
|
|
||||||
#ifndef DISKLESS_SUPPORT
|
#ifndef SUPPORT_DISKLESS
|
||||||
/* save boot drive reference */
|
/* save boot drive reference */
|
||||||
ADDR32 movb %dl, EXT_C(boot_drive)
|
ADDR32 movb %dl, EXT_C(boot_drive)
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -268,7 +268,7 @@ init_bios_info (void)
|
||||||
if (! setup_diskless_environment ())
|
if (! setup_diskless_environment ())
|
||||||
return;
|
return;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* Set boot drive and partition. */
|
/* Set boot drive and partition. */
|
||||||
saved_drive = boot_drive;
|
saved_drive = boot_drive;
|
||||||
saved_partition = install_partition;
|
saved_partition = install_partition;
|
||||||
|
|
|
@ -41,8 +41,8 @@
|
||||||
|
|
||||||
.long 0x04000004
|
.long 0x04000004
|
||||||
.long NBI_DEST_ADDR + 0x0200
|
.long NBI_DEST_ADDR + 0x0200
|
||||||
.long DISKLESS_SIZE + 0x200
|
.long DISKLESS_SIZE
|
||||||
.long DISKLESS_SIZE + 0x200
|
.long DISKLESS_SIZE
|
||||||
|
|
||||||
/* This ensures that the length of this image will be 1 sector */
|
/* This ensures that the length of this image will be 1 sector */
|
||||||
. = _start + 0x200 - 1
|
. = _start + 0x200 - 1
|
||||||
|
|
|
@ -234,8 +234,8 @@ extern char *grub_scratch_mem;
|
||||||
#define PROT_MODE_DSEG 0x10
|
#define PROT_MODE_DSEG 0x10
|
||||||
#define PSEUDO_RM_CSEG 0x18
|
#define PSEUDO_RM_CSEG 0x18
|
||||||
#define PSEUDO_RM_DSEG 0x20
|
#define PSEUDO_RM_DSEG 0x20
|
||||||
#define STACKOFF 0x2000 - 0x10
|
#define STACKOFF (0x2000 - 0x10)
|
||||||
#define PROTSTACKINIT FSYS_BUF - 0x10
|
#define PROTSTACKINIT (FSYS_BUF - 0x10)
|
||||||
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue