Commit Graph

47 Commits (de1e5584b32edcc5b43dd7b5757ee4b361f9f70c)

Author SHA1 Message Date
Liam cf8c7d4ed3 kernel: remove unecessary process member from handle table 2 years ago
Liam 31bf57a310 general: properly support multiple memory instances 2 years ago
Liam 419055e484 kernel: instantiate memory separately for each guest process 2 years ago
Liam 45c87c7e6e core: refactor emulated cpu core activation 2 years ago
GPUCode 3ec3cca4d8 core: Define HAS_NCE macro 2 years ago
GPUCode 6de2edcca1 Address some review comments 2 years ago
Liam 9f91ba1f73 arm: Implement native code execution backend 2 years ago
Liam f2a8409083 kernel: Manually specify aslr region start 2 years ago
Liam 2a255b2d61 kernel: add KPageTableBase
Co-authored-by: Kelebek1 <eeeedddccc@hotmail.co.uk>
2 years ago
Liam 8c59543ee3 kernel: update KProcess 2 years ago
Liam 3ef9673360 core: improve debug workflow 2 years ago
liamwhite 18ad55be0b
kernel: offset code entry point for 39-bit address space type (#11326) 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 9863db9db4 kernel: convert KProcess to new style 3 years ago
Liam c0b9e93b77 kernel: remove kernel_ 3 years ago
Liam 097c25b164 kernel: convert KPort, KSession 3 years ago
Liam 600f325d87 general: fix spelling mistakes 3 years ago
Liam 1d0fe75e7c hle: rename legacy errors to Results 3 years ago
Narr the Reg dca4f0687a kernel: process: Implement GetFreeThreadCount
Used by Just Dance® 2023 Edition
3 years ago
bunnei 97879faea4 core: hle: kernel: Migrate ProcessState to enum class. 3 years ago
bunnei 829e82e264 core: hle: kernel: Use result macros for new/changed code. 3 years ago
bunnei abcc009dff core: hle: kernel: k_process: Improve management of page table & cleanup. 3 years ago
bunnei 25dcaf1eca core: hle: kernel: k_process: Change Status -> State. 3 years ago
Andrea Pappacoda cdb240f3d4
chore: make yuzu REUSE compliant
[REUSE] is a specification that aims at making file copyright
information consistent, so that it can be both human and machine
readable. It basically requires that all files have a header containing
copyright and licensing information. When this isn't possible, like
when dealing with binary assets, generated files or embedded third-party
dependencies, it is permitted to insert copyright information in the
`.reuse/dep5` file.

Oh, and it also requires that all the licenses used in the project are
present in the `LICENSES` folder, that's why the diff is so huge.
This can be done automatically with `reuse download --all`.

The `reuse` tool also contains a handy subcommand that analyzes the
project and tells whether or not the project is (still) compliant,
`reuse lint`.

Following REUSE has a few advantages over the current approach:

- Copyright information is easy to access for users / downstream
- Files like `dist/license.md` do not need to exist anymore, as
  `.reuse/dep5` is used instead
- `reuse lint` makes it easy to ensure that copyright information of
  files like binary assets / images is always accurate and up to date

To add copyright information of files that didn't have it I looked up
who committed what and when, for each file. As yuzu contributors do not
have to sign a CLA or similar I couldn't assume that copyright ownership
was of the "yuzu Emulator Project", so I used the name and/or email of
the commit author instead.

[REUSE]: https://reuse.software

Follow-up to 01cf05bc75
3 years ago
german77 a7d9be1384 core: Replace all instances of ResultCode with Result 3 years ago
Liam 208ed712f4 core/debugger: memory breakpoint support 3 years ago
Liam 888f499188 kernel: implement KProcess suspension 3 years ago
lat9nq d6a0666268 k_process: Fix data race
TSan reported a race between thread 36 and thread 34, a read at :225 and
a write at :225 respectively. Make total_proces_running_time_ticks
atomic to avoid this race.
4 years ago
ameerj ade596121b core: Reduce unused includes 4 years ago
bunnei 813b2ef253 core: hle: kernel: k_process: Implement thread local storage accurately. 4 years ago
bunnei a74fddc98f core: hle: kernel: KProcess: Pass in KResourceLimit on process creation.
- This allows us to have a resource limit per process, rather than use the global system resource limit.
4 years ago
bunnei 59add00d4a hle: kernel: KThread: Improve Increment/Decrement RunningThreadCount.
- Previously implementation was incorrect, and would occasionally underflow.
4 years ago
bunnei d8b3f665db core: hle: kernel: KProcess: Integrate with KWorkerTask and add unimplemented DoWorkerTaskImpl. 4 years ago
bunnei 3a89723d97 core: hle: kernel: Implement thread pinning.
- We largely had the mechanics in place for thread pinning, this change hooks these up.
- Validated with tests https://github.com/Atmosphere-NX/Atmosphere/blob/master/tests/TestSvc/source/test_thread_pinning.cpp.
4 years ago
bunnei 9a9e7dd78b hle: kernel k_process: Remove unnecessary .at usage with thread pinning methods. 4 years ago
bunnei 316a2dd22a hle: kernel: KProcess: Improvements for thread pinning. 4 years ago
Morph 64275dfbf4 general: Rename GetTitleID to GetProgramID 4 years ago
ameerj 7c4b6aab2e core: Remove unused includes 4 years ago
Feng Chen 5fbfc4c19e Fix KShareMemory object leak 4 years ago
Morph 12c1766997 general: Replace RESULT_SUCCESS with ResultSuccess
Transition to PascalCase for result names.
4 years ago
Lioncash 7b2917b4e1 kernel: Add missing override specifiers
Over the course of the kernel refactoring a tiny bit of missing
overrides slipped through review, so we can add these.

While we're at it, we can remove redundant virtual keywords where
applicable as well.
4 years ago
Lioncash 2f62bae9e3 kernel: Eliminate variable shadowing
Now that the large kernel refactor is merged, we can eliminate the
remaining variable shadowing cases.
5 years ago
bunnei 4b03e6e776 hle: kernel: Migrate to KHandleTable. 5 years ago
bunnei 0b27c721c9 hle: kernel: Improve MapSharedMemory and implement UnmapSharedMemory. 5 years ago
bunnei 2a7eff57a8 hle: kernel: Rename Process to KProcess. 5 years ago