Changeset 84afc7b in mainline for kernel/arch/ppc32/src/drivers/cuda.c
- Timestamp:
- 2009-03-18T10:53:12Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- e749794
- Parents:
- 8015eeec
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ppc32/src/drivers/cuda.c
r8015eeec r84afc7b 41 41 #include <interrupt.h> 42 42 #include <stdarg.h> 43 #include <ddi/device.h> 43 44 44 45 #define CUDA_IRQ 10 … … 242 243 } 243 244 244 void cuda_init( devno_t devno,uintptr_t base, size_t size)245 void cuda_init(uintptr_t base, size_t size) 245 246 { 246 247 cuda = (uint8_t *) hw_map(base, size); … … 250 251 251 252 irq_initialize(&cuda_irq); 252 cuda_irq.devno = dev no;253 cuda_irq.devno = device_assign_devno(); 253 254 cuda_irq.inr = CUDA_IRQ; 254 255 cuda_irq.claim = cuda_claim; … … 259 260 260 261 sysinfo_set_item_val("kbd", NULL, true); 261 sysinfo_set_item_val("kbd.devno", NULL, devno);262 262 sysinfo_set_item_val("kbd.inr", NULL, CUDA_IRQ); 263 263 sysinfo_set_item_val("kbd.address.virtual", NULL, base);
Note:
See TracChangeset
for help on using the changeset viewer.