Liam
37b278a9a8
general: fix incorrect conversions
2 years ago
Liam
84cb20bc72
core: remove ResultVal type
2 years ago
Liam
474db2d8da
kernel: reduce page table region checking
2 years ago
Liam
a85ce8ea56
k_process: PageTable -> GetPageTable
2 years ago
Liam
41d99aa89d
memory: rename global memory references to application memory
3 years ago
Liam
fb49ec19c1
kernel: use KTypedAddress for addresses
3 years ago
Liam
65be230fdd
service: move hle_ipc from kernel
3 years ago
Liam
a936972614
service: refactor server architecture
Converts services to have their own processes
3 years ago
Liam
ceda2d280e
general: rename CurrentProcess to ApplicationProcess
3 years ago
bunnei
58eb6953d1
core: hle: kernel: k_memory_block: Update.
3 years ago
german77
a7d9be1384
core: Replace all instances of ResultCode with Result
4 years ago
Liam
084d7d6b01
common: Change semantics of UNREACHABLE to unconditionally crash
4 years ago
Morph
99ceb03a1c
general: Convert source file copyright comments over to SPDX
This formats all copyright comments according to SPDX formatting guidelines.
Additionally, this resolves the remaining GPLv2 only licensed files by relicensing them to GPLv2.0-or-later.
4 years ago
bunnei
965c05b43d
core: hle: service: Allocate a service thread.
4 years ago
tech-ticks
3b91d213b1
hle: kernel: Invalidate entire icache in UnmapProcessMemory and UnmapCodeMemory ( fixes #8174 )
4 years ago
ameerj
ade596121b
core: Reduce unused includes
4 years ago
bunnei
853e58e593
hle: service: ldr: Use deterministic addresses when mapping NROs.
- Instead of randomization, choose in-order addresses for where to map NROs into memory.
- This results in predictable behavior when debugging and consistent behavior when reproducing issues.
4 years ago
bunnei
49a0e4330e
hle: kernel: k_page_table: Update SetProcessMemoryPermission.
4 years ago
bunnei
6ac44f3bdc
hle: service: ldr: UnmapCodeMemory BSS only when set.
4 years ago
bunnei
6123b6ea45
hle: kernel: k_page_table: ReadAndWrite -> UserReadWrite.
4 years ago
bunnei
081669c334
hle: kernel: k_page_table: Rename *ProcessCodeMemory -> *CodeMemory.
4 years ago
Morph
281437c811
kernel: KPageTable: Rename SetCodeMemoryPermission to SetProcessMemoryPermission
4 years ago
Morph
a6e6a5ac38
general: Get the current process program id directly from the system
This allows us to avoid including KProcess' header file in files that only need to get the current process' program id.
4 years ago
Morph
64275dfbf4
general: Rename GetTitleID to GetProgramID
4 years ago
Morph
cb09ea0f01
general: Remove MakeResult helpers
This is made obsolete by the presence of implicit constructors.
4 years ago
Morph
12c1766997
general: Replace RESULT_SUCCESS with ResultSuccess
Transition to PascalCase for result names.
5 years ago
Lioncash
8f638e81e9
ldr: Simplify memory copy within LoadNro()
We can use the dedicated memory function for performing copies instead
of reading into a temporary buffer and then immediately writing it back
out to memory.
Eliminates a bit of heap memory churn.
5 years ago
bunnei
2a7eff57a8
hle: kernel: Rename Process to KProcess.
5 years ago
german77
278c38aa4a
ldr: Use proper names
5 years ago
bunnei
93e20867b0
hle: kernel: Migrate PageHeap/PageTable to KPageHeap/KPageTable.
5 years ago
bunnei
65e0178cc0
hle: kernel: Migrate to KMemoryBlock, KMemoryBlockManager, and others.
5 years ago
bunnei
f7a008d77f
hle: kernel: KSystemControl does not belong in Memory namespace.
5 years ago
Chloe
37939482fb
kernel: Unify result codes ( #5890 )
* kernel: Unify result codes
Drop the usage of ERR_NAME convention in kernel for ResultName. Removed seperation between svc_results.h & errors.h as we mainly include both most of the time anyways.
* oops
* rename errors to svc_results
5 years ago
bunnei
63fd1bb503
core: arm: Implement InvalidateCacheRange for CPU cache invalidation.
5 years ago
Lioncash
1a954b2a59
service: Eliminate usages of the global system instance
Completely removes all usages of the global system instance within the
services code by passing in the using system instance to the services.
5 years ago
Lioncash
da7be67daf
ipc_helpers: Remove usage of the global system instance
Resolves numerous deprecation warnings throughout the codebase due to
inclusion of this header. Now building core should be significantly less
noisy (and also relying on less global state).
This also uncovered quite a few modules that were relying on indirect
includes, which have also been fixed.
5 years ago
bunnei
a0e5cccb92
hle: service: ldr: Implement UnloadNrr.
- Used by Final Fantasy X/X-2 HD Remaster.
5 years ago
Lioncash
ea20b5c970
core: Fix clang build pt.3
Should finally resolve building with clang.
5 years ago
bunnei
3d592972dc
Revert "core: Fix clang build"
5 years ago
Lioncash
be1954e04c
core: Fix clang build
Recent changes to the build system that made more warnings be flagged as
errors caused building via clang to break.
Fixes #4795
5 years ago
Lioncash
f525da56e5
service/ldr: Resolve sign mismatch warnings
We were performing an int < size_t comparison. We can just correct the
type of the induction variable.
5 years ago
David Marcec
db824b59c8
ldr: Cleanup NRO & NRR structs
6 years ago
VolcaEM
684dfbf209
Move SHA256Hash to its original position
It's not needed to have it in its previous position anymore
6 years ago
VolcaEM
bd9495c9ab
Remove unnecessary pragmas
6 years ago
VolcaEM
c0d6162050
Revert IsValidNRO refactor but make it more readable
6 years ago
VolcaEM
4b71bf654d
Update assert string
6 years ago
VolcaEM
39213b1c59
Clang-format again
6 years ago
VolcaEM
198b0fa790
Use consistent variable names
6 years ago
VolcaEM
1520d7865d
Clang-format
6 years ago
VolcaEM
761d206049
Make assert strings consistent
6 years ago