--- //depot/vendor/freebsd/src/sys/conf/files.sparc64 2003/04/21 12:55:50 +++ //depot/user/jake/cheetah/src/sys/conf/files.sparc64 2003/05/11 12:07:17 @@ -12,11 +12,29 @@ crypto/des/des_enc.c optional ipsec ipsec_esp crypto/blowfish/bf_enc.c optional crypto crypto/des/des_enc.c optional crypto +dev/com/com.c optional com +dev/com/com_ebus.c optional com ebus +dev/com/com_if.m optional com +dev/fb/creator.c optional sc +dev/fb/fb.c optional sc +dev/kbd/kbd.c optional sc +dev/kbd/sunkbd.c optional com sc dev/ofw/ofw_console.c optional ofw_console dev/ofw/openfirm.c standard dev/ofw/openfirmio.c standard dev/sio/sio.c optional sio dev/sio/sio_isa.c optional sio isa +dev/sunms/sunms.c optional com +dev/syscons/scgfbrndr.c optional sc +dev/syscons/schistory.c optional sc +dev/syscons/scmouse.c optional sc +dev/syscons/scterm.c optional sc +dev/syscons/scterm-dumb.c optional sc +dev/syscons/scterm-sc.c optional sc +dev/syscons/scvidctl.c optional sc +dev/syscons/scvtb.c optional sc +dev/syscons/syscons.c optional sc +dev/syscons/sysmouse.c optional sc geom/geom_bsd.c standard geom/geom_bsd_enc.c standard geom/geom_sunlabel.c standard @@ -24,6 +42,7 @@ libkern/ffs.c standard kern/syscalls.c optional ktr sparc64/central/central.c optional central +sparc64/creator/creator_upa.c optional sc sparc64/ebus/ebus.c optional ebus sparc64/fhc/fhc.c optional fhc sparc64/fhc/fhc_central.c optional fhc central @@ -70,6 +89,7 @@ sparc64/sparc64/pmap.c standard sparc64/sparc64/prof_machdep.c optional profiling-routine sparc64/sparc64/rwindow.c standard +sparc64/sparc64/sc_machdep.c optional sc sparc64/sparc64/sparcbus_if.m standard sparc64/sparc64/spitfire.c standard sparc64/sparc64/support.S standard --- //depot/vendor/freebsd/src/sys/conf/kmod.mk 2003/03/03 14:55:30 +++ //depot/user/jake/cheetah/src/sys/conf/kmod.mk 2003/04/27 13:01:13 @@ -254,7 +254,8 @@ dev/pci/pcib_if.m dev/ppbus/ppbus_if.m dev/smbus/smbus_if.m \ dev/usb/usb_if.m dev/sound/pcm/ac97_if.m dev/sound/pcm/channel_if.m \ dev/sound/pcm/feeder_if.m dev/sound/pcm/mixer_if.m pci/agp_if.m \ - opencrypto/crypto_if.m pc98/pc98/canbus_if.m + opencrypto/crypto_if.m pc98/pc98/canbus_if.m \ + dev/com/com_if.m .for _srcsrc in ${MFILES} .for _ext in c h --- //depot/vendor/freebsd/src/sys/conf/options.sparc64 2002/11/17 22:20:17 +++ //depot/user/jake/cheetah/src/sys/conf/options.sparc64 2003/04/30 16:40:33 @@ -2,6 +2,42 @@ SUN4U opt_global.h +MAXCONS opt_syscons.h +SC_ALT_MOUSE_IMAGE opt_syscons.h +SC_CUT_SPACES2TABS opt_syscons.h +SC_CUT_SEPCHARS opt_syscons.h +SC_DEBUG_LEVEL opt_syscons.h +SC_DFLT_FONT opt_syscons.h +SC_DISABLE_DDBKEY opt_syscons.h +SC_DISABLE_REBOOT opt_syscons.h +SC_HISTORY_SIZE opt_syscons.h +SC_KERNEL_CONS_ATTR opt_syscons.h +SC_KERNEL_CONS_REV_ATTR opt_syscons.h +SC_MOUSE_CHAR opt_syscons.h +SC_NO_CUTPASTE opt_syscons.h +SC_NO_FONT_LOADING opt_syscons.h +SC_NO_HISTORY opt_syscons.h +SC_NO_SYSMOUSE opt_syscons.h +SC_NORM_ATTR opt_syscons.h +SC_NORM_REV_ATTR opt_syscons.h +SC_PIXEL_MODE opt_syscons.h +SC_RENDER_DEBUG opt_syscons.h +SC_TWOBUTTON_MOUSE opt_syscons.h +SC_NO_SUSPEND_VTYSWITCH opt_syscons.h + +DEV_SPLASH opt_splash.h + +KBD_DISABLE_KEYMAP_LOAD opt_kbd.h +KBD_INSTALL_CDEV opt_kbd.h +KBD_MAXRETRY opt_kbd.h +KBD_MAXWAIT opt_kbd.h +KBD_RESETDELAY opt_kbd.h +KBDIO_DEBUG opt_kbd.h + +GFB_DEBUG opt_gfb.h +GFB_NO_FONT_LOADING opt_gfb.h +GFB_NO_MODE_CHANGE opt_gfb.h + EBUS_DEBUG opt_ebus.h PSYCHO_DEBUG opt_psycho.h PSYCHO_STRAY opt_psycho.h --- //depot/vendor/freebsd/src/sys/dev/fb/fbreg.h 2003/04/30 21:25:26 +++ //depot/user/jake/cheetah/src/sys/dev/fb/fbreg.h 2003/05/03 15:56:04 @@ -77,13 +77,12 @@ *buf++ = val; } #else /* !__i386__ && !__ia64__ && !__amd64__ */ -#define bcopy_io(s, d, c) memcpy_io((d), (s), (c)) -#define bcopy_toio(s, d, c) memcpy_toio((d), (void *)(s), (c)) -#define bcopy_fromio(s, d, c) memcpy_fromio((void *)(d), (s), (c)) -#define bzero_io(d, c) memset_io((d), 0, (c)) -#define fill_io(p, d, c) memset_io((d), (p), (c)) -#define fillw(p, d, c) memsetw((d), (p), (c)) -#define fillw_io(p, d, c) memsetw_io((d), (p), (c)) +static __inline void +fillw(int val, uint16_t *buf, size_t size) +{ + while (size--) + *buf++ = val; +} #endif /* !__i386__ */ /* video function table */ --- //depot/vendor/freebsd/src/sys/dev/syscons/schistory.c 2003/02/18 21:53:12 +++ //depot/user/jake/cheetah/src/sys/dev/syscons/schistory.c 2003/04/30 16:40:33 @@ -41,7 +41,11 @@ #include #include +#ifdef __sparc64__ +#include +#else #include +#endif #include --- //depot/vendor/freebsd/src/sys/dev/syscons/scterm-dumb.c 2001/07/17 00:20:42 +++ //depot/user/jake/cheetah/src/sys/dev/syscons/scterm-dumb.c 2003/04/30 16:40:33 @@ -32,7 +32,11 @@ #include #include +#ifdef __sparc64__ +#include +#else #include +#endif #include #include --- //depot/vendor/freebsd/src/sys/dev/syscons/scterm-sc.c 2001/09/12 01:53:42 +++ //depot/user/jake/cheetah/src/sys/dev/syscons/scterm-sc.c 2003/04/30 16:40:33 @@ -34,7 +34,11 @@ #include #include +#ifdef __sparc64__ +#include +#else #include +#endif #include #include --- //depot/vendor/freebsd/src/sys/dev/syscons/scvgarndr.c 2002/03/06 01:40:58 +++ //depot/user/jake/cheetah/src/sys/dev/syscons/scvgarndr.c 2003/05/03 15:56:04 @@ -36,6 +36,7 @@ #include #include +#include #include #include @@ -152,6 +153,39 @@ #endif #endif +static __inline int +vga_scr_geta(scr_stat *scp, int at) +{ + return (readw(scp->sc->adp->va_window + at * sizeof(u_int16_t)) & + 0xff00); +} + +static __inline int +vga_scr_getc(scr_stat *scp, int at) +{ + return (readw(scp->sc->adp->va_window + at * sizeof(u_int16_t)) & + 0x00ff); +} + +static __inline vm_offset_t +vga_scr_pointer(scr_stat *scp, int at) +{ + return (scp->sc->adp->va_window + at * sizeof(u_int16_t)); +} + +static __inline void +vga_scr_putc(scr_stat *scp, int at, int c, int a) +{ + writew(scp->sc->adp->va_window + at * sizeof(u_int16_t), a | c); +} + +static __inline vm_offset_t +vga_scr_putchar(scr_stat *scp, vm_offset_t p, int c, int a) +{ + writew(p, a | c); + return (p + sizeof(u_int16_t)); +} + static void vga_nop(scr_stat *scp, ...) { @@ -162,7 +196,11 @@ static void vga_txtclear(scr_stat *scp, int c, int attr) { +#if 0 sc_vtb_clear(&scp->scr, c, attr); +#else + fillw_io(attr | c, scp->sc->adp->va_window, scp->xsize * scp->ysize); +#endif } static void @@ -182,15 +220,20 @@ count = scp->xsize*scp->ysize - from; if (flip) { - for (p = sc_vtb_pointer(&scp->scr, from); count-- > 0; ++from) { + for (p = vga_scr_pointer(scp, from); count-- > 0; ++from) { c = sc_vtb_getc(&scp->vtb, from); a = sc_vtb_geta(&scp->vtb, from); a = (a & 0x8800) | ((a & 0x7000) >> 4) | ((a & 0x0700) << 4); - p = sc_vtb_putchar(&scp->scr, p, c, a); + p = vga_scr_putchar(scp, p, c, a); } } else { +#if 0 sc_vtb_copy(&scp->vtb, from, &scp->scr, from, count); +#else + bcopy_toio(sc_vtb_pointer(&scp->vtb, from), + vga_scr_pointer(scp, from), count * sizeof(u_int16_t)); +#endif } } @@ -248,7 +291,7 @@ /* XXX */ (*vidsw[sc->adapter]->load_font)(sc->adp, 0, h, font, sc->cursor_char, 1); - sc_vtb_putc(&scp->scr, at, sc->cursor_char, a); + vga_scr_putc(scp, at, sc->cursor_char, a); } else #endif /* SC_NO_FONT_LOADING */ { @@ -264,7 +307,7 @@ if (flip) a = (a & 0x8800) | ((a & 0x7000) >> 4) | ((a & 0x0700) << 4); - sc_vtb_putc(&scp->scr, at, c, a); + vga_scr_putc(scp, at, c, a); } } @@ -296,8 +339,8 @@ if (on) { scp->status |= VR_CURSOR_ON; draw_txtcharcursor(scp, at, - sc_vtb_getc(&scp->scr, at), - sc_vtb_geta(&scp->scr, at), + vga_scr_getc(scp, at), + vga_scr_geta(scp, at), flip); } else { cursor_attr = scp->cursor_saveunder_attr; @@ -306,9 +349,9 @@ | ((cursor_attr & 0x7000) >> 4) | ((cursor_attr & 0x0700) << 4); if (scp->status & VR_CURSOR_ON) - sc_vtb_putc(&scp->scr, at, - scp->cursor_saveunder_char, - cursor_attr); + vga_scr_putc(scp, at, + scp->cursor_saveunder_char, + cursor_attr); scp->status &= ~VR_CURSOR_ON; } } @@ -336,15 +379,15 @@ /* prepare mousepointer char's bitmaps */ pos = (y/scp->font_size - scp->yoff)*scp->xsize + x/8 - scp->xoff; - bcopy(scp->font + sc_vtb_getc(&scp->scr, pos)*scp->font_size, + bcopy(scp->font + vga_scr_getc(scp, pos)*scp->font_size, &font_buf[0], scp->font_size); - bcopy(scp->font + sc_vtb_getc(&scp->scr, pos + 1)*scp->font_size, + bcopy(scp->font + vga_scr_getc(scp, pos + 1)*scp->font_size, &font_buf[32], scp->font_size); bcopy(scp->font - + sc_vtb_getc(&scp->scr, pos + scp->xsize)*scp->font_size, + + vga_scr_getc(scp, pos + scp->xsize)*scp->font_size, &font_buf[64], scp->font_size); bcopy(scp->font - + sc_vtb_getc(&scp->scr, pos + scp->xsize + 1)*scp->font_size, + + vga_scr_getc(scp, pos + scp->xsize + 1)*scp->font_size, &font_buf[96], scp->font_size); for (i = 0; i < scp->font_size; ++i) { cursor[i] = font_buf[i]<<8 | font_buf[i+32]; @@ -375,15 +418,15 @@ (*vidsw[scp->sc->adapter]->load_font)(scp->sc->adp, 0, 32, font_buf, c, 4); - sc_vtb_putc(&scp->scr, pos, c, sc_vtb_geta(&scp->scr, pos)); + vga_scr_putc(scp, pos, c, vga_scr_geta(scp, pos)); /* FIXME: may be out of range! */ - sc_vtb_putc(&scp->scr, pos + scp->xsize, c + 2, - sc_vtb_geta(&scp->scr, pos + scp->xsize)); + vga_scr_putc(scp, pos + scp->xsize, c + 2, + vga_scr_geta(scp, pos + scp->xsize)); if (x < (scp->xsize - 1)*8) { - sc_vtb_putc(&scp->scr, pos + 1, c + 1, - sc_vtb_geta(&scp->scr, pos + 1)); - sc_vtb_putc(&scp->scr, pos + scp->xsize + 1, c + 3, - sc_vtb_geta(&scp->scr, pos + scp->xsize + 1)); + vga_scr_putc(scp, pos + 1, c + 1, + vga_scr_geta(scp, pos + 1)); + vga_scr_putc(scp, pos + scp->xsize + 1, c + 3, + vga_scr_geta(scp, pos + scp->xsize + 1)); } } else #endif /* SC_ALT_MOUSE_IMAGE */ @@ -397,13 +440,13 @@ int a; pos = (y/scp->font_size - scp->yoff)*scp->xsize + x/8 - scp->xoff; - a = sc_vtb_geta(&scp->scr, pos); + a = vga_scr_geta(scp, pos); if (scp->sc->adp->va_flags & V_ADP_COLOR) color = (col_conv[(a & 0xf000) >> 12] << 12) | ((a & 0x0f00) | 0x0800); else color = ((a & 0xf000) >> 4) | ((a & 0x0f00) << 4); - sc_vtb_putc(&scp->scr, pos, sc_vtb_getc(&scp->scr, pos), color); + vga_scr_putc(scp, pos, vga_scr_getc(scp, pos), color); } } --- //depot/vendor/freebsd/src/sys/dev/syscons/scvtb.c 2003/02/18 21:53:12 +++ //depot/user/jake/cheetah/src/sys/dev/syscons/scvtb.c 2003/05/03 15:56:04 @@ -72,11 +72,14 @@ } vtb->vtb_flags |= VTB_VALID; break; +#if 0 case VTB_FRAMEBUFFER: vtb->vtb_buffer = (vm_offset_t)buf; vtb->vtb_flags |= VTB_VALID; break; +#endif default: + KASSERT(0, ("sc_vtb_init: invalid type %d\n", type)); break; } } @@ -100,6 +103,8 @@ free((void *)p, M_DEVBUF); break; default: + KASSERT(0, ("sc_vtb_destroy: invalid type %d\n", + vtb->vtb_type)); break; } vtb->vtb_flags = 0; @@ -115,36 +120,44 @@ int sc_vtb_getc(sc_vtb_t *vtb, int at) { +#if 0 if (vtb->vtb_type == VTB_FRAMEBUFFER) return (readw(sc_vtb_pointer(vtb, at)) & 0x00ff); else +#endif return (*(u_int16_t *)sc_vtb_pointer(vtb, at) & 0x00ff); } int sc_vtb_geta(sc_vtb_t *vtb, int at) { +#if 0 if (vtb->vtb_type == VTB_FRAMEBUFFER) return (readw(sc_vtb_pointer(vtb, at)) & 0xff00); else +#endif return (*(u_int16_t *)sc_vtb_pointer(vtb, at) & 0xff00); } void sc_vtb_putc(sc_vtb_t *vtb, int at, int c, int a) { +#if 0 if (vtb->vtb_type == VTB_FRAMEBUFFER) writew(sc_vtb_pointer(vtb, at), a | c); else +#endif *(u_int16_t *)sc_vtb_pointer(vtb, at) = a | c; } vm_offset_t sc_vtb_putchar(sc_vtb_t *vtb, vm_offset_t p, int c, int a) { +#if 0 if (vtb->vtb_type == VTB_FRAMEBUFFER) writew(p, a | c); else +#endif *(u_int16_t *)p = a | c; return (p + sizeof(u_int16_t)); } @@ -164,15 +177,18 @@ void sc_vtb_clear(sc_vtb_t *vtb, int c, int attr) { +#if 0 if (vtb->vtb_type == VTB_FRAMEBUFFER) fillw_io(attr | c, sc_vtb_pointer(vtb, 0), vtb->vtb_size); else +#endif fillw(attr | c, (void *)sc_vtb_pointer(vtb, 0), vtb->vtb_size); } void sc_vtb_copy(sc_vtb_t *vtb1, int from, sc_vtb_t *vtb2, int to, int count) { +#if 0 /* XXX if both are VTB_VRAMEBUFFER... */ if (vtb2->vtb_type == VTB_FRAMEBUFFER) { bcopy_toio(sc_vtb_pointer(vtb1, from), @@ -182,7 +198,9 @@ bcopy_fromio(sc_vtb_pointer(vtb1, from), sc_vtb_pointer(vtb2, to), count*sizeof(u_int16_t)); - } else { + } else +#endif + { bcopy((void *)sc_vtb_pointer(vtb1, from), (void *)sc_vtb_pointer(vtb2, to), count*sizeof(u_int16_t)); @@ -199,11 +217,14 @@ while (count > 0) { len = imin(count, vtb2->vtb_size - vtb2->vtb_tail); +#if 0 if (vtb1->vtb_type == VTB_FRAMEBUFFER) { bcopy_fromio(sc_vtb_pointer(vtb1, from), sc_vtb_pointer(vtb2, vtb2->vtb_tail), len*sizeof(u_int16_t)); - } else { + } else +#endif + { bcopy((void *)sc_vtb_pointer(vtb1, from), (void *)sc_vtb_pointer(vtb2, vtb2->vtb_tail), len*sizeof(u_int16_t)); @@ -225,9 +246,11 @@ { if (at + count > vtb->vtb_size) count = vtb->vtb_size - at; +#if 0 if (vtb->vtb_type == VTB_FRAMEBUFFER) fillw_io(attr | c, sc_vtb_pointer(vtb, at), count); else +#endif fillw(attr | c, (void *)sc_vtb_pointer(vtb, at), count); } @@ -240,10 +263,13 @@ count = vtb->vtb_size - to; if (count <= 0) return; +#if 0 if (vtb->vtb_type == VTB_FRAMEBUFFER) { bcopy_io(sc_vtb_pointer(vtb, from), sc_vtb_pointer(vtb, to), count*sizeof(u_int16_t)); - } else { + } else +#endif + { bcopy((void *)sc_vtb_pointer(vtb, from), (void *)sc_vtb_pointer(vtb, to), count*sizeof(u_int16_t)); } @@ -258,20 +284,25 @@ count = vtb->vtb_size - at; len = vtb->vtb_size - at - count; if (len > 0) { +#if 0 if (vtb->vtb_type == VTB_FRAMEBUFFER) { bcopy_io(sc_vtb_pointer(vtb, at + count), sc_vtb_pointer(vtb, at), len*sizeof(u_int16_t)); - } else { + } else +#endif + { bcopy((void *)sc_vtb_pointer(vtb, at + count), (void *)sc_vtb_pointer(vtb, at), len*sizeof(u_int16_t)); } } +#if 0 if (vtb->vtb_type == VTB_FRAMEBUFFER) fillw_io(attr | c, sc_vtb_pointer(vtb, at + len), vtb->vtb_size - at - len); else +#endif fillw(attr | c, (void *)sc_vtb_pointer(vtb, at + len), vtb->vtb_size - at - len); } @@ -282,18 +313,23 @@ if (at + count > vtb->vtb_size) { count = vtb->vtb_size - at; } else { +#if 0 if (vtb->vtb_type == VTB_FRAMEBUFFER) { bcopy_io(sc_vtb_pointer(vtb, at), sc_vtb_pointer(vtb, at + count), (vtb->vtb_size - at - count)*sizeof(u_int16_t)); - } else { + } else +#endif + { bcopy((void *)sc_vtb_pointer(vtb, at), (void *)sc_vtb_pointer(vtb, at + count), (vtb->vtb_size - at - count)*sizeof(u_int16_t)); } } +#if 0 if (vtb->vtb_type == VTB_FRAMEBUFFER) fillw_io(attr | c, sc_vtb_pointer(vtb, at), count); else +#endif fillw(attr | c, (void *)sc_vtb_pointer(vtb, at), count); } --- //depot/vendor/freebsd/src/sys/dev/syscons/syscons.c 2003/05/09 11:25:18 +++ //depot/user/jake/cheetah/src/sys/dev/syscons/syscons.c 2003/05/11 12:16:27 @@ -53,7 +53,11 @@ #include #include +#ifdef __sparc64__ +#include +#else #include +#endif #ifdef __i386__ #include #include @@ -530,7 +534,9 @@ } else { sc_vtb_destroy(&scp->vtb); +#if 0 sc_vtb_destroy(&scp->scr); +#endif sc_free_history_buffer(scp, scp->ysize); SC_STAT(dev) = NULL; free(scp, M_DEVBUF); @@ -2446,9 +2452,11 @@ scp = sc->cur_scp = sc->new_scp; if (sc->old_scp->mode != scp->mode || ISUNKNOWNSC(sc->old_scp)) set_mode(scp); +#if 0 else sc_vtb_init(&scp->scr, VTB_FRAMEBUFFER, scp->xsize, scp->ysize, (void *)sc->adp->va_window, FALSE); +#endif scp->status |= MOUSE_HIDDEN; sc_move_cursor(scp, scp->xpos, scp->ypos); if (!ISGRAPHSC(scp)) @@ -2715,11 +2723,13 @@ SC_STAT(sc->dev[0]) = scp; sc->cur_scp = scp; +#if 0 /* copy screen to temporary buffer */ sc_vtb_init(&scp->scr, VTB_FRAMEBUFFER, scp->xsize, scp->ysize, (void *)scp->sc->adp->va_window, FALSE); if (ISTEXTSC(scp)) sc_vtb_copy(&scp->scr, 0, &scp->vtb, 0, scp->xsize*scp->ysize); +#endif /* move cursors to the initial positions */ if (col >= scp->xsize) @@ -2999,7 +3009,9 @@ } } sc_vtb_init(&scp->vtb, VTB_MEMORY, 0, 0, NULL, FALSE); +#if 0 sc_vtb_init(&scp->scr, VTB_FRAMEBUFFER, 0, 0, NULL, FALSE); +#endif scp->xoff = scp->yoff = 0; scp->xpos = scp->ypos = 0; scp->start = scp->xsize * scp->ysize - 1; @@ -3441,8 +3453,10 @@ /* setup video hardware for the given mode */ (*vidsw[scp->sc->adapter]->set_mode)(scp->sc->adp, scp->mode); +#if 0 sc_vtb_init(&scp->scr, VTB_FRAMEBUFFER, scp->xsize, scp->ysize, (void *)scp->sc->adp->va_window, FALSE); +#endif #ifndef SC_NO_FONT_LOADING /* load appropriate font */ --- //depot/vendor/freebsd/src/sys/dev/syscons/syscons.h 2002/07/09 20:30:22 +++ //depot/user/jake/cheetah/src/sys/dev/syscons/syscons.h 2003/05/03 15:56:04 @@ -153,7 +153,9 @@ int vtb_type; #define VTB_INVALID 0 #define VTB_MEMORY 1 +#if 0 #define VTB_FRAMEBUFFER 2 +#endif #define VTB_RINGBUFFER 3 int vtb_cols; int vtb_rows; @@ -256,7 +258,9 @@ int index; /* index of this vty */ struct sc_softc *sc; /* pointer to softc */ struct sc_rndr_sw *rndr; /* renderer */ +#if 0 sc_vtb_t scr; +#endif sc_vtb_t vtb; int xpos; /* current X position */ --- //depot/vendor/freebsd/src/sys/sparc64/include/bus.h 2003/04/10 16:05:29 +++ //depot/user/jake/cheetah/src/sys/sparc64/include/bus.h 2003/05/03 15:56:04 @@ -820,6 +820,7 @@ bus_space_write_stream_8(t, h1, o1, bus_space_read_8(t, h2, o2)); } +#if 0 /* Back-compat functions for old ISA drivers */ extern bus_space_tag_t isa_io_bt; extern bus_space_handle_t isa_io_hdl; @@ -872,6 +873,7 @@ while (size--) *sp++ = val; } +#endif /* DMA support */ --- //depot/vendor/freebsd/src/sys/sparc64/sparc64/nexus.c 2003/02/18 21:53:12 +++ //depot/user/jake/cheetah/src/sys/sparc64/sparc64/nexus.c 2003/03/23 13:22:53 @@ -218,7 +218,7 @@ if (rman_init(&sc->sc_intr_rman) != 0 || rman_init(&sc->sc_mem_rman) != 0 || rman_manage_region(&sc->sc_intr_rman, 0, IV_MAX - 1) != 0 || - rman_manage_region(&sc->sc_mem_rman, UPA_MEMSTART, UPA_MEMEND) != 0) + rman_manage_region(&sc->sc_mem_rman, 0ULL, ~0ULL) != 0) panic("nexus_probe: failed to set up rmans"); for (child = OF_child(root); child != 0; child = OF_peer(child)) { if (child == -1)