change the meanings of some boot flags:

a (was ~RB_SINGLE, redundant with 'A') -> askname
n (was RB_ASKNAME) -> no meaning
d (was RB_DFLTROOT) -> no meaning (unnecessary with new setroot() code)
m (was RB_MINIROOT) -> no meaning (miniroots currently unsupported;
    #ifdef'd out)
N (was ~RB_ASKNAME) -> no meaning (unnecessary; just don't specify RB_ASKNAME!)
This commit is contained in:
cgd 1996-06-12 01:36:01 +00:00
parent 4a4d4dfc26
commit 5109def361
1 changed files with 7 additions and 13 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: machdep.c,v 1.20 1996/06/03 18:32:37 cgd Exp $ */ /* $NetBSD: machdep.c,v 1.21 1996/06/12 01:36:01 cgd Exp $ */
/* /*
* Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University. * Copyright (c) 1994, 1995, 1996 Carnegie-Mellon University.
@ -589,25 +589,19 @@ alpha_init(pfn, ptb, argc, argv, envp)
#endif #endif
for (p = boot_flags; p && *p != '\0'; p++) { for (p = boot_flags; p && *p != '\0'; p++) {
switch (*p) { switch (*p) {
case 'a': /* autoboot */ case 'a': /* askname */
boothowto |= RB_ASKNAME;
break;
case 'A': /* DEC's notion of autoboot */ case 'A': /* DEC's notion of autoboot */
boothowto &= ~RB_SINGLE; boothowto &= ~RB_SINGLE;
break; break;
case 'd': /* use compiled in default root */ #if 0
boothowto |= RB_DFLTROOT;
break;
case 'm': /* mini root present in memory */ case 'm': /* mini root present in memory */
boothowto |= RB_MINIROOT; boothowto |= RB_MINIROOT;
break; break;
#endif
case 'n': /* ask for names */
boothowto |= RB_ASKNAME;
break;
case 'N': /* don't ask for names */
boothowto &= ~RB_ASKNAME;
} }
} }