History log of /seL4-refos-master/tools/elfloader/src/arch-arm/cpuid.c
Revision Date Author Comments
# 9f904ed2 06-Mar-2020 Gerwin Klein <gerwin.klein@data61.csiro.au>

convert license headers to SPDX

Includes license review of 3rd-party files, adding missing upstream
headers, and moving the UNSW OZPLB license into its own file rather
than replicating it in the header.


# 4a9cb2e5 11-Dec-2019 Matthew <matt.phillips121@gmail.com>

Use appropriate compiler attributes

Clang does not support all of the same attributes as GCC. Need to use
compiler specific attributes


# c85fda55 07-Apr-2019 Anna Lyons <Anna.Lyons@data61.csiro.au>

trivial: style this repo


# 1a557982 07-Jan-2019 Simon Shields <simon.shields@data61.csiro.au>

elfloader: fix ARM CPUID message on EFI

At O2 and higher, the switch gets optimised into a table of strings.
Unfortunately, the compiler doesn't properly handle this when building
position-independent code with -fpic - the switch gets turned into this:

404b30: f0000021 adrp x1, 40b000 <cpio_ls+0x4e0>
404b34: 910cc021 add x1, x1, #0x330
404b38: f8605820 ldr x0, [x1, w0, uxtw #3]
404b3c: d65f03c0 ret

which will return the un-relocated address of the string, rather than
the position-independent address. Fix this by forcing the two
affected functions to use O1 even in release builds.


# 96e61aa6 13-Jul-2017 Anna Lyons <Anna.Lyons@data61.csiro.au>

Fix whitespace

- remove trailing whitespace
- remove duplicate blank lines
- remove blank lines at end of file


# 935ee687 04-Jun-2017 Anna Lyons <Anna.Lyons@data61.csiro.au>

Fix licenses


# d33e71c1 20-Dec-2016 amrzar <azarrabi@nicta.com.au>

elfloader: refactor files to imitate kernel design
- move files to src/include folders
- update files as required, e.g. renaming files and folders to prevent conflicts


# 372ef665 28-May-2016 Alexander Kroh <alex.kroh@nicta.com.au>

Raspberry PI 3 port


# 839aab9b 26-Jan-2016 amrzar <azarrabi@nicta.com.au>

Add efi/64bit and Hikey platforms