Commit Graph

4450 Commits

Author SHA1 Message Date
James Benton
75e79d3211 common: Fix bitfield for signed enum types.
e.g. would complain about -1 not fitting in specified number of bits.
2018-09-12 07:35:40 +01:00
James Benton
4b3e3d303a ios/mcp: Give the CafeOS kernel and master title infinite permissions!!!!1
Until we figure out how to assign the correct permissions.
2018-09-12 07:35:40 +01:00
James Benton
1cea3df91b cafe/kernel: Add a pointer version of effectiveToPhysical. 2018-09-12 07:35:40 +01:00
Brett Lawson
619eb75fcd gpu/vulkan: Initial support for color buffer clearing. 2018-09-09 01:08:03 -07:00
Brett Lawson
dd8da507b4 pm4: Cleaned up scan target handling across PM4. 2018-09-09 01:07:52 -07:00
James Benton
5b0dd2a662 cafe/kernel: Improve interrupt and exception handling. 2018-09-08 11:54:34 +01:00
James Benton
52346f5cd0 Remove unused GPU_FLIP_INTERRUPT. 2018-09-08 11:54:34 +01:00
James Benton
ce88704cc8 cafe/kernel: Clean up initialisation of sub core context entry into coreinit.
This is actually much closer to how it works on the real kernel.
2018-09-08 11:54:34 +01:00
James Benton
6e645f565c Store exception info in dar / dsisr / srr0. 2018-09-08 11:54:34 +01:00
James Benton
e64df0de83 cafe/coreinit: Remove unused function declaration. 2018-09-08 11:54:34 +01:00
James Benton
36e89781f7 cafe/hle: Align data symbols in generated RPLs. 2018-09-08 11:54:34 +01:00
James Benton
de7289452e cpu: Change waitNextInterrupt to make timeout optional.
Note this can still wake due to spurious wakes of the CV.
2018-09-08 11:54:22 +01:00
James Benton
086c48d460 cafe/kernel: Move NumRamPartitions to header. 2018-09-08 11:54:22 +01:00
James Benton
6be0841124 ios: Fix order of vaddr and paddr in IoctlVec.
I think i have switched this back and forth like 5 times over the lifespan
of decaf, but this is definitely the correct order now based off reversing
kernel and ios.
2018-09-08 11:54:22 +01:00
James Benton
0c2f412712 ios/mcp: Add MCPTitleId type. 2018-09-08 11:54:22 +01:00
James Benton
01d5a6fb7e cafe/kernel: Add getCurrentTitleId and getCurrentKernelProcessId.
Will be used by upcoming IPCK driver.
2018-09-08 11:54:22 +01:00
Brett Lawson
aa62a4a547 gpu: Fix oopsies with vulkan driver debugger info. 2018-09-07 05:12:45 -07:00
Brett Lawson
f1b526fb4c decafsdl: Cleaned up Vulkan driver initialisation. 2018-09-07 03:49:44 -07:00
Brett Lawson
a62620bc2a debugger/ui: Added support for Vulkan performance metrics. 2018-09-07 03:49:33 -07:00
Brett Lawson
ab85d19112 pm4: Added buffer information to SetBuffer command. 2018-09-07 03:45:48 -07:00
Brett Lawson
d20800c586 debugger/ui: Refactored graphics performance window drawing. 2018-09-07 03:45:48 -07:00
Brett Lawson
ca335d063a libgpu: Improved GPU driver interface. 2018-09-07 03:45:47 -07:00
Brett Lawson
70aac7994f decafsdl: Do not start rendering until the game is loaded. 2018-09-07 03:42:50 -07:00
Brett Lawson
c515d67ba4 debugger: Improved UI render backend initialisations. 2018-09-07 03:42:50 -07:00
Brett Lawson
a19d6086ef decafsdl: Fix Vulkan backend using Windows-specific function. 2018-09-07 03:06:38 -07:00
Brett Lawson
c8a0e86ce0 vulkan: Fixed missing ifdef block for ImGui helpers. 2018-09-04 02:09:57 -07:00
Brett Lawson
c6204e9511 vulkan: Implemented initial SDL/DbgUI rendering. 2018-09-04 01:49:03 -07:00
James Benton
c593b4db52 Update pm4-replay to use physical memory. 2018-09-04 09:41:25 +01:00
James Benton
cc68fd5524 cafe: Update TinyHeap to have a phys_ptr and virt_ptr based implementation. 2018-09-04 09:41:10 +01:00
James Benton
e2381a86b3 Change GPU and PM4 to correctly using physical memory addresses. 2018-09-03 16:00:59 +01:00
James Benton
5942aa5740 cafe/coreinit: Fix LCAlloc for full single alloc. 2018-09-02 18:35:34 +01:00
James Benton
ac0c27361c ios/acp: Implement initialisation of /dev/acpproc. 2018-09-02 17:11:23 +01:00
James Benton
f2211eade4 Change initial config values to match region setting in decaf config. 2018-09-02 10:59:28 +01:00
James Benton
4690d02d1e decaf: Initialise SLC config 2018-09-02 10:59:28 +01:00
Brett Lawson
02d68c38a4 debugger: Rearranged folder structure in preparation for Vulkan. 2018-09-02 02:32:52 -07:00
Brett Lawson
6e9dfa6451 cafe/loader: Fixed crashes from failed OSDynLoad_Acquire's. 2018-09-01 03:42:20 -07:00
Brett Lawson
6025944b00 cafe/coreinit: Fixed size/count being transposed in fs reads.
This caused the last read chunk to fail if the read buffer was
larger than the data available in the file.
2018-09-01 03:28:36 -07:00
Brett Lawson
6d43013b47 Fixed oopsy with GenericPath's. 2018-09-01 03:28:32 -07:00
Brett Lawson
ffd8d929f0 fs: Ensure that directory paths are terminated with a slash. 2018-09-01 02:11:01 -07:00
Brett Lawson
5c8f2646aa cafe/nn_act: Generate a Mii that actually works with NLand. 2018-09-01 02:10:34 -07:00
James Benton
9d8c2a49dd nn_act: Fill out FFLStoreData structure and improve GetMii. 2018-09-01 08:53:11 +01:00
Brett Lawson
f6aa51ff8a ios: Fixed worker thread not consuming all work. 2018-08-31 16:33:48 -07:00
James Benton
f3a1523c5e cafe/coreint: Fix LCAlloc. 2018-08-31 16:36:08 +01:00
James Benton
f5eef8b070 cafe/kernel: Only mount sdcard for games with permissions. 2018-08-31 16:30:19 +01:00
James Benton
a0cbb38d70 cafe/loader: Fix LiCpu_RelocAdd for R_PPC_EMB_SDA21. 2018-08-31 16:29:46 +01:00
James Benton
1062c0492b cafe/gx2: Implement tiling apertures on top of TCL. 2018-08-31 15:12:47 +01:00
James Benton
c37f221185 cafe/tcl: Implement TCL{Alloc,Free}TilingAperture. 2018-08-31 15:12:47 +01:00
James Benton
ccd0a306d2 cafe/hle: Add support for library dependencies.
Otherwise our tcl entry point will not be run!
2018-08-31 15:12:47 +01:00
James Benton
96d6042857 cafe: Implement physicalToEffective{Cached,Uncached}. 2018-08-31 15:12:47 +01:00
Brett Lawson
8eac66b348 cafe/sndcore2: Fixed various errors from new memory model change. 2018-08-31 04:44:21 -07:00