Commit graph

28 commits

Author SHA1 Message Date
Tony Wasserka
7b6a7d7dfb Pica/GPU: Change hardware registers to use physical addresses rather than 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-12 13:32:56 +02:00
bunnei
882dc07929 Memory: Removed deprecated MapBlock_Shared function. 2014-07-05 10:24:54 -04:00
bunnei
3013015a0c mem_map: Updated interface to expose template functions to other modules. 2014-07-04 23:46:16 -04:00
bunnei
6aebd4ac98 MemMap: Added a WriteBlock function to write a buffer of data to memory. 2014-06-24 19:30:08 -04:00
bunnei
4910b6f336 added memory mapped region for system mem - sdk demos load a segment here on ELF load 2014-05-15 18:56:28 -04:00
bunnei
f23e99bb85 added kernel memory to mem_map 2014-05-07 21:01:09 -04:00
bunnei
a3a383cb7a added mem_map read for config_mem 2014-05-06 23:32:04 -04:00
bunnei
924e7b6af8 fixed a bug where ExeFs code was being incorrectly masked 2014-04-30 23:31:04 -04:00
bunnei
235dddb3f1 added virtual memory map for ExeFS (where ARM11 code is supposed to be loaded) 2014-04-30 18:31:35 -04:00
bunnei
c37390f8e2 reorganized memory regions enum, added regions for ExeFS code 2014-04-30 18:31:24 -04:00
bunnei
af921daa4c added virtual address conversion for firmware FW0B 2014-04-27 22:32:51 -04:00
bunnei
b2a6ad52f4 added helper functions to mem_map to convert physical addresses to virtual addresses 2014-04-27 12:40:31 -04:00
bunnei
f78794961e - changed HW IO map to use virtual addresses
- added hooks to catch LCD IO read/writes
2014-04-26 14:21:40 -04:00
bunnei
86a515e5ac added vram to memory_map 2014-04-26 01:27:25 -04:00
bunnei
890c7261d2 - added preliminary support for svc_MapMemoryBlock
- added shared memory region
- moarrrr cleanups to memory_map
2014-04-24 23:56:06 -04:00
bunnei
b7cd4c9e90 added functions to map Heap and Shared memory space 2014-04-24 22:32:26 -04:00
bunnei
b2baafaf8b added GSP heap memory allocation 2014-04-17 23:05:31 -04:00
bunnei
fb026f6b46 moved enums into Memory:: namespace 2014-04-17 21:19:32 -04:00
bunnei
a9dba388eb added memory read/write to GSP heap 2014-04-17 21:15:40 -04:00
bunnei
09ffe87360 more various refactors to memory interface 2014-04-17 21:05:34 -04:00
bunnei
ae99574b6d cleaned up memory interfaces a lot, removed some hackish stuff 2014-04-17 18:40:42 -04:00
bunnei
ce822b6815 replace tabs with spaces 2014-04-13 00:39:05 -04:00
bunnei
6f6d5158de added OS memory read/write for thread command buffer 2014-04-12 23:31:39 -04:00
bunnei
68e198476f - added HLE to connect to "srv:" service
- added a manager for keeping track of services/ports
- added a memory mapped region for memory accessed by HLE
- added HLE for GetThreadCommandBuffer function
2014-04-12 21:55:36 -04:00
bunnei
9a9b7b289a added a memory mapped option for HLE 2014-04-12 01:33:13 -04:00
bunnei
d9bb4f11c6 added Memory::GetCharPointer to read strings from HLE functions 2014-04-10 19:56:30 -04:00
bunnei
de0a034a84 fixed project includes to use new directory structure 2014-04-08 20:15:08 -04:00
bunnei
63e46abdb8 got rid of 'src' folders in each sub-project 2014-04-08 19:25:03 -04:00
Renamed from src/core/src/mem_map.h (Browse further)