Lioncash
26e2e7b657
kernel/vm_manager: Use the VAddr type alias in CarveVMA()
These two variables correspond to address ranges.
8 years ago
Lioncash
81bf614695
vm_manager: Add missing commas to string literal array elements in GetMemoryStateName()
Without these, this would perform concatenation, which is definitely not
what we want here.
8 years ago
Lioncash
b1b1c60009
core/memory, core/hle/kernel: Use std::move where applicable
Avoids pointless copies
8 years ago
James Rowe
d74d2a77cb
Update clang format
8 years ago
James Rowe
e159c550d8
Rename logging macro back to LOG_*
8 years ago
bunnei
44c565aeca
core: Implement multicore support.
8 years ago
Lioncash
1b310cbb3a
general: Make formatting of logged hex values more straightforward
This makes the formatting expectations more obvious (e.g. any zero padding specified
is padding that's entirely dedicated to the value being printed, not any pretty-printing
that also gets tacked on).
8 years ago
Lioncash
44d2f427d4
core: Replace usages of LOG_GENERIC with new fmt-capable equivalents
8 years ago
Lioncash
324ee31fc3
general: Convert assertion macros over to be fmt-compatible
8 years ago
Lioncash
bd9414dd31
kernel: Migrate logging macros to fmt-compatible ones
8 years ago
bunnei
3260473ce8
vm_manager: Increase GetTotalMemoryUsage value.
- Gets Binding of Isaac running.
8 years ago
bunnei
256153c50c
arm_interface: Support unmapping previously mapped memory.
8 years ago
bunnei
a0b00fe2d1
svc: Use more correct values for GetInfo MapRegion and NewMapRegion.
8 years ago
bunnei
29bda49fc0
MemoryState: Add additional memory states and improve naming.
8 years ago
Lioncash
a708fd7a6d
vm_manager: Silence formatting specifier warnings
8 years ago
MerryMage
7a23a53396
memory: Replace all memory hooking with Special regions
8 years ago
bunnei
94483465ad
svc: Fix svcGetInfo MapRegionBaseAddr.
8 years ago
David Marcec
eb1ddebb18
Added more svcGetInfo pairs
8 years ago
MerryMage
41bfd994f6
clang-format
8 years ago
bunnei
6a6de01d43
vm_manager: Stub out a bunch of interfaces used by svcGetInfo.
8 years ago
bunnei
e5731e94d6
core: Various changes to support 64-bit addressing.
8 years ago
Subv
36100ec791
Kernel/Memory: Give each Process its own page table.
The loader is in charge of setting the newly created process's page table as the main one during the loading process.
9 years ago
Yuri Kunde Schlesner
467545ed48
Kernel: Centralize error definitions in errors.h
9 years ago
Yuri Kunde Schlesner
fa5d9d8266
Use negative priorities to avoid special-casing the self-include
9 years ago
Emmanuel Gil Peyrot
1138ec0d49
Remove empty newlines in #include blocks.
This makes clang-format useful on those.
Also add a bunch of forgotten transitive includes, which otherwise
prevented compilation.
9 years ago
Emmanuel Gil Peyrot
628ed4376a
Sources: Run clang-format on everything.
9 years ago
MerryMage
1d3892255d
Memory: Added necessary headers and removed unnecessary header
10 years ago
MerryMage
e614492dca
Memory: Implement MMIO
10 years ago
Yuri Kunde Schlesner
8850ade24d
Kernel: Properly implement ControlMemory FREE and COMMIT
11 years ago
Yuri Kunde Schlesner
ce332ef416
VMManager: Introduce names for used ResultCodes
11 years ago
Yuri Kunde Schlesner
f287e6dff4
VMManager: Make LogLayout log level configurable as a parameter
11 years ago
Yuri Kunde Schlesner
c31e812624
VMManager: Change block offsets to size_t
11 years ago
Yuri Kunde Schlesner
5c5cf2f8e0
Core: Properly configure address space when loading a binary
The code now properly configures the process image to match the loaded
binary segments (code, rodata, data) instead of just blindly allocating
a large chunk of dummy memory.
11 years ago
Emmanuel Gil Peyrot
aea15f5c73
Core: Cleanup core includes.
11 years ago
Yuri Kunde Schlesner
0a60aa75c2
Kernel: Add VMManager to manage process address spaces
This enables more dynamic management of the process address space,
compared to just directly configuring the page table for major areas.
This will serve as the foundation upon which the rest of the Kernel
memory management functions will be built.
11 years ago