commit | c340cf8207d5af9d0a6c5a01ed0cf186ec402825 | [log] [tgz] |
---|---|---|
author | Arve Hjønnevåg <arve@android.com> | Thu Aug 20 14:36:49 2020 -0700 |
committer | Arve Hjønnevåg <arve@android.com> | Mon Oct 26 18:26:07 2020 -0700 |
tree | 7ddfbf243ae506532061b578a25247b813832d05 | |
parent | c83b382b0a7b183a2b9d15118675309023312d7d [diff] |
[kernel][thread] Remove direct thread_lock access. Add thread_lock_ints_disabled and thread_unlock_ints_disabled for callers that can't use THREAD_LOCK and THREAD_UNLOCK. Also use existing thread_lock_held helper instead of accessing the spin-lock directly in debug checks. Bug: 165823021 Change-Id: I8da18b8289222d644d36cbfe9e8b933adff94129
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