| 529f0e6c | 20-Jul-2018 |
Justin Hibbits <[email protected]> |
vt/ofwfb: Fix brain-o from r336514, use the correct form of /chosen/stdout-path
/chosen/stdout-path is a string, not ihandle. Treat it as such.
With this, ofwfb now starts correctly on a POWER9 sy
vt/ofwfb: Fix brain-o from r336514, use the correct form of /chosen/stdout-path
/chosen/stdout-path is a string, not ihandle. Treat it as such.
With this, ofwfb now starts correctly on a POWER9 system when launched from the local console (not serial).
show more ...
|
| 4e5a8fdb | 16-May-2018 |
Jean-Sébastien Pédron <[email protected]> |
vt(4): Resume vt_timer() in vtterm_post_input() only
There is no need to try to resume it after each smaller operations (putchar, cursor_position, copy, fill).
The resume function already checks if
vt(4): Resume vt_timer() in vtterm_post_input() only
There is no need to try to resume it after each smaller operations (putchar, cursor_position, copy, fill).
The resume function already checks if the timer is armed before doing anything, but it uses an atomic cmpset which is expensive. And resuming the timer at the end of input processing is enough.
While here, we also skip timer resume if the input is for another windows than the currently displayed one. I.e. if `ttyv0` is currently displayed, any changes to `ttyv1` shouldn't resume the timer (which would refresh `ttyv0`).
By doing the same benchmark as r333669, I get: * vt(4), before r333669: 1500 ms * vt(4), with this patch: 760 ms * syscons(4): 700 ms
show more ...
|
| 5e251aec | 10-May-2018 |
Jean-Sébastien Pédron <[email protected]> |
vt(4): Use default VGA palette
Before this change, the VGA palette was configured to match the shell palette (e.g. color #1 was red). There was one glitch early in boot when the vt(4)'s VGA palette
vt(4): Use default VGA palette
Before this change, the VGA palette was configured to match the shell palette (e.g. color #1 was red). There was one glitch early in boot when the vt(4)'s VGA palette was loaded: the loader's logo would switch from red to blue. Likewise for the "Booting..." message switching from blue to red. That's because the loader's logo was drawed with the default VGA palette where a few colors are swapped compared to the shell palette (e.g. blue <-> red).
This change configures the default VGA palette during initialization and converts input's colors from shell to VGA palette index.
There should be no visible changes, except the loader's logo which will keep its original color.
Reviewed by: eadler
show more ...
|