commit | f45d4395e68c9d5bae53da13537f54c6c929bf50 | [log] [tgz] |
---|---|---|
author | Arve Hjønnevåg <arve@android.com> | Thu Aug 20 15:11:17 2020 -0700 |
committer | Arve Hjønnevåg <arve@android.com> | Mon Nov 09 12:07:51 2020 -0800 |
tree | cf2a15cc99d5a1bee66ed05498ab4137841a37b7 | |
parent | f80971a1b074ebcebc2e2cdc64d492f18a010225 [diff] |
[kernel][thread] Add guard page around most kernel stacks Allocate kernel stacks with vmm_alloc instead of malloc to get guard pages. The initial thread for each cpu, which later becomes idle threads, are not affected by this, and will still run without guard pages. Bug: 165825378 Change-Id: I103bcfdc330d88ac0957e3dad75aa232dc20e084
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