Rev 4201 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4201 | Rev 4296 | ||
---|---|---|---|
Line 42... | Line 42... | ||
42 | #include <arch/mm/page.h> |
42 | #include <arch/mm/page.h> |
43 | #include <synch/spinlock.h> |
43 | #include <synch/spinlock.h> |
44 | #include <arch/types.h> |
44 | #include <arch/types.h> |
45 | #include <arch/asm.h> |
45 | #include <arch/asm.h> |
46 | #include <memstr.h> |
46 | #include <memstr.h> |
- | 47 | #include <string.h> |
|
47 | #include <console/chardev.h> |
48 | #include <console/chardev.h> |
48 | #include <console/console.h> |
49 | #include <console/console.h> |
49 | #include <sysinfo/sysinfo.h> |
50 | #include <sysinfo/sysinfo.h> |
50 | #include <ddi/ddi.h> |
51 | #include <ddi/ddi.h> |
51 | 52 | ||
Line 483... | Line 484... | ||
483 | uint16_t index = ega_oem_glyph(ch); |
484 | uint16_t index = ega_oem_glyph(ch); |
484 | uint8_t glyph; |
485 | uint8_t glyph; |
485 | uint8_t style; |
486 | uint8_t style; |
486 | 487 | ||
487 | if ((index >> 8)) { |
488 | if ((index >> 8)) { |
488 | glyph = '?'; |
489 | glyph = U_SPECIAL; |
489 | style = INVAL; |
490 | style = INVAL; |
490 | } else { |
491 | } else { |
491 | glyph = index & 0xff; |
492 | glyph = index & 0xff; |
492 | style = STYLE; |
493 | style = STYLE; |
493 | } |
494 | } |