Change Summary:
rebase on updated 10234.
export boot_get_color() to reduce local color arrays.
implement FB clear screen with boot_fb_eraseline_impl()
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 2 (+548 -289) |
rebase on updated 10234.
export boot_get_color() to reduce local color arrays.
implement FB clear screen with boot_fb_eraseline_impl()
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 2 (+548 -289) |
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 3 (+546 -290) |
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 4 (+546 -290) |
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 5 (+542 -288) |
usr/src/uts/i86pc/boot/boot_console.c (Diff revision 5) |
---|
I've been trying to go through this and think I'm missing something. I see that we often set btem_params[] to have more values; however, I only see us consuming btem_params[0].
usr/src/uts/i86pc/boot/boot_console.c (Diff revision 5) |
---|
Should we make it >= just in case we ever get into a state where cols is in a bad state and would cause us to go beyond fb_info.terminal.x?
usr/src/uts/i86pc/boot/boot_fb.c (Diff revision 5) |
---|
Why do we no longer need the equivalent of the \r of \b cases here?
usr/src/uts/i86pc/boot/boot_vga.c (Diff revision 5) |
---|
Name seems a little confusing, as nothing is actually set.
usr/src/uts/i86pc/boot/boot_vga.c (Diff revision 5) |
---|
Doesn't this conversion exist elsewhere? Do we need to duplicate it again?
usr/src/uts/i86pc/boot/boot_vga.c (Diff revision 5) |
---|
We're only going to take the lower 8 bits of color, should that actually be an int argument or should it be a uint8_t?
usr/src/uts/i86pc/boot/boot_vga.c (Diff revision 5) |
---|
Should we cast cons_color to a uint8_t explicitly? Should c be cast to a uint16_t to indicate that we're only taking the lower bits?
usr/src/uts/i86pc/boot/boot_vga.c (Diff revision 5) |
---|
Why don't we consider both the rows and columns cases separately? Can't both end up being true?
usr/src/uts/i86pc/boot/boot_console_impl.h: line 16: Invalid or missing header guard
usr/src/uts/i86pc/boot/boot_console_impl.h: Missing or invalid ending header guard
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 6 (+545 -291) |
notes from Robert.
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 7 (+551 -291) |
typos fixed.
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 8 (+551 -291) |
usr/src/uts/i86pc/boot/boot_console.c (Diff revision 7) |
---|
Is it possible to use the standard function
isdigit()
here?if (isdigit(c)) {
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 9 (+551 -291) |
The early screen clear needs to be implemented as whole screen clean, not just terminal area. This is needed because the font sizes might be quite different and we do not want to leave any noise on the screen.
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 10 (+556 -289) |
use VGA_TEXT_COLS and VGA_TEXT_ROWS
Commit: |
|
||||
---|---|---|---|---|---|
Diff: |
Revision 11 (+558 -291) |
usr/src/uts/i86pc/boot/boot_fb.c (Diff revisions 9 - 11) |
---|
I assume this change was because we may need to change the way the screen foreground/background in addition to just a normal clearing of the line? That's why we fill the destination and no longer need to call boot_fb_eraseline_impl()?