diff options
author | Bruce Evans <bde@FreeBSD.org> | 2017-08-25 10:57:17 +0000 |
---|---|---|
committer | Bruce Evans <bde@FreeBSD.org> | 2017-08-25 10:57:17 +0000 |
commit | f7eb827c4853e3ce7db46b8df597e316eab9322b (patch) | |
tree | 9e5a84bf63cf27f2634b2f99754bd9320085c1c9 /include/printf.h | |
parent | 2f9d88c7aece292bcfeaac1006899f13e83eab1e (diff) | |
download | src-f7eb827c4853e3ce7db46b8df597e316eab9322b.tar.gz src-f7eb827c4853e3ce7db46b8df597e316eab9322b.zip |
Fix bugs in (mostly) not-yet-activated parts of early/emergency output:
- map the hard-coded frame buffer address above KERNBASE. Using the
physical address only worked because of larger mapping bugs.
The hard-coded frame buffer address only works on x86. Use messy ifdefs
to try to avoid warnings about unused code for other arches.
- remove the sysctl for reading and writing the table kernel console
attributes. Writing only worked for emergency output since normal
output uses unalterd copies.
- fix the test for the emergency console being usable
- explain why a hard-coded attribute is used very early. Emergency output
works on x86 even before the pcpu pointer is initialized.
Notes
Notes:
svn path=/head/; revision=322884
Diffstat (limited to 'include/printf.h')
0 files changed, 0 insertions, 0 deletions