bunnei
8cf95d87aa
Remove more 3DS-specific code.
8 years ago
bunnei
877d4c71d3
Remove more 3DS-specific code.
8 years ago
MerryMage
98edc03737
dsp_dsp: Remove size assertion in LoadComponent
9 years ago
Yuri Kunde Schlesner
c27dad4cd1
ResultVal: Remove MoveFrom()
Replace it with std::move(result_val).Unwrap(), or Foo().Unwrap() in
case you already have an rvalue.
9 years ago
Yuri Kunde Schlesner
f68fd997cd
Service: Remove unnecessary includes from service.h
This has a huge fallout in terms of needing to fix other files because
all service implementations included that file.
9 years ago
Yuri Kunde Schlesner
467545ed48
Kernel: Centralize error definitions in errors.h
9 years ago
MerryMage
1fb8824cac
dsp_dsp: Messages are modified by service before being sent to DSP
10 years ago
Lioncash
b0ebdfae34
Add all services to the Service namespace
Previously there was a split where some of the services were in the
Service namespace and others were not.
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
e0ee10c3e9
DSP_DSP: Remove use of Memory::GetPointer
10 years ago
Maribel
eece919250
DSP_DSP: Remove GetHeadphoneStatus logspam ( #1799 )
10 years ago
Alexander Laties
17e9bc5392
fixup simple type conversions where possible
10 years ago
MerryMage
ed79ec1627
DSP_DSP: Fix log format strings and arguments
10 years ago
MerryMage
70d1edf9c9
DSP_DSP: Add return IPC headers
10 years ago
MerryMage
4827a1bff7
DSP_DSP: Updated interrupt implementation
10 years ago
MerryMage
0b06d3db52
DSP_DSP: Remove unused variable
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
MerryMage
447d9a5677
DSP: Implement Pipe 2
Pipe 2 is a DSP pipe that is used to initialize both the DSP hardware (the
application signals to the DSP to initialize) and the application (the DSP
provides the memory location of structures in the shared memory region).
10 years ago
MerryMage
adb7e78b17
DSP: Print hash of firmware to console
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
Lioncash
c731d31b7c
services: Get rid of unnecessary includes
10 years ago
Lioncash
58a100d3b7
services: Update some function tables
10 years ago
Lioncash
08147474cb
general: Silence some warnings when using clang
10 years ago
Yuri Kunde Schlesner
dc39d06950
Ensure all kernel objects are released during shutdown
This commit fixes several kernel object leaks. The most severe of them
was threads not being removed from the private handle table used for
CoreTiming events. This resulted in Threads never being released, which
in turn held references to Process, causing CodeSets to never be freed
when loading other applications.
11 years ago
Yuri Kunde Schlesner
1c0b87edc2
Memory: Re-organize and rename memory area address constants
11 years ago
Yuri Kunde Schlesner
e1fbac3ca1
Common: Remove common.h
11 years ago
bunnei
e0cb85691a
Services: Initialize all state variables at bootup.
11 years ago
purpasmart96
c3a480160e
Services/Loader: Use more sensible log formats for certain functions
along with more info being logged.
11 years ago
purpasmart96
198c0ddc72
Services: Stubs and minor changes
11 years ago
Lioncash
0c6434c379
core: Apply static to local functions
11 years ago
archshift
ef24e72b26
Asserts: break/crash program, fit to style guide; log.h->assert.h
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.
11 years ago
purpasmart96
60ce36f721
Services: Stub some functions
11 years ago
Yuri Kunde Schlesner
88a4a808c6
Kernel: Stop creating useless Handles during object creation
They're finally unnecessary, and will stop cluttering the application's
handle table.
11 years ago
Yuri Kunde Schlesner
a79d21c83e
Service: Clean-up Interface
11 years ago
Yuri Kunde Schlesner
d52d859936
Kernel: Convert Event to not use Handles
11 years ago
bunnei
350c5a7e32
DSP: Removed useless spam log for SignalInterrupt
11 years ago
bunnei
e9650f1c61
DSP: Signal (faked) interrupt on every frame.
- Hack to work around games checking that the DSP event has been signaled by a real DSP interrupt.
11 years ago
purpasmart96
9796bc1fa2
More services & small clean ups
11 years ago
purpasmart96
ebfd831ccb
License change
11 years ago
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.)
11 years ago
Yuri Kunde Schlesner
0600e2d8b5
Convert old logging calls to new logging macros
11 years ago
bunnei
988998cca5
DSP: Added stub for ReadPipeIfPossible.
11 years ago
archshift
a404ad5272
Add stub for ConvertProcessFromDspDram
Should theoretically push retail stuff further along
11 years ago
bunnei
3e286fff7c
DSP: Added stubs for several commonly used DSP service functions.
11 years ago
purpasmart96
9821bfcb8e
Add more services and some fixes, along with more "override"
in the service's headers
11 years ago
purpasmart96
539b4c883d
Added a bunch of services
11 years ago