You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Tree:
f2331a804a
2ndAdjustmentVulkan
2ndAdjustmentVulkanV3-STOP_FORCE_PUSHING_CAMILLE
2ndAdjustmentVulkanv2
2ndgpuopts
John-android-rescale-toggle
Kernel
TTYD
Update-some-barriers-test
astc_optimization1
astc_optimizations
atomicops-mxwell
bcn-ternary-soft
bioshock
buffer_cache
bump-httplib-minver
civa
crueter-patch-1
descriptor
descriptor_pool_opt
descriptor_set
discfix
dmnt2
drop-msvc
dynarmic
dynarmic-ppc64
eden-managarm
eden-orbis-ps4
eden-wasm
eds-true-adreno-fixes
eds-true-adreno-fixes-pre-0.1.0
eds_changes1
eds_changes_phasewise
feat/android_kotlin_compose
feat/game_override
fix-friend-list-freeze
fix-grid-autoalign
fix-update-android
fix-update-deps-ci
fix/discord-rpc
flatopsfixes23485
fs-try
gpuopts
kosmic_krisp
kosmickrisp
lanobu
lines
liz-dynarmic-macos-fbsd-port
liz-heaptrack-fix
lizize/fixcrashwehenimagesizeexceed
lizzie/1st-anniversary-icon
lizzie/amsmeow
lizzie/anv-cached-mesa-hack
lizzie/areafixnvidia
lizzie/astc-mp4-improv
lizzie/aurfixixifxixfi
lizzie/bitfield-rework
lizzie/bundle-v53
lizzie/bundleevil123
lizzie/civ7-y2k-dns-ban
lizzie/cpudetect1234
lizzie/crashes-qt-somesettings
lizzie/dynarmic-exclusive-fixups
lizzie/edit-handheld-mode
lizzie/evil-f32-u32-format-fix
lizzie/evil-meow-meow
lizzie/fbsd-shm_create_largepage
lizzie/ffmpeg-d1d873c003
lizzie/ffmpeg-fix-externel
lizzie/fix-nvmap-handles
lizzie/fix-nvmap-handles-but-evil
lizzie/fixandroid7435683485
lizzie/forceattachements-at-all-times
lizzie/fs-msvc-succks
lizzie/gamemetadatacorrupt
lizzie/gigdigdi75
lizzie/gutter-sw-blitter
lizzie/hblfixusperhashxha
lizzie/hbloader-fix
lizzie/hleinlineremoveredundant
lizzie/inline-123
lizzie/inline-gpu-works1
lizzie/inlinecodecnvenc
lizzie/invert-gyro
lizzie/ios-port-sud
lizzie/jit-addresschecks
lizzie/jthread74573785
lizzie/macos-network-ifaces
lizzie/macos-vk-metal-fix-stype
lizzie/maxwell-use-params-instead-of-template
lizzie/mediatek-stuff-for-fun
lizzie/mlp223
lizzie/msvcfix1234
lizzie/multicore-macos-fix1
lizzie/nce-invalidate-split
lizzie/nce-port1123
lizzie/noexcept-dynarmic
lizzie/not-quite-correct-pte
lizzie/openssl-external-builds
lizzie/pkza-mwait
lizzie/powerunswizzle
lizzie/product-model-wawa
lizzie/qtcrashwhensgssersrtsr
lizzie/readonly-listicons
lizzie/remove-disassembler-dynarmic
lizzie/remove-mlp-2-level
lizzie/restore-fcsm
lizzie/rework-ips
lizzie/settings-blocked-domains
lizzie/simplify-invalid-acc
lizzie/sm-AtmosphereHasService
lizzie/spirvheaderstoolsnuke
lizzie/splay
lizzie/stable-shader-pools
lizzie/staging12
lizzie/stuff-for-fun-but-evil
lizzie/swkbd-mhu
lizzie/tomo-toggle
lizzie/tryfixrandomvkshit
lizzie/ulaunch-attempt1
lizzie/unaligned-attempt-2
lizzie/unity-build
lizzie/update-faq-link-wwa
lizzie/vex-encode-vmovd
lizzie/virtualbufferwiondws867
lizzie/vk-ext-fault-info
lizzie/vkexperiments1-highp-fucked
lizzie/vkweep12
lizzie/wstring-uni-123
lizzie/xbyak-force-bundled
lizzie/xcode-evil-shit-123
lizzie/zlib-ng
macroify-surface-stuffs
many/fix-tomodachi
master
memory_changes
mmap-fixews
mutliplayer-filter-better1
n64
nce_cpp
pipelinederivative
qcomopts2
queries
querybugfix
refactoreds2
release-early-fences
release/0.0.3
release/0.0.4
release/0.1.0
release/0.2.0
restore-metal-surface
revert-2695
showcase
showcase2
sjkdbsdfjkbsdf-2834
spvopts
sured-revert
test-revert-gpu-optim
test2
tex_opt
true-eds
true-eds-graphics
true-eds-pre-0.0.1
uma
update-deps-1780370490
update-deps-1780370770
update-translations-1777730513
update-translations-1779199346
update-translations-1779804173
vk-experiments1
vk-fix-oom-force-maller-buffers
vk-symph
vkexperiments1
vuid00336_1
vuid02999
vuid04553
vulkanasync
workgroup
xbzk-dma-pusher-step-redesign
xbzk-saf-recursive-write-with-permission-request
xbzk/background-support
xbzk/flicker-fix
xbzk/frame-skipping+interpolation-experiments
xbzk/gpu-logging_qt-controls_android-fix
xbzk/homebrew-program-args-support
xbzk/nzp-mesa-fixes
xbzk/renderdoc_nulldescriptor_unavailable_fix
xbzk/unreal-unsafe-junk-guards
xbzk/vk-etc2-format-list
xbzk/vulkan-vuid-goodies-pack
0.0.0
0.0.1-pre-alpha
0.0.2-pre-alpha
test-tag1
test-tag2
v0.0.3
v0.0.3-rc1
v0.0.3-rc2
v0.0.3-rc3
v0.0.3.git
v0.0.4
v0.0.4-rc1
v0.0.4-rc2
v0.0.4-rc2.test
v0.0.4-rc2.test2
v0.0.4-rc3
v0.0.4-rc3.test1
v0.0.4-rc3.test2
v0.0.4.test
v0.1.0
v0.1.0-rc1
v0.1.1
v0.2.0
v0.2.0-rc1
v0.2.0-rc2
v0.2.1
${ noResults }
eden/CMakeModules
Our initialization process is a little wonky than one would expect when
it comes to code flow. We initialize the CPU last, as opposed to
hardware, where the CPU obviously needs to be first, otherwise nothing
else would work, and we have code that adds checks to get around this.
For example, in the page table setting code, we check to see if the
system is turned on before we even notify the CPU instances of a page
table switch. This results in dead code (at the moment), because the
only time a page table switch will occur is when the system is *not*
running, preventing the emulated CPU instances from being notified of a
page table switch in a convenient manner (technically the code path
could be taken, but we don't emulate the process creation svc handlers
yet).
This moves the threads creation into its own member function of the core
manager and restores a little order (and predictability) to our
initialization process.
Previously, in the multi-threaded cases, we'd kick off several threads
before even the main kernel process was created and ready to execute (gross!).
Now the initialization process is like so:
Initialization:
1. Timers
2. CPU
3. Kernel
4. Filesystem stuff (kind of gross, but can be amended trivially)
5. Applet stuff (ditto in terms of being kind of gross)
6. Main process (will be moved into the loading step in a following
change)
7. Telemetry (this should be initialized last in the future).
8. Services (4 and 5 should ideally be alongside this).
9. GDB (gross. Uses namespace scope state. Needs to be refactored into a
class or booted altogether).
10. Renderer
11. GPU (will also have its threads created in a separate step in a
following change).
Which... isn't *ideal* per-se, however getting rid of the wonky
intertwining of CPU state initialization out of this mix gets rid of
most of the footguns when it comes to our initialization process.
|
7 years ago | |
|---|---|---|
| .. | ||
| CopyYuzuQt5Deps.cmake | QT Frontend: Add a Loading screen with progressbar | 7 years ago |
| CopyYuzuSDLDeps.cmake | Fix build on macOS and linux | 9 years ago |
| CopyYuzuUnicornDeps.cmake | cmake: Add CopyYuzuUnicornDeps script. | 9 years ago |
| DownloadExternals.cmake | DownloadExternals: Use yuzu repo. | 9 years ago |
| GenerateSCMRev.cmake | shader/decode: Split memory and texture instructions decoding | 7 years ago |
| MinGWCross.cmake | Update MinGWCross.cmake to lowercase | 8 years ago |