diff --git a/cpu/ppc/ppcmmu.cpp b/cpu/ppc/ppcmmu.cpp index f73e7c0..0e056ef 100644 --- a/cpu/ppc/ppcmmu.cpp +++ b/cpu/ppc/ppcmmu.cpp @@ -797,7 +797,7 @@ static void tlb_flush_entries(std::array &tlb, TLBFlags type) { template void tlb_flush_entries(TLBFlags type) { - TLBEntry *m1_tlb, *m2_tlb, *m3_tlb; + //TLBEntry *m1_tlb, *m2_tlb, *m3_tlb; int i; if (tlb_type == TLBType::ITLB) { diff --git a/debugger/debugger.cpp b/debugger/debugger.cpp index 3fa5324..133586f 100644 --- a/debugger/debugger.cpp +++ b/debugger/debugger.cpp @@ -447,7 +447,9 @@ void enter_debugger() { size_t separator_pos; bool did_message = false; uint32_t next_addr_ppc; +#ifdef ENABLE_68K_DEBUGGER uint32_t next_addr_68k; +#endif bool cmd_repeat; unique_ptr ofnvram = unique_ptr(new OfConfigUtils); diff --git a/devices/common/ata/atahd.h b/devices/common/ata/atahd.h index 5d698c1..07a7ee7 100644 --- a/devices/common/ata/atahd.h +++ b/devices/common/ata/atahd.h @@ -71,7 +71,7 @@ private: char * buffer = new char[1 <<17]; - uint8_t hd_id_data[ATA_HD_SEC_SIZE] = {}; + //uint8_t hd_id_data[ATA_HD_SEC_SIZE] = {}; }; #endif // ATA_HARD_DISK_H diff --git a/devices/common/scsi/scsihd.cpp b/devices/common/scsi/scsihd.cpp index e4f063a..9e2b7fe 100644 --- a/devices/common/scsi/scsihd.cpp +++ b/devices/common/scsi/scsihd.cpp @@ -205,7 +205,7 @@ int ScsiHardDisk::req_sense(uint16_t alloc_len) { //if (!check_lun()) // return; - int next_phase; + //int next_phase; int lun; if (this->last_selection_has_atention) {