to let tty run with its own page table (instead of with the kernel identity

map table), make it map in video memory.

sadly, this breaks tty in non-paged mode.

happily, this simplifies the code by throwing out the messing
around with segments, and throws out vidcopy.s.
This commit is contained in:
Ben Gras
2009-05-12 12:43:18 +00:00
parent 909c1bb8a7
commit dd56aa321f
5 changed files with 72 additions and 172 deletions

View File

@@ -11,7 +11,6 @@
#define BLANK_COLOR 0x0700 /* determines cursor color on blank screen */
#define SCROLL_UP 0 /* scroll forward */
#define SCROLL_DOWN 1 /* scroll backward */
#define BLANK_MEM ((u16_t *) 0) /* tells mem_vid_copy() to blank the screen */
#define CONS_RAM_WORDS 80 /* video ram buffer size */
#define MAX_ESC_PARMS 4 /* number of escape sequence params allowed */