Changeset f8ddd17 in mainline for kernel/arch/ia32/src
- Timestamp:
- 2006-12-09T20:20:50Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- b82a13c
- Parents:
- 9ab9c2ec
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/drivers/ega.c
r9ab9c2ec rf8ddd17 47 47 #include <console/console.h> 48 48 #include <sysinfo/sysinfo.h> 49 #include <ddi/ddi.h> 49 50 50 51 /* … … 52 53 * Simple and short. Function for displaying characters and "scrolling". 53 54 */ 55 56 static parea_t ega_parea; /**< Physical memory area for EGA video RAM. */ 54 57 55 58 SPINLOCK_INITIALIZE(egalock); … … 80 83 stdout = &ega_console; 81 84 85 ega_parea.pbase = VIDEORAM; 86 ega_parea.vbase = (uintptr_t) videoram; 87 ega_parea.frames = 1; 88 ega_parea.cacheable = false; 89 ddi_parea_register(&ega_parea); 90 82 91 sysinfo_set_item_val("fb", NULL, true); 83 92 sysinfo_set_item_val("fb.kind", NULL, 2); … … 85 94 sysinfo_set_item_val("fb.height", NULL, ROWS); 86 95 sysinfo_set_item_val("fb.address.physical", NULL, VIDEORAM); 96 sysinfo_set_item_val("fb.address.color", NULL, PAGE_COLOR((uintptr_t) 97 videoram)); 87 98 88 99 #ifndef CONFIG_FB
Note:
See TracChangeset
for help on using the changeset viewer.