Yuri Kunde Schlesner
d16c2bd956
Thread: Correctly set main thread initial stack position
11 years ago
Subv
115ad8e16a
fixup! Set the TLS address in the scheduler
11 years ago
Subv
000876858d
Core/Memory: Give every emulated thread it's own TLS area.
The TLS area for thread T with id Ti is located at TLS_AREA_VADDR + (Ti - 1) * 0x200.
This allows some games like Mario Kart 7 to continue further.
11 years ago
Yuri Kunde Schlesner
fd85367621
fixup! GSP: Small tweaks to shared memory initialization
11 years ago
Yuri Kunde Schlesner
1538a34eda
GSP: Small tweaks to shared memory initialization
11 years ago
Yuri Kunde Schlesner
774eea8374
Kernel: Zero-fill shared memory blocks when mapping
This works around crashes related to GSP/HID/etc. shared memory blocks
having garbage values. The proper fix requires proper management of
mapped memory blocks in the process.
11 years ago
Yuri Kunde Schlesner
c96f22490a
Kernel: Capture SharedMemory attributes at creation, not when mapping
11 years ago
Yuri Kunde Schlesner
b700b55696
Common: Remove the BIT macro
When the macro was introduced in 326ec51261
it wasn't noticed that it conflicted in name with a heavily used macro
inside of dyncom. This causes some compiler warnings. Since it's only
lightly used, it was opted to simply remove the new macro.
11 years ago
Yuri Kunde Schlesner
417c867e14
Loader: Add missing include
11 years ago
Yuri Kunde Schlesner
17a8cae003
Memory: Add GetPhysicalPointer helper function
11 years ago
Yuri Kunde Schlesner
28a9e4c1d5
Memory: Support more regions in the VAddr-PAddr translation functions
Also adds better documentation and removes the one-off reimplementation
of the function in pica.h.
11 years ago
Yuri Kunde Schlesner
e7b6ed7578
Memory: Sort memory region variables by VAddr
11 years ago
Yuri Kunde Schlesner
1c0b87edc2
Memory: Re-organize and rename memory area address constants
11 years ago
Yuri Kunde Schlesner
eb3eb9f75d
Loader: Remove .bin file support
It is of very limited practical utility currently, and will soon be
impossible to support due to more accurate memory map emulation.
11 years ago
Yuri Kunde Schlesner
7c50b999fa
Kernel: Remove unused g_main_thread variable
11 years ago
Yuri Kunde Schlesner
3cb19c9589
Process: Rename StaticAddressMapping => AddressMapping
11 years ago
Yuri Kunde Schlesner
83ccf85bb2
Process: Add more documentation to the class members
11 years ago
Yuri Kunde Schlesner
2f5904611d
Process: Use BitField to store process flags
11 years ago
Yuri Kunde Schlesner
7eb413155f
Loader/NCCH: Fix formatting of braces
11 years ago
Yuri Kunde Schlesner
2af30d465f
Process: Support parsing of exheader kernel caps
11 years ago
Yuri Kunde Schlesner
a5eba2f984
Kernel: Remove g_program_id
This has been obsoleted by the field in Process.
11 years ago
Yuri Kunde Schlesner
6d60acf0f1
Kernel: Introduce skeleton Process class to hold process data
11 years ago
Yuri Kunde Schlesner
0f39cc359b
Core: Fix sorting in CMakeFiles.txt
11 years ago
Lioncash
ae0c38a333
Remove unnecessary dyncom header files
11 years ago
Lioncash
31dc8b8890
dyncom: Remove an unnecessary variable in the interpreter
All this was doing was needlessly aliasing a variable.
11 years ago
Yuri Kunde Schlesner
3396f352cb
Common: Remove mem_arena.cpp/h
It is superfluous for Citra. (It's only really necessary if you're doing
JIT. We were using it but not taking any advantage from it.) This should
make 32-bit builds work again.
11 years ago
Yuri Kunde Schlesner
c956e8a686
Fix printf format warning
11 years ago
Yuri Kunde Schlesner
e1fbac3ca1
Common: Remove common.h
11 years ago
Yuri Kunde Schlesner
c0eaa662d4
Clean-up includes
11 years ago
Yuri Kunde Schlesner
b89f644cfe
FileSys: De-inline Path members
11 years ago
Yuri Kunde Schlesner
6f89d25f90
FileSys: Clean-up includes, de-inline destructors
11 years ago
Yuri Kunde Schlesner
c916bcf7b5
Move typedefs from kernel.h to more appropriate places
11 years ago
Yuri Kunde Schlesner
ecff2351a1
HLE: Clean up SVC dispatch mechanism
11 years ago
Yuri Kunde Schlesner
0749687b8d
Core: Remove some unused functions and types
11 years ago
bunnei
5a855bdb2f
CoreTiming: Initialize static variables at bootup.
11 years ago
bunnei
d3c2f9a4a4
HLE: Properly initialize and shutdown remaining modules.
11 years ago
bunnei
bab5abaf46
Dyncom: Move cream cache to ARMul_State.
11 years ago
bunnei
c7dc799e19
Kernel: Properly initialize and shutdown all modules.
11 years ago
bunnei
57aaaf92db
HW: Properly initialize and shutdown all modules.
11 years ago
bunnei
e0cb85691a
Services: Initialize all state variables at bootup.
11 years ago
bunnei
bbabed8e98
Memory: Properly cleanup & shutdown.
11 years ago
purpasmart96
8716445621
ConfigMem: Remove duplicate retail bit
11 years ago
purpasmart96
c3a480160e
Services/Loader: Use more sensible log formats for certain functions
along with more info being logged.
11 years ago
Lioncash
1baab50e7c
ptm_sysm: Add static specifier to IsLegacyPowerOff
11 years ago
Lioncash
8b2b620a5e
dyncom: Remove more unused/unnecessary code
Gets rid of a sizeable amount of stuff in armdefs.
11 years ago
Lioncash
d66a12c6f6
dyncom: Remove unused/unnecessary VFP cruft
11 years ago
Emmanuel Gil Peyrot
2e860bd59c
Core_ARM11: Replace debug prints with our own logging functions in vfpsingle.
11 years ago
Emmanuel Gil Peyrot
0d69b2f7bd
Kernel: Use the correct format string for u64 hex.
11 years ago
Emmanuel Gil Peyrot
bdcf28e3bc
Headers: Add some forgotten overrides, thanks clang!
11 years ago
Yuri Kunde Schlesner
ad3e25b414
De-inline functions from Interface, removing them from service.h
This reduces the time for a full recompile from 65.43s to 59.53s (~9%)
11 years ago