Rev 4612 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 4612 | Rev 4628 | ||
---|---|---|---|
Line 44... | Line 44... | ||
44 | * from interrupt controller |
44 | * from interrupt controller |
45 | */ |
45 | */ |
46 | #define QEMU_ICP_IRQC_MAX_IRQ 8 |
46 | #define QEMU_ICP_IRQC_MAX_IRQ 8 |
47 | 47 | ||
48 | /** Timer frequency */ |
48 | /** Timer frequency */ |
49 | #define QEMU_ICP_TIMER_FREQ 1000 |
49 | #define QEMU_ICP_TIMER_FREQ 10000 |
50 | 50 | ||
51 | /** Struct containing mappings of qemu_icp HW devices into kernel part |
51 | /** Struct containing mappings of qemu_icp HW devices into kernel part |
52 | * of virtual address space. |
52 | * of virtual address space. |
53 | */ |
53 | */ |
54 | typedef struct { |
54 | typedef struct { |
55 | uintptr_t videoram; |
55 | uintptr_t videoram; |
- | 56 | uintptr_t kbd_ctrl; |
|
- | 57 | uintptr_t kbd_stat; |
|
56 | uintptr_t kbd; |
58 | uintptr_t kbd_data; |
- | 59 | uintptr_t kbd_intstat; |
|
57 | uintptr_t rtc; |
60 | uintptr_t rtc; |
58 | uintptr_t rtc1_load; |
61 | uintptr_t rtc1_load; |
59 | uintptr_t rtc1_read; |
62 | uintptr_t rtc1_read; |
60 | uintptr_t rtc1_ctl; |
63 | uintptr_t rtc1_ctl; |
61 | uintptr_t rtc1_intrclr; |
64 | uintptr_t rtc1_intrclr; |