Commit graph

  • 9604907b2d pcie: minimal initialization Mark Kettenis 2021-04-11 15:44:23 +02:00
  • 570bfa1a17
    apple_regs: add missing brackets (#55) Adam Reviczky 2021-05-15 18:42:20 +01:00
  • 3283987ba9 proxy.py: Fix spurious garbage printed to TTY Hector Martin 2021-05-16 00:04:33 +09:00
  • 28ab4e1611 hv_vm: Handle load/store instructions with update Hector Martin 2021-05-15 23:56:52 +09:00
  • afc088840d hv: Add Python-side MMIO emulation hooks Hector Martin 2021-05-15 23:55:34 +09:00
  • 323b02ce1d hv: Implement basic MMIO tracing to Python Hector Martin 2021-05-15 22:03:29 +09:00
  • a1f6b2502a usb_dwc3: Send a ZLP after multiple-of-512 transfers Hector Martin 2021-05-15 21:02:21 +09:00
  • 57708b529f usb_dwc3: Change xfer_in_progress to a bool Hector Martin 2021-05-15 21:02:07 +09:00
  • 58489bf72c iodev, usb: Add flush() call to flush buffers to the host Hector Martin 2021-05-15 21:01:25 +09:00
  • 67c7043b9a utils: In EL1, instead of rebooting, break into HV Hector Martin 2021-05-15 20:42:50 +09:00
  • 03b70eed94 hv_vm: Move dprintf macro to utils.h, add more debugging Hector Martin 2021-05-15 20:38:32 +09:00
  • 3de3b54b7e hv_asm: Restore all registers on return to guest Hector Martin 2021-05-15 20:36:39 +09:00
  • a742f05532 usb/hv: add second CDC ACM interface for virtualized UART Janne Grunau 2021-05-14 22:47:43 +02:00
  • c06b608a50 usb/hv: add second CDC ACM interface for virtualized UART #56 Janne Grunau 2021-05-14 22:47:43 +02:00
  • 9ef34e0437 Update apple_regs.json #55 Adam Reviczky 2021-05-15 11:32:03 +01:00
  • 4a893dc57a apple_regs: document more SPRR regs Sven Peter 2021-05-14 15:06:34 +02:00
  • d324e368b8 apple_regs.json: fix EL3 typo Sven Peter 2021-05-14 15:06:03 +02:00
  • 1cccb860d7 Update apple_regs.json Adam Reviczky 2021-05-14 17:49:16 +01:00
  • 87ae3a91fd hv.py: Nuke all the PCIe/TB nodes for the hypervisor Type C port Hector Martin 2021-05-15 01:39:54 +09:00
  • 5d3f154d0f hv_vm: Correctly split software mapped L2 blocks Hector Martin 2021-05-15 01:28:44 +09:00
  • bf34611bf4 hv_vm: Add out-of-bounds IPA check Hector Martin 2021-05-15 01:15:17 +09:00
  • e919b63a02 hv_vm: Add register-offset LDR/STR emulation, fix bugs Hector Martin 2021-05-15 00:43:39 +09:00
  • f7aa708324 apple_regs: document more SPRR regs #54 Sven Peter 2021-05-14 15:06:34 +02:00
  • 2cb730e293 apple_regs.json: fix EL3 typo Sven Peter 2021-05-14 15:06:03 +02:00
  • 1a5ba2c67e hv_vm: Fix bad asserts Hector Martin 2021-05-14 21:49:11 +09:00
  • e9aa876d12 Add missing xnutools.py Hector Martin 2021-05-13 22:45:46 +09:00
  • 11fb2a403b adt.py: Unbork reg parsing, fix some stuff Hector Martin 2021-05-13 22:44:50 +09:00
  • 7358e79d74 hv.py: Support pointer auth correctly Hector Martin 2021-05-13 21:28:52 +09:00
  • 248011f7a1 apple_regs.json: Correct VM pauth registers Hector Martin 2021-05-13 21:28:31 +09:00
  • 920ff59483 exception: Unbork EL1 stack Hector Martin 2021-05-13 21:14:58 +09:00
  • 11ef3bb461 proxyutils.py: Allow mrs/msr to pass region (for EL1 etc) Hector Martin 2021-05-13 20:10:51 +09:00
  • 757213b7a9 apple_regs.json: Add some EL1 registers for AP Hector Martin 2021-05-13 19:53:25 +09:00
  • 98839afab0 proxyutils.py: Use keyword-only arguments for msr/msr/inst Hector Martin 2021-05-13 19:02:57 +09:00
  • aebda5213a hv.py: Now gets pretty far into XNU boot Hector Martin 2021-05-13 19:02:35 +09:00
  • 9efa91bf87 gxf: Do not disable the MMU around GXF calls Hector Martin 2021-05-13 18:31:27 +09:00
  • b9ed00c6f3 memory: Initialize SPRR permissions Hector Martin 2021-05-13 18:16:56 +09:00
  • 495732ef6a proxyutils.py: Fix returning from ad-hoc code Hector Martin 2021-05-13 18:16:13 +09:00
  • 7fb35a8533 proxyutils.py: Call ad-hoc code in RX EL1 region Hector Martin 2021-05-13 18:15:35 +09:00
  • 8af8dadee1 memory: Support L3 mappings, map m1n1 code as RX. Hector Martin 2021-05-13 17:37:09 +09:00
  • 3e1ea2d503 memory: Add separate mappings for EL0 data access Hector Martin 2021-05-13 17:36:02 +09:00
  • 7685800b45 heapblock: Assert if not initialized Hector Martin 2021-05-13 17:33:57 +09:00
  • 9ffab4ac98 hv_vm.c: Remove stray ; Hector Martin 2021-05-13 17:33:48 +09:00
  • 4a918346a8 shell.py: Add only callables to locals, but also sysregs Hector Martin 2021-05-12 21:21:27 +09:00
  • 4d75ff90ff proxyutils.py: Support Apple impdef MSR trap decoding Hector Martin 2021-05-12 21:21:09 +09:00
  • f56318abc9 hacr_trap_bits.py: Look at ARM standard-but-not regs too Hector Martin 2021-05-12 21:20:51 +09:00
  • 857d518950 apple_regs.json: Reformat and add many more registers Hector Martin 2021-05-12 21:20:26 +09:00
  • 9268f83f9f sysreg.py: Define bitfields for more Apple regs Hector Martin 2021-05-12 21:20:06 +09:00
  • 5bea278509 sysreg.py: Add sysreg_name() helper Hector Martin 2021-05-12 21:19:50 +09:00
  • a519af2ca8 proxyutils.py: Add support for symbolizing addresses Hector Martin 2021-05-12 21:19:19 +09:00
  • 90872f460e macho.py: Support loading and importing symbol files Hector Martin 2021-05-12 21:18:12 +09:00
  • db9acba268 utils.py: Register: Initialize to 0 Hector Martin 2021-05-12 21:17:38 +09:00
  • 51bafa3c3f proxyutils.py: Fix silent arg for mrs/msr Hector Martin 2021-05-12 21:16:53 +09:00
  • ec5388d6b5 chainload.py: Support SMP when loading XNU Hector Martin 2021-05-12 21:16:33 +09:00
  • 4e545d0513 adt.py: Improve parsing of reg/ranges & add resolver Hector Martin 2021-05-12 21:16:06 +09:00
  • e58c264a07 gxf: add SPRR/GXF proxyclient experiments Sven Peter 2021-05-08 14:54:07 +02:00
  • 34123e33d8 proxyutils: added GuardedHeap Sven Peter 2021-05-08 14:54:07 +02:00
  • 1c604a77c5 gxf: add support for guarded exception levels Sven Peter 2021-05-08 14:54:07 +02:00
  • 2c5b202c99 sysreg: add support for Apple's custom sysregs Sven Peter 2021-05-08 14:54:07 +02:00
  • 9120cb8426 memory: allow to reinit and temporarily disable the MMU Sven Peter 2021-05-08 14:54:07 +02:00
  • b00c5e6522 utils.h: add msr_sync convenience macros Sven Peter 2021-05-08 14:54:07 +02:00
  • 36efdd2ac3 allow cpu_regs.h to be included in .S files Sven Peter 2021-05-08 14:54:07 +02:00
  • 813e40f4ca exception_asm.S: skip msr hcr_el2 if not required Sven Peter 2021-05-08 14:54:07 +02:00
  • 148fe31122 exception_asm.S: correctly setup sp for EL1 Sven Peter 2021-05-08 14:54:07 +02:00
  • f5246f4482 gxf: add SPRR/GXF proxyclient experiments #53 Sven Peter 2021-05-08 14:54:07 +02:00
  • b7ff2d8a39 proxyutils: added GuardedHeap Sven Peter 2021-05-08 14:54:07 +02:00
  • 3b812006d6 gxf: add support for guarded exception levels Sven Peter 2021-05-08 14:54:07 +02:00
  • e224e057e2 sysreg: add support for Apple's custom sysregs Sven Peter 2021-05-08 14:54:07 +02:00
  • da00ad2b91 memory: allow to reinit and temporarily disable the MMU Sven Peter 2021-05-08 14:54:07 +02:00
  • c5e37e8e88 utils.h: add msr_sync convenience macros Sven Peter 2021-05-08 14:54:07 +02:00
  • 0cf4452b72 allow cpu_regs.h to be included in .S files Sven Peter 2021-05-08 14:54:07 +02:00
  • a091dc3760 exception_asm.S: skip msr hcr_el2 if not required Sven Peter 2021-05-08 14:54:07 +02:00
  • fd6483a4fc exception_asm.S: correctly setup sp for EL1 Sven Peter 2021-05-08 14:54:07 +02:00
  • 9a7a5c86a5 hv.py: Map only from guest base to RAM top to guest Hector Martin 2021-05-09 03:21:27 +09:00
  • a6287ae68d proxy.py: Add defaults to hv_translate flag args Hector Martin 2021-05-09 03:20:23 +09:00
  • 19415bd6a5 run_guest.py: Support setting boot_args Hector Martin 2021-05-09 03:18:08 +09:00
  • 3fecf181f9 proxyutils.py: Only decode abort/msr info for SYNC exceptions Hector Martin 2021-05-09 03:17:34 +09:00
  • 9bfe278f52 proxyutils.py: Add disassemble_at() method Hector Martin 2021-05-09 03:17:06 +09:00
  • e3d7e569dc sysreg.py: Define an impdef EC code that Apple seems to use Hector Martin 2021-05-09 03:16:34 +09:00
  • 6ad3b263a1 macho.py: Add support for loaded section hooks for patching Hector Martin 2021-05-09 03:16:08 +09:00
  • ed32cf6328 hv_exc: Add a hacky STEP feature to interrupt guest after a while Hector Martin 2021-05-09 03:15:25 +09:00
  • bcdafe8d00 hv_vm: Short-circuit hv_translate when MMU is off Hector Martin 2021-05-09 03:12:18 +09:00
  • 8d5596a1a1 hv_vm: Fix bug when making L2 mappings Hector Martin 2021-05-09 03:11:40 +09:00
  • 52823eaab6 hv_asm: Turn off PAN on exception entry Hector Martin 2021-05-09 03:11:10 +09:00
  • 4c043a0f97 memory: Move SCTLR/TCR defines to arm_cpu_regs.h Hector Martin 2021-05-09 03:10:49 +09:00
  • aadf54d86f proxy.py: Add missing FB defines Hector Martin 2021-05-09 03:10:10 +09:00
  • f58a9774d2 hv.py: Shut down fb before entering guest Hector Martin 2021-05-08 03:43:59 +09:00
  • 0203aa6d3d proxy: Add framebuffer ops Hector Martin 2021-05-08 03:42:21 +09:00
  • 8a8a004d48 hv.py: Correctly declare BootArgs in ADT memory map Hector Martin 2021-05-08 02:40:57 +09:00
  • 530069bbfa proxyutils.py: Switch to gzip compression for writemem_compressed Hector Martin 2021-05-08 02:40:13 +09:00
  • 36a6c9de3e proxy.py: Correctly indicate USB reconnection timeout Hector Martin 2021-05-08 02:39:56 +09:00
  • adb91b4374 chainload.py: Add support for setting boot-args Hector Martin 2021-05-08 02:39:32 +09:00
  • aad892d461 fb: Implement fb_shutdown() & friends Hector Martin 2021-05-07 12:18:07 +09:00
  • c6965acc75 adt.py: Fix typo Hector Martin 2021-05-06 23:36:29 +09:00
  • f1cc65f6c0 chainload.py: Set up SEPFW address in ADT Hector Martin 2021-05-06 03:33:35 +09:00
  • bbbea9db34 proxyutils: Disable serial timeout for writemem_compressed Hector Martin 2021-05-06 03:32:39 +09:00
  • 0ae3455d51 hv_vuart: World's stupidest virtual UART implementation Hector Martin 2021-05-05 03:30:07 +09:00
  • 9407dba2e0 hv_vm: Initial data abort handling Hector Martin 2021-05-05 03:29:11 +09:00
  • 8a64441bcd hv_vm: Extend hv_translate() for stage1 and write modes Hector Martin 2021-05-05 03:27:19 +09:00
  • c0c7c57dd0 hv_vm: Fix bug inhv_pt_map_l4() Hector Martin 2021-05-05 03:24:37 +09:00
  • ce3a673413 uart: Move registers to uart_regs.h Hector Martin 2021-05-05 03:23:25 +09:00