Assorted warning fixes
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
static int
|
||||
opMOVSB_a16(uint32_t fetchdat)
|
||||
opMOVSB_a16(UNUSED(uint32_t fetchdat))
|
||||
{
|
||||
uint8_t temp;
|
||||
|
||||
@@ -35,7 +35,7 @@ opMOVSB_a16(uint32_t fetchdat)
|
||||
return 0;
|
||||
}
|
||||
static int
|
||||
opMOVSB_a32(uint32_t fetchdat)
|
||||
opMOVSB_a32(UNUSED(uint32_t fetchdat))
|
||||
{
|
||||
uint8_t temp;
|
||||
|
||||
@@ -71,7 +71,7 @@ opMOVSB_a32(uint32_t fetchdat)
|
||||
}
|
||||
|
||||
static int
|
||||
opMOVSW_a16(uint32_t fetchdat)
|
||||
opMOVSW_a16(UNUSED(uint32_t fetchdat))
|
||||
{
|
||||
uint16_t temp;
|
||||
|
||||
@@ -107,7 +107,7 @@ opMOVSW_a16(uint32_t fetchdat)
|
||||
return 0;
|
||||
}
|
||||
static int
|
||||
opMOVSW_a32(uint32_t fetchdat)
|
||||
opMOVSW_a32(UNUSED(uint32_t fetchdat))
|
||||
{
|
||||
uint16_t temp;
|
||||
|
||||
@@ -144,7 +144,7 @@ opMOVSW_a32(uint32_t fetchdat)
|
||||
}
|
||||
|
||||
static int
|
||||
opMOVSL_a16(uint32_t fetchdat)
|
||||
opMOVSL_a16(UNUSED(uint32_t fetchdat))
|
||||
{
|
||||
uint32_t temp;
|
||||
|
||||
@@ -180,7 +180,7 @@ opMOVSL_a16(uint32_t fetchdat)
|
||||
return 0;
|
||||
}
|
||||
static int
|
||||
opMOVSL_a32(uint32_t fetchdat)
|
||||
opMOVSL_a32(UNUSED(uint32_t fetchdat))
|
||||
{
|
||||
uint32_t temp;
|
||||
|
||||
@@ -217,7 +217,7 @@ opMOVSL_a32(uint32_t fetchdat)
|
||||
}
|
||||
|
||||
static int
|
||||
opCMPSB_a16(uint32_t fetchdat)
|
||||
opCMPSB_a16(UNUSED(uint32_t fetchdat))
|
||||
{
|
||||
uint8_t src;
|
||||
uint8_t dst;
|
||||
@@ -254,7 +254,7 @@ opCMPSB_a16(uint32_t fetchdat)
|
||||
return 0;
|
||||
}
|
||||
static int
|
||||
opCMPSB_a32(uint32_t fetchdat)
|
||||
opCMPSB_a32(UNUSED(uint32_t fetchdat))
|
||||
{
|
||||
uint8_t src;
|
||||
uint8_t dst;
|
||||
@@ -292,7 +292,7 @@ opCMPSB_a32(uint32_t fetchdat)
|
||||
}
|
||||
|
||||
static int
|
||||
opCMPSW_a16(uint32_t fetchdat)
|
||||
opCMPSW_a16(UNUSED(uint32_t fetchdat))
|
||||
{
|
||||
uint16_t src;
|
||||
uint16_t dst;
|
||||
@@ -330,7 +330,7 @@ opCMPSW_a16(uint32_t fetchdat)
|
||||
return 0;
|
||||
}
|
||||
static int
|
||||
opCMPSW_a32(uint32_t fetchdat)
|
||||
opCMPSW_a32(UNUSED(uint32_t fetchdat))
|
||||
{
|
||||
uint16_t src;
|
||||
uint16_t dst;
|
||||
@@ -369,7 +369,7 @@ opCMPSW_a32(uint32_t fetchdat)
|
||||
}
|
||||
|
||||
static int
|
||||
opCMPSL_a16(uint32_t fetchdat)
|
||||
opCMPSL_a16(UNUSED(uint32_t fetchdat))
|
||||
{
|
||||
uint32_t src;
|
||||
uint32_t dst;
|
||||
@@ -407,7 +407,7 @@ opCMPSL_a16(uint32_t fetchdat)
|
||||
return 0;
|
||||
}
|
||||
static int
|
||||
opCMPSL_a32(uint32_t fetchdat)
|
||||
opCMPSL_a32(UNUSED(uint32_t fetchdat))
|
||||
{
|
||||
uint32_t src;
|
||||
uint32_t dst;
|
||||
@@ -446,7 +446,7 @@ opCMPSL_a32(uint32_t fetchdat)
|
||||
}
|
||||
|
||||
static int
|
||||
opSTOSB_a16(uint32_t fetchdat)
|
||||
opSTOSB_a16(UNUSED(uint32_t fetchdat))
|
||||
{
|
||||
SEG_CHECK_WRITE(&cpu_state.seg_es);
|
||||
CHECK_WRITE(&cpu_state.seg_es, DI, DI);
|
||||
@@ -462,7 +462,7 @@ opSTOSB_a16(uint32_t fetchdat)
|
||||
return 0;
|
||||
}
|
||||
static int
|
||||
opSTOSB_a32(uint32_t fetchdat)
|
||||
opSTOSB_a32(UNUSED(uint32_t fetchdat))
|
||||
{
|
||||
SEG_CHECK_WRITE(&cpu_state.seg_es);
|
||||
CHECK_WRITE(&cpu_state.seg_es, EDI, EDI);
|
||||
@@ -479,7 +479,7 @@ opSTOSB_a32(uint32_t fetchdat)
|
||||
}
|
||||
|
||||
static int
|
||||
opSTOSW_a16(uint32_t fetchdat)
|
||||
opSTOSW_a16(UNUSED(uint32_t fetchdat))
|
||||
{
|
||||
SEG_CHECK_WRITE(&cpu_state.seg_es);
|
||||
CHECK_WRITE(&cpu_state.seg_es, DI, DI + 1UL);
|
||||
@@ -495,7 +495,7 @@ opSTOSW_a16(uint32_t fetchdat)
|
||||
return 0;
|
||||
}
|
||||
static int
|
||||
opSTOSW_a32(uint32_t fetchdat)
|
||||
opSTOSW_a32(UNUSED(uint32_t fetchdat))
|
||||
{
|
||||
SEG_CHECK_WRITE(&cpu_state.seg_es);
|
||||
CHECK_WRITE(&cpu_state.seg_es, EDI, EDI + 1UL);
|
||||
@@ -512,7 +512,7 @@ opSTOSW_a32(uint32_t fetchdat)
|
||||
}
|
||||
|
||||
static int
|
||||
opSTOSL_a16(uint32_t fetchdat)
|
||||
opSTOSL_a16(UNUSED(uint32_t fetchdat))
|
||||
{
|
||||
SEG_CHECK_WRITE(&cpu_state.seg_es);
|
||||
CHECK_WRITE(&cpu_state.seg_es, DI, DI + 3UL);
|
||||
@@ -528,7 +528,7 @@ opSTOSL_a16(uint32_t fetchdat)
|
||||
return 0;
|
||||
}
|
||||
static int
|
||||
opSTOSL_a32(uint32_t fetchdat)
|
||||
opSTOSL_a32(UNUSED(uint32_t fetchdat))
|
||||
{
|
||||
SEG_CHECK_WRITE(&cpu_state.seg_es);
|
||||
CHECK_WRITE(&cpu_state.seg_es, EDI, EDI + 3UL);
|
||||
@@ -545,7 +545,7 @@ opSTOSL_a32(uint32_t fetchdat)
|
||||
}
|
||||
|
||||
static int
|
||||
opLODSB_a16(uint32_t fetchdat)
|
||||
opLODSB_a16(UNUSED(uint32_t fetchdat))
|
||||
{
|
||||
uint8_t temp;
|
||||
|
||||
@@ -564,7 +564,7 @@ opLODSB_a16(uint32_t fetchdat)
|
||||
return 0;
|
||||
}
|
||||
static int
|
||||
opLODSB_a32(uint32_t fetchdat)
|
||||
opLODSB_a32(UNUSED(uint32_t fetchdat))
|
||||
{
|
||||
uint8_t temp;
|
||||
|
||||
@@ -584,7 +584,7 @@ opLODSB_a32(uint32_t fetchdat)
|
||||
}
|
||||
|
||||
static int
|
||||
opLODSW_a16(uint32_t fetchdat)
|
||||
opLODSW_a16(UNUSED(uint32_t fetchdat))
|
||||
{
|
||||
uint16_t temp;
|
||||
|
||||
@@ -603,7 +603,7 @@ opLODSW_a16(uint32_t fetchdat)
|
||||
return 0;
|
||||
}
|
||||
static int
|
||||
opLODSW_a32(uint32_t fetchdat)
|
||||
opLODSW_a32(UNUSED(uint32_t fetchdat))
|
||||
{
|
||||
uint16_t temp;
|
||||
|
||||
@@ -623,7 +623,7 @@ opLODSW_a32(uint32_t fetchdat)
|
||||
}
|
||||
|
||||
static int
|
||||
opLODSL_a16(uint32_t fetchdat)
|
||||
opLODSL_a16(UNUSED(uint32_t fetchdat))
|
||||
{
|
||||
uint32_t temp;
|
||||
|
||||
@@ -642,7 +642,7 @@ opLODSL_a16(uint32_t fetchdat)
|
||||
return 0;
|
||||
}
|
||||
static int
|
||||
opLODSL_a32(uint32_t fetchdat)
|
||||
opLODSL_a32(UNUSED(uint32_t fetchdat))
|
||||
{
|
||||
uint32_t temp;
|
||||
|
||||
@@ -662,7 +662,7 @@ opLODSL_a32(uint32_t fetchdat)
|
||||
}
|
||||
|
||||
static int
|
||||
opSCASB_a16(uint32_t fetchdat)
|
||||
opSCASB_a16(UNUSED(uint32_t fetchdat))
|
||||
{
|
||||
uint8_t temp;
|
||||
|
||||
@@ -681,7 +681,7 @@ opSCASB_a16(uint32_t fetchdat)
|
||||
return 0;
|
||||
}
|
||||
static int
|
||||
opSCASB_a32(uint32_t fetchdat)
|
||||
opSCASB_a32(UNUSED(uint32_t fetchdat))
|
||||
{
|
||||
uint8_t temp;
|
||||
|
||||
@@ -701,7 +701,7 @@ opSCASB_a32(uint32_t fetchdat)
|
||||
}
|
||||
|
||||
static int
|
||||
opSCASW_a16(uint32_t fetchdat)
|
||||
opSCASW_a16(UNUSED(uint32_t fetchdat))
|
||||
{
|
||||
uint16_t temp;
|
||||
|
||||
@@ -720,7 +720,7 @@ opSCASW_a16(uint32_t fetchdat)
|
||||
return 0;
|
||||
}
|
||||
static int
|
||||
opSCASW_a32(uint32_t fetchdat)
|
||||
opSCASW_a32(UNUSED(uint32_t fetchdat))
|
||||
{
|
||||
uint16_t temp;
|
||||
|
||||
@@ -740,7 +740,7 @@ opSCASW_a32(uint32_t fetchdat)
|
||||
}
|
||||
|
||||
static int
|
||||
opSCASL_a16(uint32_t fetchdat)
|
||||
opSCASL_a16(UNUSED(uint32_t fetchdat))
|
||||
{
|
||||
uint32_t temp;
|
||||
|
||||
@@ -759,7 +759,7 @@ opSCASL_a16(uint32_t fetchdat)
|
||||
return 0;
|
||||
}
|
||||
static int
|
||||
opSCASL_a32(uint32_t fetchdat)
|
||||
opSCASL_a32(UNUSED(uint32_t fetchdat))
|
||||
{
|
||||
uint32_t temp;
|
||||
|
||||
@@ -779,7 +779,7 @@ opSCASL_a32(uint32_t fetchdat)
|
||||
}
|
||||
|
||||
static int
|
||||
opINSB_a16(uint32_t fetchdat)
|
||||
opINSB_a16(UNUSED(uint32_t fetchdat))
|
||||
{
|
||||
uint8_t temp;
|
||||
|
||||
@@ -805,7 +805,7 @@ opINSB_a16(uint32_t fetchdat)
|
||||
return 0;
|
||||
}
|
||||
static int
|
||||
opINSB_a32(uint32_t fetchdat)
|
||||
opINSB_a32(UNUSED(uint32_t fetchdat))
|
||||
{
|
||||
uint8_t temp;
|
||||
|
||||
@@ -832,7 +832,7 @@ opINSB_a32(uint32_t fetchdat)
|
||||
}
|
||||
|
||||
static int
|
||||
opINSW_a16(uint32_t fetchdat)
|
||||
opINSW_a16(UNUSED(uint32_t fetchdat))
|
||||
{
|
||||
uint16_t temp;
|
||||
|
||||
@@ -858,7 +858,7 @@ opINSW_a16(uint32_t fetchdat)
|
||||
return 0;
|
||||
}
|
||||
static int
|
||||
opINSW_a32(uint32_t fetchdat)
|
||||
opINSW_a32(UNUSED(uint32_t fetchdat))
|
||||
{
|
||||
uint16_t temp;
|
||||
|
||||
@@ -885,7 +885,7 @@ opINSW_a32(uint32_t fetchdat)
|
||||
}
|
||||
|
||||
static int
|
||||
opINSL_a16(uint32_t fetchdat)
|
||||
opINSL_a16(UNUSED(uint32_t fetchdat))
|
||||
{
|
||||
uint32_t temp;
|
||||
|
||||
@@ -911,7 +911,7 @@ opINSL_a16(uint32_t fetchdat)
|
||||
return 0;
|
||||
}
|
||||
static int
|
||||
opINSL_a32(uint32_t fetchdat)
|
||||
opINSL_a32(UNUSED(uint32_t fetchdat))
|
||||
{
|
||||
uint32_t temp;
|
||||
|
||||
@@ -938,7 +938,7 @@ opINSL_a32(uint32_t fetchdat)
|
||||
}
|
||||
|
||||
static int
|
||||
opOUTSB_a16(uint32_t fetchdat)
|
||||
opOUTSB_a16(UNUSED(uint32_t fetchdat))
|
||||
{
|
||||
uint8_t temp;
|
||||
|
||||
@@ -958,7 +958,7 @@ opOUTSB_a16(uint32_t fetchdat)
|
||||
return 0;
|
||||
}
|
||||
static int
|
||||
opOUTSB_a32(uint32_t fetchdat)
|
||||
opOUTSB_a32(UNUSED(uint32_t fetchdat))
|
||||
{
|
||||
uint8_t temp;
|
||||
|
||||
@@ -979,7 +979,7 @@ opOUTSB_a32(uint32_t fetchdat)
|
||||
}
|
||||
|
||||
static int
|
||||
opOUTSW_a16(uint32_t fetchdat)
|
||||
opOUTSW_a16(UNUSED(uint32_t fetchdat))
|
||||
{
|
||||
uint16_t temp;
|
||||
|
||||
@@ -999,7 +999,7 @@ opOUTSW_a16(uint32_t fetchdat)
|
||||
return 0;
|
||||
}
|
||||
static int
|
||||
opOUTSW_a32(uint32_t fetchdat)
|
||||
opOUTSW_a32(UNUSED(uint32_t fetchdat))
|
||||
{
|
||||
uint16_t temp;
|
||||
|
||||
@@ -1020,7 +1020,7 @@ opOUTSW_a32(uint32_t fetchdat)
|
||||
}
|
||||
|
||||
static int
|
||||
opOUTSL_a16(uint32_t fetchdat)
|
||||
opOUTSL_a16(UNUSED(uint32_t fetchdat))
|
||||
{
|
||||
uint32_t temp;
|
||||
|
||||
@@ -1040,7 +1040,7 @@ opOUTSL_a16(uint32_t fetchdat)
|
||||
return 0;
|
||||
}
|
||||
static int
|
||||
opOUTSL_a32(uint32_t fetchdat)
|
||||
opOUTSL_a32(UNUSED(uint32_t fetchdat))
|
||||
{
|
||||
uint32_t temp;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user