- Timestamp:
- 2008-07-27T15:15:48Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 94fa807d
- Parents:
- 46d8eb9
- Location:
- kernel/arch
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/drivers/ega.c
r46d8eb9 r113c677 94 94 sysinfo_set_item_val("fb.height", NULL, ROWS); 95 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));98 96 } 99 97 -
kernel/arch/mips32/include/drivers/msim.h
r46d8eb9 r113c677 37 37 38 38 /** Address of devices. */ 39 #define MSIM_VIDEORAM 0x B000000040 #define MSIM_KBD_ADDRESS 0x B000000039 #define MSIM_VIDEORAM 0x90000000 40 #define MSIM_KBD_ADDRESS 0x90000000 41 41 #define MSIM_KBD_IRQ 2 42 42 -
kernel/arch/mips32/include/drivers/serial.h
r46d8eb9 r113c677 38 38 #include <console/chardev.h> 39 39 40 #define SERIAL_ADDRESS 0x B800000040 #define SERIAL_ADDRESS 0x98000000 41 41 42 42 #define SERIAL_MAX 4 -
kernel/arch/mips32/src/drivers/msim.c
r46d8eb9 r113c677 40 40 #include <console/console.h> 41 41 #include <sysinfo/sysinfo.h> 42 #include <ddi/ddi.h> 42 43 44 static parea_t msim_parea; 43 45 static chardev_t console; 44 46 static irq_t msim_irq; … … 154 156 sysinfo_set_item_val("kbd.inr", NULL, MSIM_KBD_IRQ); 155 157 sysinfo_set_item_val("kbd.address.virtual", NULL, MSIM_KBD_ADDRESS); 158 159 msim_parea.pbase = KA2PA(MSIM_VIDEORAM); 160 msim_parea.vbase = MSIM_VIDEORAM; 161 msim_parea.frames = 1; 162 msim_parea.cacheable = false; 163 ddi_parea_register(&msim_parea); 164 165 sysinfo_set_item_val("fb", NULL, true); 166 sysinfo_set_item_val("fb.kind", NULL, 3); 167 sysinfo_set_item_val("fb.address.physical", NULL, KA2PA(MSIM_VIDEORAM)); 156 168 } 157 169
Note:
See TracChangeset
for help on using the changeset viewer.