Changeset 1931 in vbox for trunk/src/VBox
- Timestamp:
- Apr 4, 2007 2:04:15 PM (18 years ago)
- Location:
- trunk/src/VBox/Devices
- Files:
-
- 3 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Makefile
r1912 r1931 141 141 VBoxDD2_SOURCES = \ 142 142 Builtins2.cpp \ 143 PC/ apic.c143 PC/DevAPIC.cpp 144 144 VBoxDD2_LIBS = \ 145 145 $(PATH_LIB)/PcBiosBin$(VBOX_SUFF_LIB) \ … … 289 289 $(PATH_CURRENT) 290 290 VBoxDD2GC_SOURCES = \ 291 PC/ apic.c291 PC/DevAPIC.cpp 292 292 ifeq ($(VBOX_LDR_FMT32),pe) 293 293 VBoxDD2GC_LDFLAGS = -Entry:apicMMIOWrite … … 309 309 $(PATH_CURRENT) 310 310 VBoxDD2R0_SOURCES = \ 311 PC/ apic.c311 PC/DevAPIC.cpp 312 312 ifeq ($(VBOX_LDR_FMT),pe) 313 313 VBoxDD2R0_LDFLAGS = -Entry:apicMMIOWrite -
trunk/src/VBox/Devices/PC/DevAPIC.cpp
r1928 r1931 732 732 } 733 733 reset_bit(s->irr, intno); 734 if (s->tpr && intno <= s->tpr) {734 if (s->tpr && (uint32_t)intno <= s->tpr) { 735 735 Log(("apic_get_interrupt: returns %d (sp)\n", s->spurious_vec & 0xff)); 736 736 return s->spurious_vec & 0xff; … … 1080 1080 static void apic_save(QEMUFile *f, void *opaque) 1081 1081 { 1082 APICState *s = opaque;1082 APICState *s = (APICState*)opaque; 1083 1083 int i; 1084 1084 … … 1114 1114 static int apic_load(QEMUFile *f, void *opaque, int version_id) 1115 1115 { 1116 APICState *s = opaque;1116 APICState *s = (APICState*)opaque; 1117 1117 int i; 1118 1118 … … 1153 1153 static void apic_reset(void *opaque) 1154 1154 { 1155 APICState *s = opaque;1155 APICState *s = (APICState*)opaque; 1156 1156 #ifdef VBOX 1157 1157 TMTimerStop(s->CTXSUFF(pTimer)); … … 1277 1277 void ioapic_set_irq(void *opaque, int vector, int level) 1278 1278 { 1279 IOAPICState *s = opaque;1279 IOAPICState *s = (IOAPICState*)opaque; 1280 1280 1281 1281 if (vector >= 0 && vector < IOAPIC_NUM_PINS) { … … 1303 1303 static uint32_t ioapic_mem_readl(void *opaque, target_phys_addr_t addr) 1304 1304 { 1305 IOAPICState *s = opaque;1305 IOAPICState *s = (IOAPICState*)opaque; 1306 1306 int index; 1307 1307 uint32_t val = 0; … … 1339 1339 static void ioapic_mem_writel(void *opaque, target_phys_addr_t addr, uint32_t val) 1340 1340 { 1341 IOAPICState *s = opaque;1341 IOAPICState *s = (IOAPICState*)opaque; 1342 1342 int index; 1343 1343 … … 1377 1377 static void ioapic_save(QEMUFile *f, void *opaque) 1378 1378 { 1379 IOAPICState *s = opaque;1379 IOAPICState *s = (IOAPICState*)opaque; 1380 1380 int i; 1381 1381 … … 1389 1389 static int ioapic_load(QEMUFile *f, void *opaque, int version_id) 1390 1390 { 1391 IOAPICState *s = opaque;1391 IOAPICState *s = (IOAPICState*)opaque; 1392 1392 int i; 1393 1393 … … 1405 1405 static void ioapic_reset(void *opaque) 1406 1406 { 1407 IOAPICState *s = opaque;1407 IOAPICState *s = (IOAPICState*)opaque; 1408 1408 #ifdef VBOX 1409 1409 PPDMDEVINSHC pDevIns = s->pDevInsHC; -
trunk/src/VBox/Devices/testcase/tstDeviceStructSize.cpp
r1723 r1931 48 48 #include "PC/DevRTC.cpp" 49 49 #undef LOG_GROUP 50 #include "PC/ apic.c"50 #include "PC/DevAPIC.cpp" 51 51 #undef LOG_GROUP 52 52 #include "Storage/DevATA.cpp" -
trunk/src/VBox/Devices/testcase/tstDeviceStructSizeGC.cpp
r1723 r1931 58 58 #include "PC/DevRTC.cpp" 59 59 #undef LOG_GROUP 60 #include "PC/ apic.c"60 #include "PC/DevAPIC.cpp" 61 61 #undef LOG_GROUP 62 62 #include "Storage/DevATA.cpp"
Note:
See TracChangeset
for help on using the changeset viewer.