mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-14 14:55:41 +00:00
- Add a comment describing why tick_init() is called before cninit().
- Fix a typo in another comment.
This commit is contained in:
parent
20396fc150
commit
056b9d29b6
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=157227
@ -321,6 +321,11 @@ sparc64_init(caddr_t mdp, u_long o1, u_long o2, u_long o3, ofw_vec_t *vec)
|
||||
break;
|
||||
}
|
||||
|
||||
/*
|
||||
* Initialize the tick counter. Must be before the console is inited
|
||||
* in order to provide the low-level console drivers with a working
|
||||
* DELAY().
|
||||
*/
|
||||
OF_getprop(child, "clock-frequency", &clock, sizeof(clock));
|
||||
tick_init(clock);
|
||||
|
||||
@ -330,7 +335,7 @@ sparc64_init(caddr_t mdp, u_long o1, u_long o2, u_long o3, ofw_vec_t *vec)
|
||||
cninit();
|
||||
|
||||
/*
|
||||
* Panic is there is no metadata. Most likely the kernel was booted
|
||||
* Panic if there is no metadata. Most likely the kernel was booted
|
||||
* directly, instead of through loader(8).
|
||||
*/
|
||||
if (mdp == NULL || kmdp == NULL) {
|
||||
|
Loading…
Reference in New Issue
Block a user