Commit Graph

676 Commits (d0ce9d58f6607fd0d7cc1ed685d01cc1f55b0839)

Author SHA1 Message Date
Yuri Kunde Schlesner e321decf98 Remove SyncRequest from K::Object and create a new K::Session type
This is a first step at fixing the conceptual insanity that is our
handling of service and IPC calls. For now, interfaces still directly
derived from Session because we don't have the infrastructure to do it
properly. (That is, Processes and scheduling them.)
10 years ago
bunnei 1ee740898a Merge pull request #276 from lioncash/decrappify
Clean up armdefs.h a little.
10 years ago
bunnei 17b4d6747a Merge pull request #246 from Subv/cbranch_1
SVC: Implemented Semaphores
10 years ago
bunnei 2cac148ff3 Merge pull request #273 from bunnei/more-skyeye-fixes
ARM: Pull some SkyEye fixes from 3dmoo.
10 years ago
bunnei d26b7146ce ARM: Pull some SkyEye fixes from 3dmoo. 10 years ago
Lioncash f6cb8c1927 Clean up armdefs.h 10 years ago
Subv 1051795c32 Kernel/Semaphores: Fixed build 10 years ago
Subv ea95876431 Kernel/Semaphore: Small style change 10 years ago
Subv effb181888 Kernel/Semaphores: Invert the available count checking.
Same semantics, idea by @yuriks
10 years ago
Subv 5e25986235 Kernel/Semaphores: Addressed some issues. 10 years ago
Subv cc81a510e3 Semaphore: Removed an unneeded function 10 years ago
Subv 61434651d8 Semaphores: Addressed some style issues 10 years ago
Subv abff4a7ee2 Semaphore: Implemented the initial_count parameter. 10 years ago
Subv 49b31badba SVC: Implemented ReleaseSemaphore.
This behavior was tested on hardware, however i'm still not sure what use the "initial_count" parameter has
10 years ago
Subv 82c84883a5 SVC: Implemented svcCreateSemaphore
ToDo: Implement svcReleaseSemaphore
* Some testing against hardware needed
10 years ago
Lioncash cfc0ee9c60 kernel: Remove unused log arguments 10 years ago
Yuri Kunde Schlesner 0e0a007a25 Add configurable per-class log filtering 10 years ago
Yuri Kunde Schlesner 0600e2d8b5 Convert old logging calls to new logging macros 10 years ago
Yuri Kunde Schlesner 616d874443 New logging system 10 years ago
bunnei a6791e4fc7 Merge pull request #267 from bunnei/apt-shared-font
APT shared font loading
10 years ago
bunnei 6fe61d3deb APT_U: Added GetSharedFont service function. 10 years ago
bunnei 988998cca5 DSP: Added stub for ReadPipeIfPossible. 10 years ago
bunnei 4cb7a44d4e MemMap: Renamed "GSP" heap to "linear", as this is not specific to GSP.
- 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).
10 years ago
bunnei 3a75c8069e Merge pull request #256 from Subv/mutex
Kernel/Mutex: Properly lock the mutex when a thread enters it
10 years ago
Emmanuel Gil Peyrot 5a3b1b5f44 CFG:U: Store country codes as u16 instead of char pointers, and return the correct error in GetCountryCodeID. 10 years ago
bunnei f94d8f9603 GSP: Trigger GPU interrupts at more accurate locations. 10 years ago
bunnei e90b37b935 GSP: Updated TriggerCmdReqQueue to return success code. 10 years ago
bunnei 3e1654eaa8 GSP: Updated RegisterInterruptRelayQueue to return expected magic number. 10 years ago
bunnei 170123982d GPU: Fixed bug in command list size decoding. 10 years ago
Yuri Kunde Schlesner 521e1cb7e0 Remove unused NDMA module 10 years ago
bunnei b7327f807c Merge pull request #217 from archshift/cmd_buff
Log the cmd_buff arguments when citra comes across an unimplemented function
10 years ago
bunnei dd203f7068 Thread: Fixed to wait on address when in arbitration. 10 years ago
bunnei a6bf3fd613 Merge pull request #244 from bunnei/cleanup-memmap
MemMap: Updated memory map to subtract base address instead of mask.
10 years ago
bunnei f1ec1a0d2c Merge pull request #263 from lioncash/sasx
Fix emulation of SASX and SSAX instructions.
10 years ago
bunnei ff560a9428 Merge pull request #259 from ichfly/master
Loader: Add 3DSX support
10 years ago
bunnei 1f4953e1bb Merge pull request #264 from Subv/files
Kernel/File: Fixed file read/write hwtests
10 years ago
bunnei 72ad73519c Merge pull request #260 from archshift/opendir
Make OpenDirectory fail if the directory doesn't exist
10 years ago
Subv 1d1078fd8b Kernel/File: Fixed file read/write hwtests
The 3DS allows the user to read from files opened with the Write access modifier, even if he did not specify the Read access modifier.

Open the files in binary mode so that we can prevent CR/LF problems in Windows, where a line-end is replaced by these two bytes instead of just 0xA, this was causing problems with the GetSize test
10 years ago
Lioncash 905e3b616a armemu: Fix SSAX 10 years ago
ichfly 1aa969741d Loader: Add 3DSX support 10 years ago
Lioncash 62fd564854 armemu: Fix SASX 10 years ago
Lioncash b4256431aa armemu: Fix parenthesis warnings regarding bitwise ops 10 years ago
archshift 20d2ed0950 Make OpenDirectory fail if the directory doesn't exist
This is in line with what the hardware itself does.

It does this by splitting the initial directory opening into Directory.Open(), which will return false if a stat fails.
Then, Archive::OpenDirectory will return nullptr, and archive.cpp will return an error code .
10 years ago
Subv bc318c464b Mutex: Remove some forward declarations
Moved Mutex::WaitSynchronization to the end of the file.
10 years ago
Subv 64128aa61a Mutex: Release all held mutexes when a thread exits. 10 years ago
bunnei 2aa2d341d0 Merge pull request #245 from rohit-n/null-nullptr
Change NULLs to nullptrs.
10 years ago
Subv e3c8e4901c Mutex: Properly lock the mutex when a thread enters it
Also resume only the next immediate thread waiting for the mutex when it is released, instead of resuming them all.
10 years ago
bunnei 17fae11fc7 Merge pull request #250 from Subv/cbranch_2
SVC: Implemented GetThreadId.
10 years ago
bunnei 5056329a80 Merge pull request #222 from archshift/renamexyz
Implemented RenameFile and RenameDirectory in FS:USER
10 years ago
bunnei 21d183e1e6 Merge pull request #248 from lioncash/kernel
Misc minor kernel-related changes.
10 years ago