Rev 4123 | Rev 4220 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4123 | Rev 4148 | ||
---|---|---|---|
Line 40... | Line 40... | ||
40 | #include <genarch/fb/fb.h> |
40 | #include <genarch/fb/fb.h> |
41 | #include <genarch/fb/visuals.h> |
41 | #include <genarch/fb/visuals.h> |
42 | #include <userspace.h> |
42 | #include <userspace.h> |
43 | #include <proc/uarg.h> |
43 | #include <proc/uarg.h> |
44 | #include <console/console.h> |
44 | #include <console/console.h> |
45 | #include <ddi/device.h> |
- | |
46 | #include <ddi/irq.h> |
45 | #include <ddi/irq.h> |
47 | #include <arch/drivers/pic.h> |
46 | #include <arch/drivers/pic.h> |
48 | #include <macros.h> |
47 | #include <macros.h> |
49 | #include <string.h> |
48 | #include <string.h> |
50 | 49 | ||
Line 119... | Line 118... | ||
119 | if (bootinfo.macio.addr) { |
118 | if (bootinfo.macio.addr) { |
120 | /* Initialize PIC */ |
119 | /* Initialize PIC */ |
121 | pic_init(bootinfo.macio.addr, PAGE_SIZE); |
120 | pic_init(bootinfo.macio.addr, PAGE_SIZE); |
122 | 121 | ||
123 | /* Initialize I/O controller */ |
122 | /* Initialize I/O controller */ |
124 | cuda_init(device_assign_devno(), |
- | |
125 | bootinfo.macio.addr + 0x16000, 2 * PAGE_SIZE); |
123 | cuda_init(bootinfo.macio.addr + 0x16000, 2 * PAGE_SIZE); |
126 | } |
124 | } |
127 | 125 | ||
128 | /* Merge all zones to 1 big zone */ |
126 | /* Merge all zones to 1 big zone */ |
129 | zone_merge_all(); |
127 | zone_merge_all(); |
130 | } |
128 | } |