version 1.11, 2007/12/11 12:00:55 |
version 1.11.8.1, 2008/09/28 10:40:01 |
Line 98 MALLOC_DEFINE(M_XBOXFB, "xboxfb", "xboxf |
|
Line 98 MALLOC_DEFINE(M_XBOXFB, "xboxfb", "xboxf |
|
*/ |
*/ |
|
|
struct xboxfb_softc { |
struct xboxfb_softc { |
struct device sc_dev; |
|
struct vcons_data vd; |
struct vcons_data vd; |
|
|
bus_space_tag_t sc_memt; |
bus_space_tag_t sc_memt; |
Line 118 static uint8_t *xboxfb_console_bits; |
|
Line 117 static uint8_t *xboxfb_console_bits; |
|
static int xboxfb_console_width; |
static int xboxfb_console_width; |
static int xboxfb_console_height; |
static int xboxfb_console_height; |
|
|
static int xboxfb_match(struct device *, struct cfdata *, void *); |
static int xboxfb_match(device_t, cfdata_t, void *); |
static void xboxfb_attach(struct device *, struct device *, void *); |
static void xboxfb_attach(device_t, device_t, void *); |
|
|
static uint8_t xboxfb_get_avpack(void); |
static uint8_t xboxfb_get_avpack(void); |
static void xboxfb_clear_fb(struct xboxfb_softc *); |
static void xboxfb_clear_fb(struct xboxfb_softc *); |
|
|
CFATTACH_DECL(xboxfb, sizeof(struct xboxfb_softc), xboxfb_match, |
CFATTACH_DECL_NEW(xboxfb, sizeof(struct xboxfb_softc), xboxfb_match, |
xboxfb_attach, NULL, NULL); |
xboxfb_attach, NULL, NULL); |
|
|
/* static void xboxfb_init(struct xboxfb_softc *); */ |
/* static void xboxfb_init(struct xboxfb_softc *); */ |
Line 171 struct wsdisplay_accessops xboxfb_access |
|
Line 170 struct wsdisplay_accessops xboxfb_access |
|
}; |
}; |
|
|
static int |
static int |
xboxfb_match(struct device *parent, struct cfdata *match, void *aux) |
xboxfb_match(device_t parent, cfdata_t match, void *aux) |
{ |
{ |
struct pci_attach_args *pa = (struct pci_attach_args *)aux; |
struct pci_attach_args *pa = (struct pci_attach_args *)aux; |
|
|
Line 190 xboxfb_match(struct device *parent, stru |
|
Line 189 xboxfb_match(struct device *parent, stru |
|
}; |
}; |
|
|
static void |
static void |
xboxfb_attach(struct device *parent, struct device *self, void *aux) |
xboxfb_attach(device_t parent, device_t self, void *aux) |
{ |
{ |
struct xboxfb_softc *sc = (void *)self; |
struct xboxfb_softc *sc = device_private(self); |
struct wsemuldisplaydev_attach_args aa; |
struct wsemuldisplaydev_attach_args aa; |
struct rasops_info *ri; |
struct rasops_info *ri; |
int console; |
int console; |