Commit Graph

2950 Commits

Author SHA1 Message Date
James Benton
debf0df92e common: Add FrameAllocator default constructor.
Also bool empty() and reset().
2018-06-22 12:30:48 +01:00
James Benton
cbd8667d03 ios/auxil: Fix compiler warnings. 2018-06-22 12:30:48 +01:00
James Benton
0f4505091a ios/fs: Fix process initialisation. 2018-06-22 12:30:48 +01:00
James Benton
b40b60f51a ios: Initialise static data in AUXIL. 2018-06-22 12:30:48 +01:00
James Benton
864f87e028 ios: Initialise kernel static data. 2018-06-22 12:30:47 +01:00
James Benton
34b6d5120d ios: Start fleshing out process static memory. 2018-06-22 12:30:47 +01:00
James Benton
52d81998c1 ios: Add timeToTicks and durationToTicks. 2018-06-22 12:30:47 +01:00
James Benton
a4a90405ae cpu: Use is_x<T>::value instead of is_x_v as they seem to break intellisense. 2018-06-22 12:30:47 +01:00
James Benton
9570ca2d3b ios: Initial implementation of kernel timers. 2018-06-22 12:30:47 +01:00
James Benton
833cecbfb8 ios: Fix handling of id in resource manager. 2018-06-22 12:30:47 +01:00
James Benton
b39d0001c1 ios: Fix usage of rescheduleSelfNoLock. 2018-06-22 12:30:47 +01:00
James Benton
91754d9775 cpu: Cleanup use of TimerDuration. 2018-06-22 12:30:47 +01:00
James Benton
656285fae5 ios: Fix getMessageQueue to return an Error. 2018-06-22 12:30:47 +01:00
James Benton
bcc0d52dd8 ios: Add HandleManager::closeAll 2018-06-22 12:30:46 +01:00
James Benton
c171d3a361 ios: Fix startFsaThread to return an Error. 2018-06-22 12:30:46 +01:00
James Benton
3d9d32c295 ios: Implement axuil stopImThread. 2018-06-22 12:30:46 +01:00
James Benton
02d5bdfa7a ios: Implement auxil process with /dev/auxilproc, /dev/im.
Also start work on /dev/usr_cfg.
2018-06-22 12:30:46 +01:00
James Benton
9ada8dd984 ios: Add a (hopefully) reusable handle manager for devices. 2018-06-22 12:30:46 +01:00
James Benton
b0cad0dd71 ios: SvcMsg.unkArg0 is .command! 2018-06-22 12:30:46 +01:00
James Benton
8deb906b6d ios: Add ThreadId CurrentThread constant. 2018-06-22 12:30:46 +01:00
James Benton
a22e397ea9 ios: Add FSA ipc syscalls FSACloseFile, FSAReadFile, FSAWriteFile. 2018-06-22 12:30:46 +01:00
James Benton
4de1e9e0ab cpu: Improve explicit operator cast for BigEndianValue.
Can now handle enum underlying_type conversion.
2018-06-22 12:30:45 +01:00
James Benton
8d457d0f3a ios: Port all FSA device functionality to new ios.
Moved from ios/dev/fsa to our ios/fs process.
2018-06-22 12:30:45 +01:00
James Benton
8206fadbc0 ios_kernel: Make {SharedCrossProcess,LocalProcess}HeapId publically visible. 2018-06-22 12:30:45 +01:00
James Benton
f4c5764cba kernel: Fix some missing name changes from ID -> Id. 2018-06-22 12:30:45 +01:00
James Benton
08e727fc25 ios: Add enum value MCPCommand::SetSysProdSettings 2018-06-22 12:30:45 +01:00
James Benton
ed72b0f338 ios: Start trying to figure out what devices are going to look like. 2018-06-22 12:30:45 +01:00
James Benton
0504ea13a1 Rename ID -> Id 2018-06-22 12:30:45 +01:00
James Benton
2203484a78 ios: Map remaining PowerPC->ARM IPC commands. 2018-06-22 12:30:44 +01:00
James Benton
6ce7da5014 Fix some oopsies 2018-06-22 12:30:44 +01:00
James Benton
b85403ebc1 ios: Implement the remaining IPC commands. 2018-06-22 12:30:44 +01:00
James Benton
c774037b74 ios: Remove IpcHandle.
This handle is actually ResourceHandleID.
2018-06-22 12:30:44 +01:00
James Benton
3d32078e81 Start of new IOS emulation. 2018-06-22 12:30:44 +01:00
James Benton
2e1a1da846 debugger: Fix trying to calculate next instruction on invalid instruction. 2018-06-17 10:10:03 +01:00
James Benton
22a07369e9 loader: Implement R_PPC_GHS_REL16_HI, R_PPC_GHS_REL16_LO 2018-06-17 10:09:44 +01:00
comex
6d397acb89 gfd_write: Fix uninitialized data being written out in EOF block headers 2018-02-15 02:04:43 -08:00
Cornee Traas
60c9156070 Remove DX12
Was only a stub anyway, Vulkan is a better, cross-platform solution.
2018-02-03 02:59:22 -08:00
James Benton
53a55ab73d debugger: Fix printf formatter for uint64_t type.
Mistakenly was %ull when it should be %llu, instead let's use PRIu64.
2018-01-16 10:55:20 +00:00
James Benton
88ae021523 Merge VelocityRa/debug-perf. 2018-01-12 10:09:23 +00:00
VelocityRa
040bb3d8a7 debugger/opengl: Update graphics info on opengl's side
Also avoid returning void*
2018-01-12 10:09:22 +00:00
VelocityRa
3f14719121 debugger: Add Performance Window w/ perf graphs & graphics info
Currently includes graphs for frame rate/time and info
about number of loaded shaders, surfaces and data buffers.
2018-01-12 10:09:21 +00:00
VelocityRa
8c6def6581 debugger: Add imgui plot/graph functionality with plot lines
Modified ImGui's implementation.
2018-01-12 10:09:20 +00:00
VelocityRa
32e386852a graphics: Add debug info getter to graphics drivers interface
Implement it for OpenGL and NullDriver and stub it for DX12.
Also add getAverageFrameTime.
2018-01-12 10:09:19 +00:00
James Benton
9550181b5e latte-assembler:
- add --align option.
- add a missing field to writeUniformVarsData.
- align text to 32bit.
2018-01-12 09:26:59 +00:00
aliaspider
d915146d88 gpu: registers 120-123 are also set as temp registers 2018-01-12 09:21:25 +00:00
James Benton
b7c12c4ce6 Restore .txt extension for log filenames.
spdlog broke it for a few releases, it's fixed now - yay!
2018-01-11 11:40:01 +00:00
James Benton
2c51cd4eed coreinit: Implement unlockAllFastMutexNoLock. 2018-01-11 11:17:05 +00:00
James Benton
c27e76db82 coreinit: Fix handling of contention in OSFastMutex. 2018-01-11 11:16:45 +00:00
James Benton
e31909d5a5 Fix format_arg for BigEndianValue.
Because of the implicit BigEndianValue::operator Type(), we would trigger
fmtlib's ConvertToInt to see our type as convertible to int, which would
mean our custom format_arg was not actually called.
2017-09-28 17:50:51 +01:00
James Benton
7ddd286a7c kernel: Add most of the IOS physical memory regions. 2017-09-28 17:48:20 +01:00