forked from Miroirs/x49gp
remove dead code
This commit is contained in:
parent
bf8ddd52c6
commit
e41e501e4b
3 changed files with 0 additions and 16 deletions
|
@ -27,9 +27,6 @@
|
|||
#include "block.h"
|
||||
#include "block_int.h"
|
||||
#include <zlib.h>
|
||||
#if 0
|
||||
# include "aes.h"
|
||||
#endif
|
||||
|
||||
/**************************************************************/
|
||||
/* QEMU COW block driver with compression and encryption support */
|
||||
|
|
|
@ -317,16 +317,5 @@ int main( int argc, char** argv )
|
|||
x49gp_modules_save( x49gp, opt.state_filename );
|
||||
x49gp_modules_exit( x49gp );
|
||||
|
||||
#if false
|
||||
printf("ClkTicks: %lu\n", ARMul_Time(x49gp->arm));
|
||||
printf("D TLB: hit0 %lu, hit1 %lu, search %lu (%lu), walk %lu\n",
|
||||
x49gp->mmu->dTLB.hit0, x49gp->mmu->dTLB.hit1,
|
||||
x49gp->mmu->dTLB.search, x49gp->mmu->dTLB.nsearch,
|
||||
x49gp->mmu->dTLB.walk);
|
||||
printf("I TLB: hit0 %lu, hit1 %lu, search %lu (%lu), walk %lu\n",
|
||||
x49gp->mmu->iTLB.hit0, x49gp->mmu->iTLB.hit1,
|
||||
x49gp->mmu->iTLB.search, x49gp->mmu->iTLB.nsearch,
|
||||
x49gp->mmu->iTLB.walk);
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -212,11 +212,9 @@ static uint32_t s3c2410_io_port_read( void* opaque, target_phys_addr_t offset )
|
|||
break;
|
||||
|
||||
case S3C2410_IO_PORT_GPFDAT:
|
||||
#if 1
|
||||
if ( 1 != ( ( io->gpfcon >> 6 ) & 3 ) ) {
|
||||
*( reg->datap ) |= 0x0008;
|
||||
}
|
||||
#endif
|
||||
break;
|
||||
|
||||
case S3C2410_IO_PORT_GPGDAT:
|
||||
|
|
Loading…
Reference in a new issue