1
0
Fork 0
forked from Miroirs/x49gp

remove dead code

This commit is contained in:
Gwenhael Le Moine 2024-11-14 16:16:16 +01:00
parent bf8ddd52c6
commit e41e501e4b
No known key found for this signature in database
GPG key ID: FDFE3669426707A7
3 changed files with 0 additions and 16 deletions

View file

@ -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 */

View file

@ -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;
}

View file

@ -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: