Commit graph

92 commits

Author SHA1 Message Date
Putta Khunchalee
1bc6b288c7
Sets SFMASK (#1065) 2024-10-23 13:41:46 +02:00
Putta Khunchalee
83fc99400f
Moves syscall and sysret activation to kernel (#1064) 2024-10-23 12:49:49 +02:00
Putta Khunchalee
34fed03875
Populates CPUID for KVM (#1062) 2024-10-23 11:39:57 +02:00
Putta Khunchalee
a1621280b0
Initializes handler for syscall instruction (#1061) 2024-10-22 23:30:26 +02:00
SuchAFuriousDeath
6643a4db22
Implements read_addrs (#1060)
Co-authored-by: tompro <tomas.prochazka@apertia.cz>
2024-10-23 04:18:16 +07:00
Putta Khunchalee
4348d8a1e2
Moves screen to top-level (#1056) 2024-10-20 21:21:56 +02:00
Putta Khunchalee
db87a860c8
Makes a dedicated error type for screen (#1055) 2024-10-21 01:43:45 +07:00
Putta Khunchalee
0dfe0354dd
Revises communication between debugger and debuggee thread (#1054) 2024-10-20 19:57:59 +02:00
SuchAFuriousDeath
5cf836fa5f
moves translate method to the Cpu trait (#1053)
Co-authored-by: tompro <tomas.prochazka@apertia.cz>
2024-10-20 22:56:13 +07:00
Putta Khunchalee
7fa18ed4da
Fixes GUI freeze when the debugger is idle (#1052) 2024-10-20 16:40:28 +02:00
Putta Khunchalee
2cbd609ceb
Prevents the kernel from crashing the VMM (#1051) 2024-10-20 12:43:34 +02:00
SuchAFuriousDeath
9df9f3bcf7
Implements read_registers for x86_64 (#1050)
Co-authored-by: tompro <tomas.prochazka@apertia.cz>
2024-10-20 01:54:30 +07:00
SuchAFuriousDeath
c2f486fa46
fixes fpu reg method calls (#1049)
Co-authored-by: tompro <tomas.prochazka@apertia.cz>
2024-10-20 00:06:00 +07:00
SuchAFuriousDeath
4f06154d6f
Implements xmm and fpu internal reg getters (#1048)
Co-authored-by: tompro <tomas.prochazka@apertia.cz>
2024-10-19 23:15:01 +07:00
Putta Khunchalee
cc64722ef0
Loads floating point registers for debugger (#1047) 2024-10-19 16:05:48 +02:00
Putta Khunchalee
ae78fd2b88
Loads segment selector for debugger (#1046) 2024-10-19 13:42:48 +02:00
Putta Khunchalee
9849e5f0ae
Loads RIP for debugger (#1045) 2024-10-19 12:03:10 +02:00
Putta Khunchalee
5d3ddebb6c
Loads RFLAGS for debugger (#1044) 2024-10-19 10:15:12 +02:00
Putta Khunchalee
ffc733f507
Makes CpuStates architecture-specific (#1043) 2024-10-18 19:47:53 +02:00
Putta Khunchalee
3be13e1704
Loads general purpose registers for debugger (#1042) 2024-10-18 19:03:37 +02:00
Putta Khunchalee
8897efef08
Switches from kernel debugging to OS debugging (#1041) 2024-10-17 23:25:00 +02:00
Putta Khunchalee
ae2bc802a3
Checks KVM_CAP_SET_GUEST_DEBUG (#1039) 2024-10-16 21:47:28 +02:00
Putta Khunchalee
2372243b41
Removes hard-coded RAM size (#1038) 2024-10-15 21:18:22 +02:00
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
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
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
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
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
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
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