Commit graph

214 commits

Author SHA1 Message Date
SuchAFuriousDeath
49ee5fb888
Refactors tab number in Slint as enum (#1107)
Co-authored-by: tompro <tomas.prochazka@apertia.cz>
2024-11-16 20:26:18 +01:00
Putta Khunchalee
23748a0650
Revises main tab for Slint (#1106) 2024-11-16 19:20:41 +01:00
SuchAFuriousDeath
d26c0c9a5f
Removes raw_window_handle, uses Cstr literals (#1103)
Co-authored-by: tompro <tomas.prochazka@apertia.cz>
2024-11-16 19:48:45 +07:00
Putta Khunchalee
274167602e
Adds Cargo.lock (#1102) 2024-11-16 19:25:36 +07:00
Putta Khunchalee
de9f287968
Adds macOS and Windows CI for Slint (#1096) 2024-11-15 19:51:02 +01:00
SuchAFuriousDeath
7f7c5429bf
Passes device list to Slint UI (#1093)
Co-authored-by: tompro <tomas.prochazka@apertia.cz>
2024-11-15 12:22:51 +07:00
SuchAFuriousDeath
296cc3e502
Initializes Slint gui (#1084)
Co-authored-by: tompro <tomas.prochazka@apertia.cz>
2024-11-11 11:16:48 +07:00
Putta Khunchalee
9aef904d24
Initializes MMIO implementation for HVF (#1091) 2024-11-09 19:26:06 +01:00
Putta Khunchalee
fed6c3c474
Fixes hv_vcpu_run never return (#1086) 2024-11-09 09:58:35 +01:00
Putta Khunchalee
bbb5fc14b7
Removes .obliteration-development (#1085) 2024-11-03 21:41:45 +01:00
Putta Khunchalee
90f1a5d0c1
Uses add_crate to build the kernel (#1083) 2024-11-03 19:21:08 +01:00
SuchAFuriousDeath
301b1e3db8
Implements handle_breakpoint with stop reason (#1076)
Co-authored-by: tompro <tomas.prochazka@apertia.cz>
2024-10-28 00:34:38 +07:00
SuchAFuriousDeath
c8a220bea2
Implements MultiThreadResume for CpuManager (#1073)
Co-authored-by: tompro <tomas.prochazka@apertia.cz>
2024-10-27 23:10:23 +07:00
SuchAFuriousDeath
1b22d340ee
Implements software breakpoints for x86_64 (#1069)
Co-authored-by: tompro <tomas.prochazka@apertia.cz>
2024-10-26 22:12:50 +07:00
SuchAFuriousDeath
93894163b5
Implements MultiThreadResume for CpuManager (#1068)
Co-authored-by: tompro <tomas.prochazka@apertia.cz>
2024-10-26 15:39:52 +07:00
Putta Khunchalee
f919cd89b9
Enables debug trap for HVF (#1067) 2024-10-25 19:16:32 +02:00
Putta Khunchalee
a25b74104e
Moves GDB MultiThreadBase implementation out of arch-specific (#1066) 2024-10-25 09:00:00 +02:00
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
01693fa90d
Uses Corrosion to build libgui (#1058) 2024-10-21 22:35:32 +02: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
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
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