On 11/14/2018 06:24 PM, Matthew Garrett wrote:
> From: Matthew Garrett
>
> Add support for performing basic TPM measurements. Right now this only
> supports extending PCRs statically and only on UEFI. In future we might
> want to have some sort of mechanism for choosing which events get logged
>
On Thu, Nov 15, 2018 at 1:27 AM Alexander Graf wrote:
>
> Some architectures want to boot Linux as plain UEFI binary. Today that
> really only encompasses ARM and AArch64, but going forward more
> architectures may adopt that model.
>
> So rename our internal API accordingly.
>
> Signed-off-by: Al
On Thu, Nov 15, 2018 at 1:27 AM Alexander Graf wrote:
>
> On entry, we need to save the system table pointer as well as our image
> handle. Add an early startup file that saves them and then brings us
> into our main function.
>
> Signed-off-by: Alexander Graf
> Reviewed-by: Alistair Francis
> -
On Thu, Nov 15, 2018 at 1:27 AM Alexander Graf wrote:
>
> The RISC-V ABI document outlines ELF header structure and relocation
> information. Pull the respective magic numbers into our elf header
> so we can make use of them.
>
> Signed-off-by: Alexander Graf
> Reviewed-by: Alistair Francis
> --
Hi Alex,
On Thu, Nov 15, 2018 at 1:27 AM Alexander Graf wrote:
>
> This patch adds support for RISC-V to the grub build system. With this
> patch, I can successfully build grub on RISC-V as a UEFI application.
>
> Signed-off-by: Alexander Graf
> Reviewed-by: Alistair Francis
>
> ---
>
> v2 -> v
On Thu, Nov 15, 2018 at 1:27 AM Alexander Graf wrote:
>
> This patch adds a 32/64 capable setjmp implementation for RISC-V.
>
> Signed-off-by: Alexander Graf
> Reviewed-by: Alistair Francis
> ---
> grub-core/lib/riscv/setjmp.S | 82
> +++
> include/grub
On Thu, Nov 15, 2018 at 1:27 AM Alexander Graf wrote:
>
> The PE format defines magic numbers as well as relocation identifiers for
> RISC-V. Add them to our include file, so we can make use of them.
>
> Signed-off-by: Alexander Graf
> Reviewed-by: Leif Lindholm
> Reviewed-by: Alistair Francis