commit | 935889691ac6b52962bba7e1ec1a1ce35ee85a59 | [log] [tgz] |
---|---|---|
author | Per Larsen <perlarsen@google.com> | Mon Mar 25 06:35:41 2024 +0000 |
committer | Per Larsen <perlarsen@google.com> | Mon Mar 25 06:48:20 2024 +0000 |
tree | 7d975972f074d9a3a556e836aefa9063318fa885 | |
parent | e8b53f528aedc0d57de6091e72fac965c78479ab [diff] |
lib: rust_support: fix mutex_t wrapper impl Testing aosp/2994822 immediately causes a panic because mutex_acquire and mutex_release in the trusty kernel returns NO_ERROR (0) on success but the rust code asserts that the response is non zero. Test: with appropriate patches applied, build.py generic-x86_64-test Bug: 298705967 Change-Id: I16f4371640f4b5fa7fa77e6775df5f3ce38765fa
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