Michael Scire
5a60240fc8
strat: fix inclusion/ordering for some c headers
2020-08-14 17:36:37 -07:00
Michael Scire
9f7bc49438
ams: avoid UB infinite loops
2020-08-14 17:36:37 -07:00
Michael Scire
9f765dd4ee
sf: handle serialization errors more accurately and gracefully
2020-08-14 17:36:36 -07:00
Michael Scire
1cf97bfb29
ams: add support for cpu-extension specific source files
2020-08-14 17:36:36 -07:00
Michael Scire
4ee7df6340
ams: update build system to add generic-fallback support
2020-08-14 17:36:36 -07:00
Michael Scire
cac5957d3f
ams: dump version to 0.14.1
2020-08-02 15:02:55 -07:00
Michael Scire
5d51dfdd6c
kernel_ldr: use unoptimized memcpy before mmu bringup ( closes #1102 )
...
Before the MMU is up, all reads/writes must be aligned; the optimized
memcpy implementation does not guarantee all reads/writes it performs
are aligned.
This commit splits the libc impl to be separate for kernel/kernel_ldr,
and so now only kernel will use the optimized impl. This is safe,
as the MMU is brought up before kernel begins executing.
2020-08-02 15:02:55 -07:00
Michael Scire
f288b81b23
target firmware: I am remarkably bad at this
2020-08-01 15:37:07 -07:00
Michael Scire
4e80a4013f
target firmware: fix typo
2020-08-01 15:35:48 -07:00
Michael Scire
27c71f4eef
ams: add support for 10.1.1
2020-08-01 15:31:47 -07:00
Michael Scire
384c5df384
TimeSpan: fix FromDays
2020-08-01 15:31:46 -07:00
Michael Scire
b5c915a6f2
kern: complete final SVC stubs (KernelDebug/Trace debug-impl still TODO)
2020-08-01 15:31:46 -07:00
Michael Scire
227b9603cd
kern: SvcReturnFromException
2020-08-01 15:31:46 -07:00
Michael Scire
2243c43449
kern: fix dynamic calculation of slab heap size
2020-08-01 15:31:45 -07:00
Michael Scire
f80eb2c26f
kern SvcGetDebugThreadContext, SvcSetDebugThreadContext
2020-08-01 15:31:45 -07:00
Michael Scire
ff9d3ee1d6
kern: SvcGetDebugThreadParam
2020-08-01 15:31:45 -07:00
Michael Scire
bb044b1934
kern: clean up majority of TODOs
2020-08-01 15:31:44 -07:00
Michael Scire
d50efee2c7
kern: resolve final non-user-exception MESOSPHERE_UNIMPLEMENTED
2020-08-01 15:31:44 -07:00
Michael Scire
1c733577b4
kern: SvcGetDebugEventInfo64From32
2020-08-01 15:31:44 -07:00
Michael Scire
c7f108082b
kern: resolve MESOSPHERE_UNIMPLEMENTEDs other than UserException
2020-08-01 15:31:44 -07:00
Michael Scire
3d5f2b7258
kern: Add real SvcBreak implementation
2020-08-01 15:31:43 -07:00
Michael Scire
b576737418
kern: SvcBreakDebugProcess, SvcTerminateDebugProcess
2020-08-01 15:31:43 -07:00
Michael Scire
179427687b
kern: SvcSetHardwareBreakPoint
2020-08-01 15:31:43 -07:00
Michael Scire
3b9403f3fc
kern: Svc(Legacy)ContinueDebugEvent
2020-08-01 15:31:42 -07:00
Michael Scire
349346ef34
kern: Add 4.x InitialProcessIdRange to SvcGetInfo
2020-08-01 15:31:42 -07:00
Michael Scire
a5d7e8328b
kern: SvcQueryPhysicalAddress
2020-08-01 15:31:42 -07:00
Michael Scire
35af9a4996
kern: style parity for return in GetThreadList
2020-08-01 15:31:42 -07:00
Michael Scire
83020ce2c4
kern: SvcGetThreadList
2020-08-01 15:31:41 -07:00
Michael Scire
a0de667005
kern: SvcGetLastThreadInfo, SvcGetDebugFutureThreadInfo
2020-08-01 15:31:41 -07:00
Michael Scire
641e92e6a0
kern: SvcFlushDataCache, SvcFlushEntireDataCache
2020-08-01 15:31:41 -07:00
Michael Scire
5c8eca0935
kern: build without unwind tables for lto
2020-08-01 15:31:40 -07:00
Michael Scire
ef6ede3aeb
kern: SvcReadDebugProcessMemory, SvcWriteDebugProcessMemory
2020-08-01 15:31:40 -07:00
Michael Scire
0cfd30b9c1
kern: panic on failure-to-open auto object in debug config
2020-08-01 15:31:40 -07:00
Michael Scire
8019804c7f
kern: automatic PC alignment on ERET is implementation defined
2020-08-01 15:31:39 -07:00
Michael Scire
911a81430a
kern: switch memset to optimized impl
2020-08-01 15:31:39 -07:00
Michael Scire
4a38e5d4b6
kern: use optimized memcmp/memcpy implementations
2020-08-01 15:31:39 -07:00
Michael Scire
c39da750f2
SvcQueryDebugProcessMemory
2020-08-01 15:31:38 -07:00
Michael Scire
85932bb91e
kern: fix ARM vs THUMB mode selection on 32-bit entry
2020-08-01 15:31:38 -07:00
Michael Scire
fe1ab3785f
kern: fix whoops in light ipc
2020-08-01 15:31:38 -07:00
Michael Scire
e8021705d8
kern: SendSyncRequestLight, ReplyAndReceiveLight
2020-08-01 15:31:37 -07:00
Michael Scire
a7cc9dd743
kern: fix slab heap atomics
2020-08-01 15:31:37 -07:00
Michael Scire
395976f705
kern: fix bug in server handle cleanup
2020-08-01 15:31:37 -07:00
Michael Scire
ed54603dad
kern: fix nonsensical copy/pasted comments in QueryMemory
2020-08-01 15:31:37 -07:00
Michael Scire
7368d41603
kern: QueryMemory64From32, QueryProcessMemory64From32
2020-08-01 15:31:36 -07:00
Michael Scire
fcee459e40
kern: add KCodeMemory code left out of previous commit
2020-08-01 15:31:36 -07:00
Michael Scire
a7de710f09
kern: implement KCodeMemory (and SVCs)
2020-08-01 15:31:36 -07:00
Michael Scire
1a5513760b
kern: SvcGetSystemTick
2020-08-01 15:31:35 -07:00
Michael Scire
c64e490663
kern: implement SvcGetThreadContext3
2020-08-01 15:31:35 -07:00
Michael Scire
2cee81697c
kern: correct behavior when setting activity/core mask for pinned thread
2020-08-01 15:31:35 -07:00
Michael Scire
be1314cb88
kern: implement thread pinning/SvcSynchronizePreemptionState
2020-08-01 15:31:34 -07:00