summaryrefslogtreecommitdiffstatshomepage
path: root/src/emu/divtlb.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Apply logical address mask properly in debug disassembly view AJR2018-08-241-4/+4
| | | | | | Associated core changes (nw) - Move definition of address_space_config from dimemory.cpp to emumem.cpp (declaration was already in emumem.h) - Add getters for more members of address_space_config with future privatization in mind (nw)
* (nw) srcclean and some cleanup: Vas Crabb2018-07-221-14/+14
| | | | | | * Make more #include guards follow standard format - using MAME_ as the prefix makes it easy to see which ones come from our code in a preprocessor dump, and having both src/devices/machine/foo.h and src/mame/machine/foo.h causes issues anyway * Get #include "emu.h" out of headers - it should only be the first thing in a complilation unit or we get differences in behaviour with PCH on/off * Add out-of-line destructors to some devices - it forces the compiler to instantiate the vtable in a certain location and avoids some non-deterministic compiler behaviours
* Fix divtlb crash, nw mooglyguy2018-07-051-3/+9
|
* -ps2sony: Fleshing out the skeleton driver. [Ryan Holtz] mooglyguy2018-06-281-7/+16
| | | | | | | | | | | | | * Added ps2timer device to encapsulate Playstation 2 timers. * Temporarily hacked R5900 core to always have scratchpad RAM mapped at 0x70000000. * Added reference counting to divtlb so that it does not unmap pages that are still shared with other entries. * Added a considerable amount of logging to ps2sony.cpp. -mips3: Added basic Emotion Engine support. [Ryan Holtz] * Added S bit to TLB mapping. * Added support for VSUB, VIADD, VSQI, VISWR, VOR, LQ, SQ, MFSA, MTSA, MFHI1, MFLO1, MULT1, DIV1, DIVU1, PEXTLW, PADDUW, PMFHI, PMFLO, PCPYLD, PCPYUD, SQC2, LQC2 opcodes. [Ryan Holtz]
* This is too contentious, please put it up for review Vas Crabb2017-08-011-2/+3
| | | | | | Revert "Changes to debugger memory address translation" This reverts commit bb0964f9a284b15851773f5428bd602ca01cc28b.
* Changes to debugger memory address translation AJR2017-08-011-3/+2
| | | | | | - memory_translate now returns an address space number rather a boolean flag, permitting addresses in part of one space to map to an entirely different space. This is primarily intended to help MCUs which have blocks of internal memory that can be dynamically remapped, but may also allow for more accurate emulation of MMUs that drive multiple external address spaces, since the old limit of four address spaces per MAME device has been lifted. - memory_translate has also been made a const method, in spite of a couple of badly behaved CPU cores that can't honestly treat it as one. - The (read|write)_(byte|word|dword|qword|memory|opcode) accessors have been transferred from debugger_cpu to device_memory_interface, with somewhat modified arguments corresponding to the translate function it calls through to if requested.
* dimemory: Lift the cap on the number of address spaces per device [O. Galibert] Olivier Galibert2017-07-031-1/+1
|
* Introduce u8/u16/u32/u64/s8/s16/s32/s64 Vas Crabb2016-11-191-1/+1
| | | | | | | | | | | | * New abbreviated types are in osd and util namespaces, and also in global namespace for things that #include "emu.h" * Get rid of import of cstdint types to global namespace (C99 does this anyway) * Remove the cstdint types from everything in emu * Get rid of U64/S64 macros * Fix a bug in dps16 caused by incorrect use of macro * Fix debugcon not checking for "do " prefix case-insensitively * Fix a lot of messed up tabulation * More constexpr * Fix up many __names
* more TRUE/FALSE cleanup (nw) Miodrag Milanovic2016-10-221-4/+4
|
* NOTICE (TYPE NAME CONSOLIDATION) Miodrag Milanovic2016-10-221-1/+1
| | | | | Use standard uint64_t, uint32_t, uint16_t or uint8_t instead of UINT64, UINT32, UINT16 or UINT8 also use standard int64_t, int32_t, int16_t or int8_t instead of INT64, INT32, INT16 or INT8
* divtlb.cpp: strore address of elemtnt 0 of m_table and return it in ↵ yz70s2016-08-221-2/+5
| | | | vtlb_table, with this in debug mode i386 is 1.7 times faster (nw)
* Validity checking improvements AJR2016-07-271-1/+0
| | | | | | | - Always print the name of each driver checked with -validate -verbose, and print before beginning the check to help detect crashes - Fix already_checked test so that softlists get validated the first time, not every time but the first - Remove #include "validity.h" where not required (nw) - attotime::from_double cannot be constexpr because it uses floor (nw)
* Make generic VTLB implementation a modern device interface (nw) AJR2016-02-071-186/+217
|
* Renaming (nw) AJR2016-02-071-0/+310