wwylele
8b25c12ce8
implement wait tree widget
10 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
Yuri Kunde Schlesner
1e4a5da9f4
Manually tweak source formatting and then re-run clang-format
9 years ago
Emmanuel Gil Peyrot
628ed4376a
Sources: Run clang-format on everything.
9 years ago
bunnei
acdc361fc0
arm: ResetContext shouldn't be part of ARM_Interface.
9 years ago
Lectem
7df4925923
fix #1942 and adds a few IPC functions for descriptors
10 years ago
Subv
a350b5274f
Kernel/SVC: Implemented svcCreatePort.
10 years ago
Subv
d5f8d90e34
Kernel: Added ClientPort and ServerPort classes.
This is part of an ongoing effort to implement support for multiple processes.
10 years ago
wwylele
1cef298ca9
Thread: update timeout when rerunning WaitSynch
10 years ago
mailwl
1aceb1b912
Fix parameter name in EnableNotification
10 years ago
wwylele
5e5f9b099a
Switch context on the same thread if necessary
10 years ago
MerryMage
1d3892255d
Memory: Added necessary headers and removed unnecessary header
10 years ago
MerryMage
0352176f4c
Kernel/Thread: Remove use of Memory::GetPointer
10 years ago
Jannik Vogel
f39adfffe7
Set fpscr for new threads
10 years ago
Subv
057cc2f94f
Memory: Fixed a regression caused by #1695 and #1689 .
Reserve enough space in the vector that holds the linear heap memory to prevent relocations of the backing memory when growing too much.
Closes #1790
10 years ago
Subv
3421ea5445
HLE/Applets: Give each applet its own block of heap memory, and use that when creating the framebuffer shared memory block.
10 years ago
Subv
d6c25acc6e
Kernel: Account for automatically-allocated shared memories in the amount of used linear heap memory.
10 years ago
Subv
d6223cfecd
Kernel/SharedMemory: Log an error when Map fails.
10 years ago
Subv
54871800a9
Kernel: Implemented shared memory permissions.
10 years ago
Subv
6e4ff1a857
Kernel/Memory: Remove the Shared Memory region from the legacy memory map.
10 years ago
Subv
b53900a6ab
Kernel/SharedMemory: Properly implemented shared memory support.
Applications can request the kernel to allocate a piece of the linear heap for them when creating a shared memory object.
Shared memory areas are now properly mapped into the target processes when calling svcMapMemoryBlock.
Removed the APT Shared Font hack as it is no longer needed.
10 years ago
Subv
b2c771eed7
Kernel/SVC: Fixed the register order for svcCreateMemoryBlock.
R0 is used as the last parameter instead of R4.
10 years ago
Subv
bfee7941e3
Kernel/Threading: Warn when a thread can be scheduled in the Syscore (Core 1).
We do not currently implement any cores other than the AppCore (Core 0).
10 years ago
Subv
d9baef11f2
Kernel/Threads: Dynamically allocate the TLS region for threads in the BASE region of the linear heap.
Each thread gets a 0x200-byte area from the 0x1000-sized page, when all 8 thread slots in a single page are used up, the kernel allocates a new page to hold another 8 entries.
This is consistent with what the real kernel does.
10 years ago
MerryMage
9f9c987924
Common: Remove Common::make_unique, use std::make_unique
10 years ago
Lioncash
29135ab8d1
session: Make helper functions constexpr
10 years ago
Lioncash
76f892ebb9
hle: Get rid of global access to g_reschedule
This shouldn't be directly exposed if there's already a partial API that operates on it.
We can just provide the rest of that API.
10 years ago
Lioncash
bc06a2c79e
svc: Move ResetType enum to the kernel event header
10 years ago
Lioncash
219ecd2ee7
svc: Make ResetType an enum class
10 years ago
Yuri Kunde Schlesner
46dc35ae20
Memory: Do correct Phys->Virt address translation for non-APP linheap
10 years ago
MerryMage
d2710b784a
AudioCore: Skeleton Implementation
This commit:
* Adds a new subproject, audio_core.
* Defines structures that exist in DSP shared memory.
* Hooks up various other parts of the emulator into audio core.
This sets the foundation for a later HLE DSP implementation.
10 years ago
MerryMage
867c111e99
BitField: Make trivially copyable and remove assignment operator
10 years ago
MerryMage
e614492dca
Memory: Implement MMIO
10 years ago
Subv
d9c4c1622f
HLE/SVC: Implement UnmapMemoryBlock.
This implementation will need to be (almost completely) changed when we implement multiprocess support.
10 years ago
Subv
9aa852982f
HLE/Timers: Reset OneShot timers when they are acquired instead of when they're triggered.
Closes #1139
10 years ago
Subv
a2c2b28b54
SVC: Fixed ArbitrateAddress to behave as it does on hardware.
This was verified with hwtests that i plan to upload later on.
10 years ago
Yuri Kunde Schlesner
5bed732b03
Kernel: Implement svcGetSystemInfo
This makes smealum/ctrulib@b96dd51d3349961189d4ab1bc2a5c45deff21c09 work
with Citra.
10 years ago
Rohit Nirmal
c157d4ddd6
Silence -Wsign-compare warnings.
10 years ago
Lioncash
08147474cb
general: Silence some warnings when using clang
10 years ago
Lioncash
54fa043c92
General: Fix up doxygen comments
10 years ago
Yuri Kunde Schlesner
6bef26d764
Kernel: Fix wrong linear heap base on titles using newer kernels
Typo which sneaked in through review on #1025
11 years ago
Yuri Kunde Schlesner
990ff3f241
Kernel: Fix assertion failure when ControlMemory is called with size=0
11 years ago
Yuri Kunde Schlesner
b9b540a222
Core: Improve APT Shared Font hack
Should fix invalid read loops in some games
11 years ago
Yuri Kunde Schlesner
984bea6698
Kernel: Remove unused legacy heap MapBlock_* functions
11 years ago
Yuri Kunde Schlesner
00e9d19f28
Kernel: Implement svcGetProcessInfo in a basic way
This also adds some basic memory usage accounting. These two types are
used by Super Smash Bros. during startup.
11 years ago
Yuri Kunde Schlesner
e34643a3e4
Kernel: Add more infrastructure to support different memory layouts
This adds some structures necessary to support multiple memory regions
in the future. It also adds support for different system memory types
and the new linear heap mapping at 0x30000000.
11 years ago
Yuri Kunde Schlesner
6bb23baf0a
Move core/mem_map.{cpp,h} => core/hle/kernel/memory.{cpp,h}
11 years ago
Yuri Kunde Schlesner
168d376c67
Memory: Move address type conversion routines to memory.cpp/h
These helpers aren't really part of the kernel, and mem_map.cpp/h is
going to be moved there next.
11 years ago
Yuri Kunde Schlesner
521cb56792
Process: Store kernel compatibility version during loading
11 years ago