aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/hle/svc.cpp
Commit message (Collapse)AuthorAge
* Merge pull request #888 from zawata/Warning-Fixes-2Gravatar Yuri Kunde Schlesner2015-07-25
|\ | | | | Core\HLE : Fix Warning
* | dyncom: Pass SVC immediates directly.Gravatar Lioncash2015-07-21
| | | | | | | | Previously it would just re-read the already decoded instruction and extract the immediate value.
* | Kernel/SVC: Implemented svcQueryProcessMemoryGravatar Subv2015-07-17
| |
* | Kernel/SVC: Implemented svcQueryMemory.Gravatar Subv2015-07-17
| |
| * Core\HLE : Fix WarningGravatar zawata2015-07-17
|/ | | | "signed/unsigned mismatch"
* kernel: Fix svcWaitSynch to always acquire requested wait objects.Gravatar bunnei2015-06-16
|
* Remove every trailing whitespace from the project (but externals).Gravatar Emmanuel Gil Peyrot2015-05-29
|
* Core/SVC: Map the shared memory created in CreateMemoryBlock to the ↵Gravatar Subv2015-05-25
| | | | | | specified address. This SharedMemory can be passed to service functions (Which should map the memory into their own address space).
* Kernel: Move reschedules from SVCs to actual mechanisms that reschedule.Gravatar bunnei2015-05-20
|
* Implement svcBreakGravatar archshift2015-05-16
|
* Core/ResourceLimits: Implemented the basic structure of ResourceLimits.Gravatar Subv2015-05-14
| | | | | | Implemented svcs GetResourceLimit, GetResourceLimitCurrentValues and GetResourceLimitLimitValues. Note that the resource limits do not currently keep track of used objects, since we have no way to distinguish between an object created by the application, and an object created by some HLE module once we're inside Kernel::T::Create.
* Memmap: Re-organize memory function in two filesGravatar Yuri Kunde Schlesner2015-05-15
| | | | | | | memory.cpp/h contains definitions related to acessing memory and configuring the address space mem_map.cpp/h contains higher-level definitions related to configuring the address space accoording to the kernel and allocating memory.
* fixup!Gravatar Subv2015-05-11
|
* Core/HLE: Implemented the SVCs GetProcessId and GetProcessIdOfThreadGravatar Subv2015-05-11
|
* Kernel: Capture SharedMemory attributes at creation, not when mappingGravatar Yuri Kunde Schlesner2015-05-10
|
* Fix printf format warningGravatar Yuri Kunde Schlesner2015-05-07
|
* Common: Remove common.hGravatar Yuri Kunde Schlesner2015-05-07
|
* HLE: Clean up SVC dispatch mechanismGravatar Yuri Kunde Schlesner2015-05-06
|
* SVC: Assert on unsupported CreateThread processor ID.Gravatar bunnei2015-04-09
|
* SVC: Update various SVCs to cause a reschedule.Gravatar bunnei2015-04-09
| | | | - CreateMutex/ReleaseMutex/ReleaseSemaphore/SetTimer/CancelTimer/ArbitrateAddress
* Thread: Implement priority boost for starved threads.Gravatar bunnei2015-04-09
| | | | | | SVC: Return correct error code on invalid CreateThread processor ID. SVC: Assert when creating a thread with an invalid userland priority.
* SVC: Reschedule on svcCreateThread.Gravatar bunnei2015-04-09
|
* arm_interface: Get rid of GetTicks.Gravatar Lioncash2015-03-16
| | | | Removes a TODO.
* Asserts: break/crash program, fit to style guide; log.h->assert.hGravatar archshift2015-02-10
| | | | | | | Involves making asserts use printf instead of the log functions (log functions are asynchronous and, as such, the log won't be printed in time) As such, the log type argument was removed (printf obviously can't use it, and it's made obsolete by the file and line printing) Also removed some GEKKO cruft.
* Scheduler refactor Pt. 1Gravatar Kevin Hartman2015-02-09
| | | | | | | | | | | | | * Simplifies scheduling logic, specifically regarding thread status. It should be much clearer which statuses are valid for a thread at any given point in the system. * Removes dead code from thread.cpp. * Moves the implementation of resetting a ThreadContext to the corresponding core's implementation. Other changes: * Fixed comments in arm interfaces. * Updated comments in thread.cpp * Removed confusing, useless, functions like MakeReady() and ChangeStatus() from thread.cpp. * Removed stack_size from Thread. In the CTR kernel, the thread's stack would be allocated before thread creation.
* WaitSynch: Always reschedule (verified behavior on hw).Gravatar bunnei2015-02-09
|
* Kernel: Stop creating useless Handles during object creationGravatar Yuri Kunde Schlesner2015-02-02
| | | | | They're finally unnecessary, and will stop cluttering the application's handle table.
* SVC: Enable CloseHandle, clean up DuplicateHandleGravatar Yuri Kunde Schlesner2015-02-02
|
* Thread: Modernize two functions that slipped through previous rebasesGravatar Yuri Kunde Schlesner2015-02-02
|
* Make Port/Service registration and querying more HW-accurateGravatar Yuri Kunde Schlesner2015-02-02
|
* SVC: Use CASCADE_RESULT in SVC handlersGravatar Yuri Kunde Schlesner2015-01-30
|
* Remove result.h InvalidHandleGravatar Yuri Kunde Schlesner2015-01-30
| | | | | It was only being used in two places, where it was replaced by a local constant.
* SVC: Change return type of handlers to ResultCodeGravatar Yuri Kunde Schlesner2015-01-30
|
* Kernel: Convert Event to not use HandlesGravatar Yuri Kunde Schlesner2015-01-30
|
* Kernel: Convert Timer to (mostly) not use HandlesGravatar Yuri Kunde Schlesner2015-01-30
|
* Kernel: Convert Mutex to not use HandlesGravatar Yuri Kunde Schlesner2015-01-30
|
* Kernel: Convert AddressArbiter to not use HandlesGravatar Yuri Kunde Schlesner2015-01-30
|
* Kernel: Convert Semaphore to not use HandlesGravatar Yuri Kunde Schlesner2015-01-30
|
* Kernel: Convert SharedMemory to not use HandlesGravatar Yuri Kunde Schlesner2015-01-30
|
* Merge pull request #412 from purpasmart96/svc_table_cleanupGravatar bunnei2015-01-28
|\ | | | | SVC: Update the SVC function table
| * SVC: Update the SVC function tableGravatar purpasmart962015-01-26
| |
* | WaitSynchronization: Added a result code for invalid result, fixed bug.Gravatar bunnei2015-01-21
| |
* | Thread: Fix WaitSynchronization1 to not set register 1 on thread wakeup.Gravatar bunnei2015-01-21
| |
* | Kernel: Changed "ShouldWait" to return bool and "Acquire" to return void.Gravatar bunnei2015-01-21
| |
* | WaitObject: Renamed "Wait" to "ShouldWait", made "ShouldWait" and "Acquire" ↵Gravatar bunnei2015-01-21
| | | | | | | | pure virtual.
* | Kernel: Reschedule on SignalEvent and SendSyncRequest, fix some bugs.Gravatar bunnei2015-01-21
| |
* | Kernel: Moved Wait and Acquire to WaitObject, added way to retrieve a ↵Gravatar bunnei2015-01-21
| | | | | | | | WaitObject safely.
* | SVC: Removed a Sleep that made no senseGravatar bunnei2015-01-21
| | | | | | | | | | - Would deadlock the calling thread - Code would never get hit anyways
* | AddressArbiter: Changed to Kernel::Object, big cleanup, removed code that ↵Gravatar bunnei2015-01-21
| | | | | | | | made no sense.
* | Kernel: Get rid of WaitTypes and simplify lots of code, removing hacks.Gravatar bunnei2015-01-21
| |