equal
deleted
inserted
replaced
18 |
18 |
19 // virtualhw.irq => ic.input[391]; |
19 // virtualhw.irq => ic.input[391]; |
20 // pvbus.pvbus_m_range[0x60000000..0x62ffffff] => graphicsvirtualhw.mbus; //=>Reserve own memory area later |
20 // pvbus.pvbus_m_range[0x60000000..0x62ffffff] => graphicsvirtualhw.mbus; //=>Reserve own memory area later |
21 // pvbus.pvbus_m_range[0x63000000..0x63000fff] => graphicsvirtualhw.pbus; //=>Reserve own memory area later |
21 // pvbus.pvbus_m_range[0x63000000..0x63000fff] => graphicsvirtualhw.pbus; //=>Reserve own memory area later |
22 |
22 |
23 #ifdef PLATSIM_CONFIG |
23 #ifdef FIXED_MEMORY_LOCATION |
24 #define VVI_BASE 0x60000000 |
24 #define VVI_BASE 0x60000000 |
25 #else |
25 #else |
26 #define VVI_BASE 0x00000000 |
26 #define VVI_BASE 0x00000000 |
27 #endif // PLATSIM_CONFIG |
27 #endif // FIXED_MEMORY_LOCATION |
28 |
28 |
29 // base address |
29 // base address |
30 #define VVI_REGISTERS_BASE_ADDRESS VVI_BASE + 0x03000000 |
30 #define VVI_REGISTERS_BASE_ADDRESS VVI_BASE + 0x03000000 |
31 #define VVI_REGISTERS_MEMORY_SIZE 0x1000 |
31 #define VVI_REGISTERS_MEMORY_SIZE 0x1000 |
32 #define VVI_REGISTERS_MASK 0x0FFF |
32 #define VVI_REGISTERS_MASK 0x0FFF |
59 |
59 |
60 // COMMAND register values |
60 // COMMAND register values |
61 #define VVI_EXECUTE 0 |
61 #define VVI_EXECUTE 0 |
62 |
62 |
63 //IRQ number |
63 //IRQ number |
64 #ifdef PLATSIM_CONFIG |
64 #ifdef FIXED_MEMORY_LOCATION |
65 #define VVI_IRQ 391 |
65 #define VVI_IRQ 391 |
66 #else |
66 #else |
67 // Jani - This is defined in syborg.h "EIntGraphics" - should we get it from there? |
67 // Jani - This is defined in syborg.h "EIntGraphics" - should we get it from there? |
68 #define VVI_IRQ 13 |
68 #define VVI_IRQ 13 |
69 #endif // PLATSIM_CONFIG |
69 #endif // FIXED_MEMORY_LOCATION |
70 |
70 |
71 #endif |
71 #endif |