Commit graph

  • 27af846aae hv_vm.c: Move SPTE_TYPE to bit 50 Hector Martin 2021-05-05 03:23:04 +09:00
  • 0e987f031b utils: Add flush_and_reboot() to do the iodev flush dance Hector Martin 2021-05-05 03:21:48 +09:00
  • 76b690e767 hv.py: Make ^D exit the hypervisor, not cont Hector Martin 2021-05-05 00:46:53 +09:00
  • 4b3f527de9 proxyutils: Disassemble faulting code on exceptions Hector Martin 2021-05-05 00:44:37 +09:00
  • 652c7e27a1 proxyutils.py: u.inst -> u.exec and support assembly Hector Martin 2021-05-05 00:27:51 +09:00
  • 50f112c396 hv: Add support for address translation & abort decoding Hector Martin 2021-05-05 00:27:21 +09:00
  • a3440f2b48 hv: Support cleanly exiting the hypervisor from an exception Hector Martin 2021-05-05 00:24:52 +09:00
  • d35fa5e0fc iodev: Add iodev_console_kick() Hector Martin 2021-05-05 00:25:22 +09:00
  • 5ad0bdf994 sysreg: Fix ESR_ISS_MSR.CRm field bounds Hector Martin 2021-05-04 23:01:55 +09:00
  • 78895edf2c hv.py: Properly copy ADT and TrustCache into guest region Hector Martin 2021-05-04 22:57:08 +09:00
  • 954408cc65 chainload: Support old-school call based chainloading Hector Martin 2021-05-04 22:45:18 +09:00
  • 826bdb709c sysreg.py: Correct SPSR definition for AArch64 mode Hector Martin 2021-05-04 20:05:54 +09:00
  • 4d64c33ca6 hv: Implement basic exception handling Hector Martin 2021-05-04 19:36:23 +09:00
  • b015dcf272 shell.py: Make usable as a module Hector Martin 2021-05-04 19:35:19 +09:00
  • 315fcf36aa uartproxy: Add support for nested invocations Hector Martin 2021-05-04 19:34:08 +09:00
  • 38b716c33c hv.py: Do not fail if ADT was already mutated Hector Martin 2021-05-04 19:32:18 +09:00
  • 23c723003f sysreg.py: Move sysreg definitions here from proxyutils Hector Martin 2021-05-04 19:31:41 +09:00
  • 35d564801a utils.py: Add Register class to handle register fields Hector Martin 2021-05-04 19:26:41 +09:00
  • 4cc0f45c9d arm_cpu_regs.h: Add SYS_ESR_EL2 Hector Martin 2021-05-04 19:25:46 +09:00
  • 785dba33ad exception_asm: Fix missing register restores Hector Martin 2021-05-04 19:24:52 +09:00
  • a326aca956 hv: Enable physical timer for EL1 properly Hector Martin 2021-05-04 19:23:35 +09:00
  • 23304719cd hv: Move VM code to hv_vm.c Hector Martin 2021-05-04 15:38:17 +09:00
  • 2df4654555 hv.py: Disable secondary CPUs for now Hector Martin 2021-05-03 21:48:32 +09:00
  • 95542a4619 kboot: Handle missing CPUs properly Hector Martin 2021-05-03 21:47:57 +09:00
  • 948e507031 hv: Update ADT to fix SEPFW address and disable HV USB Hector Martin 2021-05-03 21:16:55 +09:00
  • 9584e7d312 uartproxy: Add IODEV_WHOAMI feature to get current iodev Hector Martin 2021-05-03 21:03:28 +09:00
  • a3e50e8f44 proxy.py: Use the enum module for GUARD_/USAGE_/IODEV_ Hector Martin 2021-05-03 21:02:32 +09:00
  • ec9221cf32 adt.py: Support serializing back to binary ADT Hector Martin 2021-05-03 21:05:09 +09:00
  • 7d18e8afb9 hv.py: Add missing file Hector Martin 2021-05-03 21:05:09 +09:00
  • 1ae60ad715 hv: Beginnings of a hypervisor Hector Martin 2021-05-01 19:05:21 +09:00
  • 1ff5b82aab iodev/usb: Do not crash if USB was not initialized Hector Martin 2021-05-01 19:04:38 +09:00
  • 4547773edf setup.py: Remove unnecessary imports Hector Martin 2021-05-01 19:04:01 +09:00
  • 63366e43d2 proxy.py: Fix typo Hector Martin 2021-05-01 19:03:46 +09:00
  • 5fdeb1c3e3 chainload.py: Remove useless import Hector Martin 2021-05-01 19:03:21 +09:00
  • 68156fd806 utils.h: Add alignment and field macros Hector Martin 2021-05-01 19:02:49 +09:00
  • 8b1ea3f04d proxyutils: Make heap size configurable Hector Martin 2021-05-01 19:02:25 +09:00
  • 2a1a04ea0d setup.py: Move baudrate auto setup to proxyutils Hector Martin 2021-05-01 18:49:21 +09:00
  • 26c4ab3888 formatting: Sort main include first Hector Martin 2021-05-01 18:31:58 +09:00
  • 45a0054f63 Add build-time printf() argument checking and fix warnings Hector Martin 2021-05-01 18:23:44 +09:00
  • 7c2dace0b0 chainload.py: Cleanup, move Mach-O loader to macho.py Hector Martin 2021-05-01 15:15:43 +09:00
  • a489a646bd Add tools for ARM sysreg database management Hector Martin 2021-05-01 15:14:35 +09:00
  • 7bb490eb58 utils.py: New file for misc util functions (non proxy) Hector Martin 2021-05-01 15:13:29 +09:00
  • aaf4b2785b Rename utils.py -> proxyutils.py Hector Martin 2021-05-01 15:11:23 +09:00
  • 882610b50e cpu_regs.h: s/SYS_APL/SYS_IMP_APL/ to match Linux Hector Martin 2021-04-29 15:45:44 +09:00
  • fcd103b2a4 proxy.py: Reopen port on reboot if necessary Hector Martin 2021-04-27 19:49:03 +09:00
  • 80f73926e8 proxy.py: Move M1N1DEVICE/UART port open logic into UartInterface Hector Martin 2021-04-27 19:48:35 +09:00
  • d59c388519 Mach-O payload support #52 Pip Cet 2021-04-20 00:10:11 +00:00
  • 3517e58f91 chainload.py: add exception handling for --el1 case #51 Jean-Francois Bortolotti 2021-04-17 22:21:09 +02:00
  • 903d345492 chainload.py: reconnect after reboot (useful for USB) Jean-Francois Bortolotti 2021-04-17 22:09:56 +02:00
  • 82978081f8 chainload.py: Fix el1 support Jean-Francois Bortolotti 2021-04-17 19:20:27 +02:00
  • 17dc1a10b8 chainload.py: Fix el1 support #50 Jean-Francois Bortolotti 2021-04-17 19:20:27 +02:00
  • bb9f2f2749 pcie: minimal initialization #46 Mark Kettenis 2021-04-11 15:44:23 +02:00
  • c2e2094b95 usb_dwc3: Add missing space to product name string Hector Martin 2021-04-17 19:10:41 +09:00
  • 2cf46a3205 proxy: linux.py: allow to load u-boot before Linux #49 Sven Peter 2021-04-17 11:10:37 +02:00
  • f6297437c0 linux.py: Allow specifying a separate TTY device Hector Martin 2021-04-17 17:42:16 +09:00
  • 7dfe24ee2c Rework kboot/chainload flow to shut down before calling the next stage Hector Martin 2021-04-17 17:39:44 +09:00
  • bcece01769 usb: Hook up to iodev and bring up after payload boot attempt Hector Martin 2021-04-17 16:44:39 +09:00
  • 4f7ae843fa usb_dwc3: Fix read/write transfer pumping, add missing funcs Hector Martin 2021-04-17 16:43:52 +09:00
  • df9218582e usb_dwc3: Use new VID/PID Hector Martin 2021-04-17 16:42:55 +09:00
  • 108f104e96 usb_dwc3: USB compliance improvements Hector Martin 2021-04-17 16:42:30 +09:00
  • fcdf2aede9 smp: Print success message on CPU#0 Hector Martin 2021-04-17 16:30:18 +09:00
  • 34c1dc50ae iodev: Add iodev_handle_events() and iodev_console_flush() Hector Martin 2021-04-17 16:29:03 +09:00
  • d3957cc89d iodev: Fix error returns for iodev_read/write Hector Martin 2021-04-17 16:28:07 +09:00
  • 565753980a iodev: Move primary core check into iodev, always use in_iodev logic Hector Martin 2021-04-17 16:27:38 +09:00
  • 303118fd93 uartproxy: Convert to iodev Hector Martin 2021-04-17 16:26:41 +09:00
  • 88e1612c09 uartproxy: s/CRCERR/CSUMERR/ and actually use it Hector Martin 2021-04-17 16:25:48 +09:00
  • 8104ec02c4 iodev: Add proxy ops Hector Martin 2021-04-15 23:17:15 +09:00
  • ce79483165 proxy: Add support for passing buffer/string values to reqs Hector Martin 2021-04-15 23:14:41 +09:00
  • c8f59566eb fb: Remove unused enable/disable code Hector Martin 2021-04-15 22:53:13 +09:00
  • f8c1c65cf9 Revert "proxy: add fb console console ops" Hector Martin 2021-04-15 22:51:00 +09:00
  • cc4a5d312d iodev: Add new framework for I/O and console devices Hector Martin 2021-04-15 22:47:33 +09:00
  • 1c518ded09 types.h: Include stdbool.h, define ssize_t Hector Martin 2021-04-15 22:45:58 +09:00
  • d63e84d2f7 fb: add fb_console_reserve_lines() Hector Martin 2021-04-15 22:44:55 +09:00
  • 151c601b2a Revert "fb: add earlycon to capture messages before fb_init" Hector Martin 2021-04-15 22:36:12 +09:00
  • add04246e7 usb: add clock/power/phy bringup Sven Peter 2021-03-14 13:03:13 +01:00
  • 59ba266b11 usb: add DWC3 CDC ACM code Sven Peter 2021-03-14 12:42:18 +01:00
  • ea362ea8f9 ringbuffer: add a simple ringbuffer data structure Sven Peter 2021-03-13 20:16:21 +01:00
  • 00e862238c usb: add usb_types.h Sven Peter 2021-03-14 12:29:48 +01:00
  • 50afcd1ffe usb: add more registers and removed linux-specific code from usb_dwc3_regs.h Sven Peter 2021-03-13 16:57:35 +01:00
  • ac13c3b17f usb: add drivers/usb/dwc3/core.h from linux Sven Peter 2021-03-02 19:11:21 +01:00
  • 17fdc79c13 utils.h: add mdelay Sven Peter 2021-03-07 09:11:28 +01:00
  • 0c5e29c84a usb: add clock/power/phy bringup #47 Sven Peter 2021-03-14 13:03:13 +01:00
  • 0c39b58e10 usb: add DWC3 CDC ACM code Sven Peter 2021-03-14 12:42:18 +01:00
  • 1c6587bb18 ringbuffer: add a simple ringbuffer data structure Sven Peter 2021-03-13 20:16:21 +01:00
  • 0e3e54b7df usb: add usb_types.h Sven Peter 2021-03-14 12:29:48 +01:00
  • 8040613932 usb: add more registers and removed linux-specific code from usb_dwc3_regs.h Sven Peter 2021-03-13 16:57:35 +01:00
  • 66373950b8 usb: add drivers/usb/dwc3/core.h from linux Sven Peter 2021-03-02 19:11:21 +01:00
  • 9d9b9791cc utils.h: add mdelay Sven Peter 2021-03-07 09:11:28 +01:00
  • 35007b700e proxy: add dart ops Sven Peter 2021-04-14 16:58:38 +02:00
  • 881e006879 proxy: add dart ops #48 Sven Peter 2021-04-14 16:58:38 +02:00
  • 6d87b3b016 chainload.py: Improve chainloading Hector Martin 2021-04-14 21:13:19 +09:00
  • b40fffea20 adt.py: Add basic ADT parser Hector Martin 2021-04-14 21:12:38 +09:00
  • de0456b9a5 proxy: add fb console console ops Sven Peter 2021-03-15 00:39:54 +01:00
  • 5d4067642e fb: add earlycon to capture messages before fb_init Sven Peter 2021-03-14 23:59:33 +01:00
  • 2873aed75a memory: speed hack: scroll fb console before shutting down the MMU Sven Peter 2021-03-14 23:50:32 +01:00
  • fd2deed39b fb: add framebuffer console Sven Peter 2021-03-14 23:50:01 +01:00
  • 819b16fbe4 fb.c: minor cleanup Sven Peter 2021-02-12 20:09:49 +01:00
  • 05e7306bf9 fb console: add Source Code Pro font Sven Peter 2021-02-12 22:27:39 +01:00
  • f80933a7d3 utils.h: add is_primary_core Sven Peter 2021-03-14 22:40:02 +01:00
  • 1a04590ed3 utils.h: add min and max Sven Peter 2021-03-07 09:11:17 +01:00