mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
Do an explicit getenv on boot_verbose. Now that we have a real FICL boot
loader for alpha (Yay!) we still need to explicitly look for boot_verbose- I assume because the boothowto flags aren't passed to us at boot like x86. Do some minor cosmetics as well.
This commit is contained in:
parent
042c8f6ee1
commit
5ce3b01ace
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=61367
@ -582,7 +582,7 @@ alpha_init(pfn, ptb, bim, bip, biv)
|
||||
struct mddt_cluster *memc;
|
||||
int i, mddtweird;
|
||||
int cputype;
|
||||
char* p;
|
||||
char *p;
|
||||
|
||||
/* NO OUTPUT ALLOWED UNTIL FURTHER NOTICE */
|
||||
|
||||
@ -1067,6 +1067,16 @@ alpha_init(pfn, ptb, bim, bip, biv)
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Catch case of boot_verbose set in environment.
|
||||
*/
|
||||
if ((p = getenv("boot_verbose")) != NULL) {
|
||||
if (strcmp(p, "yes") == 0 || strcmp(p, "YES") == 0) {
|
||||
boothowto |= RB_VERBOSE;
|
||||
bootverbose = 1;
|
||||
}
|
||||
}
|
||||
|
||||
/*
|
||||
* Initialize debuggers, and break into them if appropriate.
|
||||
*/
|
||||
@ -1154,7 +1164,9 @@ DELAY(int n)
|
||||
|
||||
while (usec <= n) {
|
||||
/*
|
||||
* Get the next CPU cycle count;
|
||||
* Get the next CPU cycle count. The assumption here
|
||||
* is that we can't have wrapped twice past 32 bits worth
|
||||
* of CPU cycles since we last checked.
|
||||
*/
|
||||
pcc1 = alpha_rpcc() & 0xffffffffUL;
|
||||
if (pcc1 < pcc0) {
|
||||
|
Loading…
Reference in New Issue
Block a user