mirror of
https://github.com/pound-emu/pound.git
synced 2025-12-11 16:36:59 +00:00
The core of the machine-type support is the new operations table, kvm_ops_t. This acts as a standard C-style virtual table decoupling the generic KVM core logic from target specific hardware emualtion. The kvm_t VM instance now points to an ops table, which defines the "personality" of the guest. A kvm_probe() factory function has been added to initialize a kvm_t instance with the correct ops table for a given machine type (eg, Switch 1). The ops table's .mmio_read and .mmio_write function pointers are the link between the armv8 CPU core and this new MMIO dispatcher. When a physical memory access is determined to be MMIO, the VM will call the appropriate function pointer, which in turn will use the MMIO dispatcher to find and execute the correct device handler. The initial implementation for the Switch 1 target (targets/switch1/hardware/probe.cpp) is a stub. The bootstrapping logic will be added in subsequent patches. Signed-off-by: Ronald Caesar <github43132@proton.me>
9 lines
286 B
Text
9 lines
286 B
Text
[submodule "3rd_Party/fmt"]
|
|
path = 3rd_Party/fmt
|
|
url = https://github.com/fmtlib/fmt.git
|
|
[submodule "3rd_Party/SDL3"]
|
|
path = 3rd_Party/SDL3
|
|
url = https://github.com/libsdl-org/SDL.git
|
|
[submodule "3rd_Party/imgui"]
|
|
path = 3rd_Party/imgui
|
|
url = https://github.com/ocornut/imgui.git
|