aboutsummaryrefslogtreecommitdiff
path: root/src/core/mem_map_funcs.cpp
AgeCommit message (Collapse)Author
2015-05-15Memmap: Re-organize memory function in two filesYuri Kunde Schlesner
memory.cpp/h contains definitions related to acessing memory and configuring the address space mem_map.cpp/h contains higher-level definitions related to configuring the address space accoording to the kernel and allocating memory.
2015-05-15Memmap: Remove unused declarationsYuri Kunde Schlesner
2015-05-09Memory: Support more regions in the VAddr-PAddr translation functionsYuri Kunde Schlesner
Also adds better documentation and removes the one-off reimplementation of the function in pica.h.
2015-05-09Memory: Re-organize and rename memory area address constantsYuri Kunde Schlesner
2015-05-07Common: Remove common.hYuri Kunde Schlesner
2015-05-01Memory: Properly cleanup & shutdown.bunnei
2015-04-05Clean-up mem_map constants and fix framebuffer translation errorsYuri Kunde Schlesner
2015-03-17dyncom: Make Load/Store instructions support big endianLioncash
2015-02-21Cleaned up unaligned access.Kevin Hartman
2015-02-10Asserts: break/crash program, fit to style guide; log.h->assert.harchshift
Involves making asserts use printf instead of the log functions (log functions are asynchronous and, as such, the log won't be printed in time) As such, the log type argument was removed (printf obviously can't use it, and it's made obsolete by the file and line printing) Also removed some GEKKO cruft.
2015-01-15Add some support for the shared page (currently 3d slider is implemented)Zhuowei Zhang
2014-12-29MemMap: Add support for DSP Read & Writes in the memory mappurpasmart96
2014-12-29Merge pull request #253 from purpasmart96/mem_mapbunnei
MemMap: Removed I/O address's and added more stuff
2014-12-20License changepurpasmart96
2014-12-13MemMap: Added AXI_WRAM & SHARED_PAGE along with other stuffpurpasmart96
Got rid of I/O address's since the I/O addresses range's overlap with other address's types such as vram, these I/O addresses need to be done in an different way.
2014-12-13Convert old logging calls to new logging macrosYuri Kunde Schlesner
2014-12-12MemMap: Renamed "GSP" heap to "linear", as this is not specific to GSP.bunnei
- Linear simply indicates that the mapped physical address is always MappedVAddr+0x0C000000, thus this memory can be used for hardware devices' DMA (such as the GPU).
2014-12-03MemMap: Updated memory map to subtract base address instead of mask.bunnei
- More readable, a little less error prone. Conflicts: src/core/mem_map.h src/core/mem_map_funcs.cpp
2014-11-27Fixed formatting and switch statement warningsvaguilar
2014-11-18Add static to some variablesLioncash
2014-09-28Fix warnings in core and commonLioncash
2014-09-08core: Prune redundant includesarchshift
2014-08-31Introduce VAddr and PAddr typedefs for ARM addresses.Yuri Kunde Schlesner
2014-08-17Core: Fix undefined behavior in mem_map_funcs' WriteBlock functionLioncash
2014-08-12Pica/GPU: Change hardware registers to use physical addresses rather than ↵Tony Wasserka
virtual ones. This cleans up the mess that address reading/writing had become and makes the code a *lot* more sensible. This adds a physical<->virtual address converter to mem_map.h. For further accuracy, we will want to properly extend this to support a wider range of address regions. For now, this makes simply homebrew applications work in a good manner though.
2014-08-05MemMap: Fixed typo with GetPointer to VRAM address.bunnei
2014-08-05MemMap: Added an error for unaligned 16-bit memory reads.bunnei
2014-08-05MemMap: Removed Read64 function.bunnei
- Unused code - Was not correct for unaligned memory reads
2014-08-05MemMap: Fix Read32 for unaligned memory reads.bunnei
MemMap: Cleaned up Read32 unaligned memory access.
2014-07-05Memory: Removed deprecated MapBlock_Shared function.bunnei
2014-07-04mem_map: Updated interface to expose template functions to other modules.bunnei
2014-06-24MemMap: Added a WriteBlock function to write a buffer of data to memory.bunnei
2014-05-29hle: cleaned up log messagesbunnei
2014-05-15added memory mapped region for system mem - sdk demos load a segment here on ↵bunnei
ELF load
2014-05-07- removed HLE mem "hack" and replaced with kernel mem regionbunnei
- added a helper function for getting command buffer for services - fixed bug where GSP DMA was incorrectly being done in DataSynchronizationBarrier (instead of gsp_TriggerCmdReqQueue)
2014-05-06added mem_map read for config_membunnei
2014-04-30added virtual memory map for ExeFS (where ARM11 code is supposed to be loaded)bunnei
2014-04-30reorganized memory regions enum, added regions for ExeFS codebunnei
2014-04-27added virtual address conversion for firmware FW0Bbunnei
2014-04-27added helper functions to mem_map to convert physical addresses to virtual ↵bunnei
addresses
2014-04-26- changed HW IO map to use virtual addressesbunnei
- added hooks to catch LCD IO read/writes
2014-04-26added vram to memory_mapbunnei
2014-04-25removed some cruftbunnei
2014-04-24- added preliminary support for svc_MapMemoryBlockbunnei
- added shared memory region - moarrrr cleanups to memory_map
2014-04-24added functions to map Heap and Shared memory spacebunnei
2014-04-17added GSP heap memory allocationbunnei
2014-04-17fixed bug in Memory::GetPointerbunnei
2014-04-17added memory read/write to GSP heapbunnei
2014-04-17more various refactors to memory interfacebunnei
2014-04-17cleaned up memory interfaces a lot, removed some hackish stuffbunnei