commit | 677afa3fff2cdaa623cd16d46d33f298b1abd177 | [log] [tgz] |
---|---|---|
author | Andrei Homescu <[email protected]> | Fri Apr 15 01:19:32 2022 +0000 |
committer | Andrei Homescu <[email protected]> | Fri Apr 15 01:55:00 2022 +0000 |
tree | 5404795f2b5ffda1ab381e87d2c2034fda2ca42a | |
parent | 6cb971ea5ee8b4b1e8b1be28283a60f8593047f4 [diff] |
[arch][arm64] Set up early boot exception handlers During early boot, we might not have a stack or other context set up for the actual exception handlers. In that small window, we now redirect all exceptions to platform_early_halt to exit somewhat cleanly to non-secure instead of looping infinitely in case an exception occurs. Test: injected an invalid memory access into early_mmu.c Bug: 223900674 Change-Id: I6b9490b8e5138f174e93188650a40de5af3f3488
The LK embedded kernel. An SMP-aware kernel designed for small systems.
See https://github.com/littlekernel/lk for the latest version.
See https://github.com/littlekernel/lk/wiki for documentation.
This will get you a interactive prompt into LK which is running in qemu arm machine ‘virt’ emulation. type ‘help’ for commands.
note 1: for ubuntu: sudo apt-get install gcc-arm-none-eabi or fetch a prebuilt toolchain from http://newos.org/toolchains/arm-eabi-5.3.0-Linux-x86_64.tar.xz