interrupts.cc (11151:ca4ea9b5c052) | interrupts.cc (11479:8b23edf06cd3) |
---|---|
1/* 2 * Copyright (c) 2012-2013 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 98 unchanged lines hidden (view full) --- 107 break; 108 case 0xE0: 109 regNum = APIC_DESTINATION_FORMAT; 110 break; 111 case 0xF0: 112 regNum = APIC_SPURIOUS_INTERRUPT_VECTOR; 113 break; 114 case 0x100: | 1/* 2 * Copyright (c) 2012-2013 ARM Limited 3 * All rights reserved 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 98 unchanged lines hidden (view full) --- 107 break; 108 case 0xE0: 109 regNum = APIC_DESTINATION_FORMAT; 110 break; 111 case 0xF0: 112 regNum = APIC_SPURIOUS_INTERRUPT_VECTOR; 113 break; 114 case 0x100: |
115 case 0x108: | |
116 case 0x110: | 115 case 0x110: |
117 case 0x118: | |
118 case 0x120: | 116 case 0x120: |
119 case 0x128: | |
120 case 0x130: | 117 case 0x130: |
121 case 0x138: | |
122 case 0x140: | 118 case 0x140: |
123 case 0x148: | |
124 case 0x150: | 119 case 0x150: |
125 case 0x158: | |
126 case 0x160: | 120 case 0x160: |
127 case 0x168: | |
128 case 0x170: | 121 case 0x170: |
129 case 0x178: 130 regNum = APIC_IN_SERVICE((paddr - 0x100) / 0x8); | 122 regNum = APIC_IN_SERVICE((paddr - 0x100) / 0x10); |
131 break; 132 case 0x180: | 123 break; 124 case 0x180: |
133 case 0x188: | |
134 case 0x190: | 125 case 0x190: |
135 case 0x198: | |
136 case 0x1A0: | 126 case 0x1A0: |
137 case 0x1A8: | |
138 case 0x1B0: | 127 case 0x1B0: |
139 case 0x1B8: | |
140 case 0x1C0: | 128 case 0x1C0: |
141 case 0x1C8: | |
142 case 0x1D0: | 129 case 0x1D0: |
143 case 0x1D8: | |
144 case 0x1E0: | 130 case 0x1E0: |
145 case 0x1E8: | |
146 case 0x1F0: | 131 case 0x1F0: |
147 case 0x1F8: 148 regNum = APIC_TRIGGER_MODE((paddr - 0x180) / 0x8); | 132 regNum = APIC_TRIGGER_MODE((paddr - 0x180) / 0x10); |
149 break; 150 case 0x200: | 133 break; 134 case 0x200: |
151 case 0x208: | |
152 case 0x210: | 135 case 0x210: |
153 case 0x218: | |
154 case 0x220: | 136 case 0x220: |
155 case 0x228: | |
156 case 0x230: | 137 case 0x230: |
157 case 0x238: | |
158 case 0x240: | 138 case 0x240: |
159 case 0x248: | |
160 case 0x250: | 139 case 0x250: |
161 case 0x258: | |
162 case 0x260: | 140 case 0x260: |
163 case 0x268: | |
164 case 0x270: | 141 case 0x270: |
165 case 0x278: 166 regNum = APIC_INTERRUPT_REQUEST((paddr - 0x200) / 0x8); | 142 regNum = APIC_INTERRUPT_REQUEST((paddr - 0x200) / 0x10); |
167 break; 168 case 0x280: 169 regNum = APIC_ERROR_STATUS; 170 break; 171 case 0x300: 172 regNum = APIC_INTERRUPT_COMMAND_LOW; 173 break; 174 case 0x310: --- 618 unchanged lines hidden --- | 143 break; 144 case 0x280: 145 regNum = APIC_ERROR_STATUS; 146 break; 147 case 0x300: 148 regNum = APIC_INTERRUPT_COMMAND_LOW; 149 break; 150 case 0x310: --- 618 unchanged lines hidden --- |