commit | d3d90dd086e4defaeb6f9bf9d99531aa03e7a7d8 | [log] [tgz] |
---|---|---|
author | Stephen Crane <cranes@google.com> | Thu Mar 07 23:36:51 2024 +0000 |
committer | Stephen Crane <cranes@google.com> | Thu Mar 07 23:37:29 2024 +0000 |
tree | 95633c67068efc43ea2237acfbccb6f9d34d39da | |
parent | 429141b90ba027aaf49990e9c9f07790db5df779 [diff] |
rust: Add panic handler for the kernel Adds a Rust panic handler for the Trusty kernel that prints the panic message and location before calling the kernel panic API. Bug: 328519718 Test: Manually add panic from Rust in the kernel Change-Id: I9ed88037f9432d36e8c215994bd8c8f2bc2e9e3e
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