Changeset 46321fb in mainline for kernel/arch/ia64/src/drivers/ega.c
- Timestamp:
- 2008-11-25T20:22:04Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 83d9712
- Parents:
- 14c331a
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia64/src/drivers/ega.c
r14c331a r46321fb 47 47 #include <sysinfo/sysinfo.h> 48 48 #include <arch/drivers/ega.h> 49 #include <ddi/ddi.h> 50 49 51 50 52 /* … … 52 54 * Simple and short. Function for displaying characters and "scrolling". 53 55 */ 56 57 58 static parea_t ega_parea; /**< Physical memory area for EGA video RAM. */ 59 54 60 55 61 SPINLOCK_INITIALIZE(egalock); … … 76 82 chardev_initialize("ega_out", &ega_console, &ega_ops); 77 83 stdout = &ega_console; 84 85 86 ega_parea.pbase = VIDEORAM & 0xffffffff; 87 ega_parea.vbase = (uintptr_t) videoram; 88 ega_parea.frames = 1; 89 ega_parea.cacheable = false; 90 ddi_parea_register(&ega_parea); 91 78 92 79 93 sysinfo_set_item_val("fb", NULL, true); … … 81 95 sysinfo_set_item_val("fb.width", NULL, ROW); 82 96 sysinfo_set_item_val("fb.height", NULL, ROWS); 83 sysinfo_set_item_val("fb.address.physical", NULL, VIDEORAM );97 sysinfo_set_item_val("fb.address.physical", NULL, VIDEORAM & 0xffffffff); 84 98 85 99 #ifndef CONFIG_FB
Note:
See TracChangeset
for help on using the changeset viewer.