Moved the definition of dflt_name to the correct file (table.c is only for
explicitly initialized data) and made it conditional on NAMEBLOCK.
This commit is contained in:
parent
b830e63502
commit
1cc273db90
@ -24,7 +24,7 @@
|
||||
* the rights to redistribute these changes.
|
||||
*
|
||||
* from: Mach, [92/04/03 16:51:14 rvb]
|
||||
* $Id: boot.c,v 1.51 1996/07/05 19:55:03 julian Exp $
|
||||
* $Id: boot.c,v 1.52 1996/07/09 02:28:20 julian Exp $
|
||||
*/
|
||||
|
||||
|
||||
@ -61,8 +61,10 @@ WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||
|
||||
#define NAMEBUF_LEN (8*1024)
|
||||
|
||||
#ifdef NAMEBLOCK
|
||||
char *dflt_name;
|
||||
#endif
|
||||
char namebuf[NAMEBUF_LEN];
|
||||
extern char *dflt_name;
|
||||
struct exec head;
|
||||
struct bootinfo bootinfo;
|
||||
int loadflags;
|
||||
|
@ -24,7 +24,7 @@
|
||||
* the rights to redistribute these changes.
|
||||
*
|
||||
* from: Mach, Revision 2.2 92/04/04 11:35:26 rpd
|
||||
* $Id: boot2.S,v 1.6 1995/01/25 21:37:40 bde Exp $
|
||||
* $Id: boot2.S,v 1.7 1996/07/05 19:55:04 julian Exp $
|
||||
*/
|
||||
|
||||
#include "asm.h"
|
||||
@ -58,9 +58,11 @@ ENTRY(boot2)
|
||||
mov %ax, %es
|
||||
data32
|
||||
shll $4, %eax
|
||||
#ifdef NAMEBLOCK
|
||||
addr32
|
||||
data32
|
||||
movl %esp, EXT(dflt_name)
|
||||
#endif
|
||||
|
||||
/* fix up GDT entries for bootstrap */
|
||||
#define FIXUP(gdt_index) \
|
||||
|
@ -24,7 +24,7 @@
|
||||
* the rights to redistribute these changes.
|
||||
*
|
||||
* from: Mach, Revision 2.2 92/04/04 11:36:43 rpd
|
||||
* $Id: table.c,v 1.10 1996/04/07 14:28:05 bde Exp $
|
||||
* $Id: table.c,v 1.11 1996/07/05 19:55:05 julian Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
@ -140,4 +140,3 @@ char *devs[] = { "wd", "dk", "fd", "wt", "sd", 0 };
|
||||
char dflname[] = "/kernel";
|
||||
char *name = dflname;
|
||||
unsigned long tw_chars = 0x5C2D2F7C; /* "\-/|" */
|
||||
char *dflt_name;
|
||||
|
Loading…
x
Reference in New Issue
Block a user