Commit graph

1222 commits

Author SHA1 Message Date
Putta Khunchalee
52698d73de
Refactors debugger interruption (#1037) 2024-10-14 19:10:23 +02:00
Putta Khunchalee
b724102cb0
Allows a device to hook into VM exited event (#1036) 2024-10-14 14:01:38 +02:00
Putta Khunchalee
fa844896cd
Initializes CPU interruption from debugger (#1035) 2024-10-13 18:56:26 +02:00
Putta Khunchalee
e101b8b7eb
Prepares CPU interruption from debugger (#1034) 2024-10-13 13:30:51 +02:00
Putta Khunchalee
805920a9a8
Simplifies debug server (#1033) 2024-10-13 10:12:40 +02:00
SuchAFuriousDeath
01008872e2
Adds extra method and trait implementation to CpuManager (#1032)
Co-authored-by: tompro <tomas.prochazka@apertia.cz>
2024-10-13 13:09:34 +07:00
Putta Khunchalee
28f115698e
Switches from hv-sys to applevisor-sys (#1031) 2024-10-12 21:21:56 +02:00
Putta Khunchalee
8b6acdcdb8
Fixes Housekeep (#1030) 2024-10-12 19:57:49 +02:00
Putta Khunchalee
23693be886
Merges GDB target and CPU management into CpuManager (#1029) 2024-10-12 18:59:25 +02:00
Putta Khunchalee
c572230317
Watches for debugger commands (#1028) 2024-10-12 16:03:51 +02:00
Putta Khunchalee
0076693dd4
Fixes CI (#1027) 2024-10-11 18:13:10 +02:00
Putta Khunchalee
d4c1840ed2
Supports static dispatch for CpuIo on DeviceContext::exec (#1026) 2024-10-10 22:42:27 +02:00
Putta Khunchalee
e9c07787df
Uses blocking-mode debug server (#1025) 2024-10-10 09:24:39 +02:00
Alexander Zaitsev
0692715b33
feat: enable LTO (#1024) 2024-10-09 23:32:21 +07:00
Putta Khunchalee
612ca53580
Moves GDB server to GUI thread (#1022) 2024-10-09 01:51:18 +02:00
Putta Khunchalee
7a65dbb25a
Initializes GDB session (#1020) 2024-10-06 21:40:00 +02:00
Putta Khunchalee
802de64433
Adds an option to start VMM immediately (#1019) 2024-10-06 15:24:38 +02:00
Putta Khunchalee
ff0163e303
Setups gdbstub (#1018) 2024-10-06 11:01:36 +02:00
Putta Khunchalee
5191975df8
Refactors RustError to supports passing it as argument (#1017) 2024-10-05 18:29:30 +02:00
Putta Khunchalee
59356290e9
Initializes Target implementation for gdbstub (#1016) 2024-10-05 14:38:20 +02:00
Putta Khunchalee
2cac7fbd0b
Implements UI to start debug (#1015) 2024-10-04 20:48:26 +02:00
Putta Khunchalee
b97cdfff30
Listens for debugger (#1014) 2024-10-04 17:22:59 +02:00
Putta Khunchalee
b41b214c60
Initializes trap handler (#1013) 2024-10-03 22:02:43 +02:00
Putta Khunchalee
40dd689596
Moves kernel to top-level (#1012) 2024-10-03 19:43:26 +02:00
Putta Khunchalee
4209655fbb
Moves GUI sources from src to gui (#1011) 2024-10-03 08:43:26 +02:00
Putta Khunchalee
955bd28587
Adds recommended extensions for VS Code (#1010) 2024-10-02 20:05:17 +02:00
Putta Khunchalee
b66b4fe5d5
Implements CPU states for AArch64 KVM (#1009) 2024-10-01 20:18:15 +02:00
Putta Khunchalee
c8ce13a7bf
Renames libcore to libgui and move it to top-level (#1008) 2024-10-01 08:11:41 +02:00
Putta Khunchalee
709c0b708d
Fixes create CPU fails on Linux AArch64 (#1007) 2024-09-30 17:13:24 +02:00
Putta Khunchalee
14f0805be4
Implements a device to allow the kernel communicate with VMM (#1006) 2024-09-29 21:30:11 +02:00
Putta Khunchalee
d600e61407
Merges obvirt into obconf (#1005) 2024-09-29 18:10:53 +02:00
Putta Khunchalee
9517af6d4c
Implements a struct to wrap Thread's private fields (#1004) 2024-09-29 13:31:07 +02:00
Putta Khunchalee
1915ed91af
Implements BorrowedArc to optimize context retrieving (#1003) 2024-09-29 09:37:32 +02:00
Putta Khunchalee
33f8343d5e
Fixes incomplete ID_AA64MMFR1_EL1 and ID_AA64MMFR2_EL1 on Linux (#1002) 2024-09-28 20:11:23 +02:00
Putta Khunchalee
e00f14908c
Sets Task Register (#1001) 2024-09-28 19:19:17 +02:00
Putta Khunchalee
165fd9d253
Fixes KVM_CAP_ONE_REG is not supported on x86-64 (#1000) 2024-09-28 09:53:54 +02:00
Putta Khunchalee
80dde69731
Fixes incomplete ID_AA64MMFR0_EL1 on Linux (#999) 2024-09-28 09:16:48 +02:00
Putta Khunchalee
98825ea886
Fixes KVM_CREATE_VM fails on Apple M1 (#998) 2024-09-26 21:11:53 +02:00
Putta Khunchalee
80c2b3a54e
Initializes AArch64 supports on Linux (#997) 2024-09-24 21:08:04 +02:00
Putta Khunchalee
8d11ba092d
Initializes Vulkan logical device (#996) 2024-09-22 23:19:20 +02:00
Putta Khunchalee
57549f3c71
Removes Vulkan devices that does not supports graphics operations (#995) 2024-09-22 19:46:04 +02:00
Putta Khunchalee
038f4ce02a
Registers Breakpoint handler (#994) 2024-09-22 18:28:55 +02:00
Putta Khunchalee
4d6befacc4
Initializes IDT (#993) 2024-09-22 13:41:29 +02:00
Putta Khunchalee
79aeff9cee
Switches from VMM GDT to kernel GDT (#992) 2024-09-21 21:16:05 +02:00
Putta Khunchalee
19eabafd52
Passes kernel config for AArch64 (#990) 2024-09-20 20:38:54 +02:00
Putta Khunchalee
5990701c98
Refactors VMM for AArch64 (#988) 2024-09-19 21:43:09 +02:00
Putta Khunchalee
c1eeb8b264
Removes per-game settings (#987) 2024-09-16 08:22:02 +02:00
Putta Khunchalee
68c288e3c9
Ports Gutex to kernel (#986) 2024-09-15 21:12:42 +02:00
Putta Khunchalee
022cfd041c
Initializes ProcMgr (#985) 2024-09-15 14:15:33 +02:00
Putta Khunchalee
b027031086
Initializes mutex implementation (#984) 2024-09-15 10:15:23 +02:00