Changeset 42742c5a in mainline
- Timestamp:
- 2009-02-27T20:41:23Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7a28812
- Parents:
- 12081e6
- Files:
-
- 2 added
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
boot/arch/sparc64/loader/Makefile
r12081e6 r42742c5a 104 104 $(USPACEDIR)/srv/fs/tmpfs/tmpfs \ 105 105 $(USPACEDIR)/srv/fs/fat/fat \ 106 $(USPACEDIR)/srv/fhc/fhc 106 $(USPACEDIR)/srv/fhc/fhc \ 107 $(USPACEDIR)/srv/obio/obio 107 108 108 109 RD_APPS = \ -
kernel/arch/sparc64/src/drivers/fhc.c
r12081e6 r42742c5a 93 93 sysinfo_set_item_val("fhc.uart.size", NULL, reg->size); 94 94 sysinfo_set_item_val("fhc.uart.physical", NULL, paddr); 95 sysinfo_set_item_val("kbd.cir.fhc", NULL, 1); 95 96 96 97 return fhc; -
kernel/arch/sparc64/src/drivers/kbd.c
r12081e6 r42742c5a 117 117 return; 118 118 } 119 sysinfo_set_item_val("kbd.cir.fhc", NULL, 1);120 119 break; 121 120 … … 134 133 }; 135 134 break; 136 137 135 default: 138 136 panic("Unexpected keyboard type."); -
kernel/arch/sparc64/src/drivers/pci.c
r12081e6 r42742c5a 45 45 #include <func.h> 46 46 #include <arch/asm.h> 47 #include <sysinfo/sysinfo.h> 47 48 48 49 #define SABRE_INTERNAL_REG 0 … … 109 110 pci->reg = (uint64_t *) hw_map(paddr, reg[SABRE_INTERNAL_REG].size); 110 111 112 /* 113 * Set sysinfo data needed by the uspace OBIO driver. 114 */ 115 sysinfo_set_item_val("obio.base.physical", NULL, paddr); 116 sysinfo_set_item_val("kbd.cir.obio", NULL, 1); 117 111 118 return pci; 112 119 } … … 149 156 pci->op = &pci_psycho_ops; 150 157 pci->reg = (uint64_t *) hw_map(paddr, reg[PSYCHO_INTERNAL_REG].size); 158 159 /* 160 * Set sysinfo data needed by the uspace OBIO driver. 161 */ 162 sysinfo_set_item_val("obio.base.physical", NULL, paddr); 163 sysinfo_set_item_val("kbd.cir.obio", NULL, 1); 151 164 152 165 return pci; -
uspace/Makefile
r12081e6 r42742c5a 64 64 65 65 ifeq ($(UARCH),sparc64) 66 DIRS += srv/fhc 66 DIRS += \ 67 srv/fhc \ 68 srv/obio 67 69 endif 68 70 -
uspace/lib/libc/include/ipc/services.h
r12081e6 r42742c5a 46 46 SERVICE_VFS, 47 47 SERVICE_DEVMAP, 48 SERVICE_FHC 48 SERVICE_FHC, 49 SERVICE_OBIO 49 50 } services_t; 50 51 -
uspace/srv/kbd/generic/kbd.c
r12081e6 r42742c5a 179 179 if (sysinfo_value("kbd.cir.fhc") == 1) 180 180 cir_service = SERVICE_FHC; 181 else if (sysinfo_value("kbd.cir.obio") == 1) 182 cir_service = SERVICE_OBIO; 181 183 182 184 if (cir_service) {
Note:
See TracChangeset
for help on using the changeset viewer.