From f327ade1d0333deee519b2c2977f8edae5b9fa3d Mon Sep 17 00:00:00 2001 From: Ross Philipson Date: Tue, 14 Mar 2017 20:20:25 -0400 Subject: Some type-os and copy paste mistakes. Signed-off-by: Ross Philipson --- README | 12 ++++++------ tboot/efiboot.c | 2 +- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/README b/README index 3653688..ca1f96c 100644 --- a/README +++ b/README @@ -18,8 +18,8 @@ in conjunction with Xen at the moment. The current development work is being done on Fedora 25 x64. The status as of March 14, 2017 is: - - EFI TBOOT will boot, but it needs a few key strokes to get getting - going (this is for debugging purposes). + - EFI TBOOT will boot, but it needs a few key strokes to get going (this is + for debugging purposes). - EFI TBOOT will relocate itself to EFI runtime memory and setup a shared runtime variable with Xen. - EFI related configuration setup is done as well as standard TBOOT pre- @@ -61,7 +61,7 @@ $ sudo dnf install mtools.x86_64 $ sudo dnf install efibootmgr Get the latest gnu-efi package, make and install it (see README.gnuefi in the -project). Note Fedora had a gnu-efi RPM but these was some issue with it. +project). Note Fedora has a gnu-efi RPM but there was some issue with it. Using the latest and building it is working fine. https://sourceforge.net/projects/gnu-efi/ @@ -95,8 +95,8 @@ At this point, building Xen is more or less following the instructions here: https://wiki.xenproject.org/index.php?title=Xen_EFI&oldid=14685 -Note this is an early version of the instructions which is being used. The -xen.fedora.efi.build.patch patch mentioned here is already in the efi-tboot +This is an earlier version of the instructions which is being used here. The +xen.fedora.efi.build.patch patch mentioned on the pages already in the efi-tboot patch set for Xen and applied above. We will sort out build issues like using the new instructions later. To build and install: @@ -134,7 +134,7 @@ $ cd efi-tboot/tboot $ make $ sudo mkdir /boot/efi/EFI/TBOOT $ sudo cp tboot.efi /boot/efi/EFI/TBOOT -$ cp tboot.cfg /boot/efi/EFI/TBOOT +$ sudo cp tboot.cfg /boot/efi/EFI/TBOOT Create new EFI boot target: diff --git a/tboot/efiboot.c b/tboot/efiboot.c index 37ff734..aa7e855 100644 --- a/tboot/efiboot.c +++ b/tboot/efiboot.c @@ -404,7 +404,7 @@ static EFI_STATUS efi_load_configs(void) goto err; } - /* Make a copy of the raw TBOOT config in the MLE */ + /* Make a copy of the raw Xen config in the MLE */ memcpy(g_xen_config_file, (void*)addr, size); g_configs[EFI_CONFIG_XEN].u.buffer = g_xen_config_file; g_configs[EFI_CONFIG_XEN].size = size; -- cgit v1.2.3