Changeset df01d303 in mainline
- Timestamp:
- 2016-12-16T20:40:53Z (8 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7f766f4
- Parents:
- aed3e6a
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/sparc64/src/drivers/pci.c
raed3e6a rdf01d303 112 112 PAGE_WRITE | PAGE_NOT_CACHEABLE); 113 113 114 /*115 * Set sysinfo data needed by the uspace OBIO driver.116 */117 sysinfo_set_item_val("obio.base.physical", NULL, paddr);118 sysinfo_set_item_val("kbd.cir.obio", NULL, 1);119 120 114 return pci; 121 115 } … … 159 153 pci->reg = (uint64_t *) km_map(paddr, reg[PSYCHO_INTERNAL_REG].size, 160 154 PAGE_WRITE | PAGE_NOT_CACHEABLE); 161 162 /*163 * Set sysinfo data needed by the uspace OBIO driver.164 */165 sysinfo_set_item_val("obio.base.physical", NULL, paddr);166 sysinfo_set_item_val("kbd.cir.obio", NULL, 1);167 155 168 156 return pci; -
uspace/srv/hw/irc/obio/obio.c
raed3e6a rdf01d303 45 45 #include <ipc/irc.h> 46 46 #include <ns.h> 47 #include <sysinfo.h>48 47 #include <as.h> 49 48 #include <ddi.h> … … 112 111 /** Initialize the OBIO driver. 113 112 * 114 * So far, the driver heavily depends on information provided by the kernel via 115 * sysinfo. In the future, there should be a standalone OBIO driver. 113 * In the future, the OBIO driver should be integrated with the sun4u platform driver. 116 114 */ 117 115 static bool obio_init(void)
Note:
See TracChangeset
for help on using the changeset viewer.