commit | 7af0f15220ff08d1f53a4238573a5dcfaa34eb1a | [log] [tgz] |
---|---|---|
author | Matthew Maurer <mmaurer@google.com> | Fri Oct 04 17:34:43 2019 -0700 |
committer | Matthew Maurer <mmaurer@google.com> | Fri Oct 11 19:53:49 2019 +0000 |
tree | 5168e33b01ca01f1491819b1d632402ac7116b7a | |
parent | 2382685ee729c5391d3952f61f065cf369927af2 [diff] |
[arch][arm/arm64] Allow CPU number override On some platforms, our default mechanism for generating cpu numbers will not generate a non-intersecting, contiguous list regardless of what values our compile-time parameters are set to. This patch moves those mechanisms into weak functions so that the platform can override them with a custom mechanism if necessary. Bug: 118744765 Change-Id: I0dd16f287afdc9b8a723cad107862c178e3344a0
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