diff options
Diffstat (limited to 'system/alpha/console/console.c')
-rw-r--r-- | system/alpha/console/console.c | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/system/alpha/console/console.c b/system/alpha/console/console.c index af4e367b2..6d0020370 100644 --- a/system/alpha/console/console.c +++ b/system/alpha/console/console.c @@ -528,10 +528,8 @@ unixBoot(int argc, char **argv) panic("kernel too big\n"); } printf_lock("kstart = 0x%x, kend = 0x%x, kentry = 0x%x, numCPUs = 0x%x\n", m5Conf.kernStart, m5Conf.kernEnd, m5Conf.entryPoint, m5Conf.numCPUs); - ksp_bottom = (ulong)unix_boot_alloc(1); ksp_top = ksp_bottom + PAGE_SIZE; - ptr = (ulong) ksp_bottom; bzero((char *)ptr, PAGE_SIZE); dbPage[THIRD(KSTACK_REGION_VA)] = 0; /* Stack Guard Page */ @@ -623,18 +621,15 @@ unixBoot(int argc, char **argv) bzero((char *)rpb_ctb, sizeof(struct ctb_tt)); - rpb_ctb->rpb_type = CONS_DZ; + rpb_ctb->rpb_type = CONS_REM; rpb_ctb->rpb_length = sizeof(ctb_tt) - sizeof(rpb_ctb); /* * uart initizliation */ - ctb_tt->ctb_csr = 0; - ctb_tt->ctb_tivec = 0x6c0; /* matches tlaser pal code */ - ctb_tt->ctb_rivec = 0x680; /* matches tlaser pal code */ - ctb_tt->ctb_term_type = 2; - ctb_tt->ctb_put_sts = 0; - ctb_tt->ctb_get_sts = 0; + ctb_tt->ctb_tintr_vec = 0x6c0; /* matches tlaser pal code */ + ctb_tt->ctb_rintr_vec = 0x680; /* matches tlaser pal code */ + ctb_tt->ctb_term_type = CTB_GRAPHICS; rpb_crb = (struct rpb_crb *) (((ulong)rpb_ctb) + sizeof(struct ctb_tt)); rpb->rpb_crb_off = ((ulong)rpb_crb) - (ulong)rpb; |