Commit Graph

  • b2c910fb9f hv: support setting IPA base/size main osy 2026-01-09 23:00:36 -08:00
  • 6071e6ecb4 hv: support setting IPA granule osy 2026-01-08 10:37:43 -08:00
  • f8fc8d8f50 project: add stub target for simulator builds osy 2025-07-04 21:17:13 -07:00
  • ee96dadeea project: updated to work with macOS 15.2 headers osy 2025-02-20 16:13:34 -08:00
  • eaf6d74362 project: updated to work with macOS 15 headers osy 2024-10-02 10:43:37 -07:00
  • bcec1a8b0c Merge pull request #3 from xliuxu/xnu22 osy 2023-12-09 22:10:48 -06:00
  • 075257fede Merge branch 'zhuowei-typo-and-pac-comments' osy 2023-12-09 22:10:10 -06:00
  • 74e9c485f9 Add support for XNU 22 Xu Liu 2023-12-01 18:04:54 +08:00
  • 2a2f42b077 hv: fix typo in hv_vcpu_set_reg osy 2023-01-07 14:32:01 -08:00
  • b4eb0e00c0 hv: expose some new APIs to enable TSO on entitled systems osy 2022-12-28 20:22:35 -08:00
  • c694e42468 hv: actually the whole file is wrong for XNU 20.6 osy 2022-10-08 23:30:48 -05:00
  • 284b378e63 hv: offset version wrong for XNU 20.6 osy 2022-10-07 11:41:18 -05:00
  • e4f3dd01fd hv: added XNU 20.4 offsets osy 2022-09-16 15:30:36 +03:00
  • 9c629d3304 find_sys_reg: add missing offset for XNU 20 osy 2022-09-15 23:11:17 +03:00
  • cc2900ba4f hv: added XNU 20 offsets osy 2022-09-15 15:26:17 +03:00
  • 3196bc069a deliver_pac_trap: add comments with PAC hypercall names Zhuowei Zhang 2022-09-13 02:01:26 -04:00
  • a3fc635d52 hv_vcpu_set_reg: fix typo for setting fp Zhuowei Zhang 2022-09-13 02:00:05 -04:00
  • ab117b273b hv_vcpu_run: inverted logic when activating timer osy 2022-09-09 07:27:25 -07:00
  • d9dddd99db deliver_msr_trap: simplify logic osy 2022-09-09 00:52:12 -07:00
  • d8bf784294 project: convert hv.m to hv.c osy 2022-09-08 23:19:58 -07:00
  • 5ae503b4f3 project: added xcode project and modulemap osy 2022-09-07 15:27:42 -07:00
  • 7b04ad2db7 hv_vcpu_{get|set}_sys_reg: handle syncing only when needed osy 2022-09-07 14:19:42 -07:00
  • a0c86f279d hv_vcpu_run: decompile all cases for exception handling osy 2022-09-07 14:19:13 -07:00
  • cdf94720fa hv_vcpu_run: support timer_enabled osy 2022-09-07 14:17:48 -07:00
  • 8caa32565a hv_vcpu_create: allow disabling of unsupported check bypass osy 2022-09-07 14:17:00 -07:00
  • 306fb7eca0 hv_vcpu_create: support PAC updates osy 2022-09-07 14:16:19 -07:00
  • 619f719d77 hv_vm_create: handle config args osy 2022-09-07 14:14:06 -07:00
  • 4a7229e612 hv_vcpu_config_get_feature_regs: Update feature regs with masking osy 2022-09-07 14:13:31 -07:00
  • 87a9b023af hv_vcpu_config_get_feature_regs: add feature regs osy 2022-09-07 14:11:57 -07:00
  • ab82be558c implement get capabilities, populate ID registers Zhuowei Zhang 2022-06-06 00:05:10 -04:00
  • f35ca73a47 try getting task port from bootstrap_look_up Zhuowei Zhang 2022-06-04 20:30:49 -04:00
  • 7716521fb9 fix hv_vcpu_run not using cpuid Zhuowei Zhang 2022-05-30 20:37:07 -04:00
  • cfe2e7729b add scripts for building for iOS as a library Zhuowei Zhang 2022-05-30 20:20:41 -04:00
  • 6c6ee340ac fix struct for iOS 14.1 based on the macOS 11.3 (20E232) KDK Zhuowei Zhang 2022-05-30 20:19:54 -04:00
  • 283c1c8a4d fix injecting interrupts; qemu now works on macOS with this lib injected Zhuowei Zhang 2022-05-30 16:57:06 -04:00
  • e6d8ee8784 more sysregs, run in a loop Zhuowei Zhang 2022-05-30 15:40:17 -04:00
  • 3fc80e5cfb build as library, implement/stub remaining functions for qemu Zhuowei Zhang 2022-05-30 14:53:28 -04:00
  • d77c44cd55 drop the no hvf header declarations Zhuowei Zhang 2022-05-30 13:47:27 -04:00
  • 516e4fac25 move demo into its own file Zhuowei Zhang 2022-05-30 13:47:00 -04:00
  • 925d107f78 extract sysreg offsets Zhuowei Zhang 2022-05-30 13:34:20 -04:00
  • e39e156147 add better demo code Zhuowei Zhang 2022-05-30 00:08:16 -04:00
  • d368b281e4 use kexec userclient to call kernel functions (for iPhone 12/iOS 14.1) Zhuowei Zhang 2022-05-29 23:41:14 -04:00
  • 6e4abd0e16 more set/get reg Zhuowei Zhang 2022-05-29 22:45:39 -04:00
  • 74cdb2d02b hv_vcpu_create/hv_vcpu_run, extract structs from kernel Zhuowei Zhang 2022-05-29 20:29:53 -04:00
  • a62ded0e76 Initial commit Zhuowei Zhang 2022-04-02 02:04:21 -04:00