commit | 874a3a5a0aca54c632bda39af0ffa13624fabda8 | [log] [tgz] |
---|---|---|
author | Mike McTernan <mikemcternan@google.com> | Thu Mar 07 11:41:28 2024 +0000 |
committer | Mike McTernan <mikemcternan@google.com> | Mon Mar 11 17:01:50 2024 +0000 |
tree | f60323fbc65781d4a4268c6e254f9e61a26227ab | |
parent | d3d90dd086e4defaeb6f9bf9d99531aa03e7a7d8 [diff] |
trusty: lk: Set WXN Set SCTLR.WXN so that writable pages are non-executable (NX), independent of PTEs. Bug: 328206729 Test: Build and run build tests. Change-Id: I75b972393be90ba837bb094ccd518235b9dc6547
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