refactor: rename stage1.{h,c} in stage2_params.{h,c}

pull/443/head
Marco Oliverio 2024-03-14 11:28:20 +01:00
parent 7ce14a242a
commit e96babef24
11 changed files with 12 additions and 11 deletions

View File

@ -733,7 +733,7 @@ ifeq ("${FSP}", "1")
OBJS += src/x86/ata.o OBJS += src/x86/ata.o
OBJS += src/x86/gpt.o OBJS += src/x86/gpt.o
OBJS += src/x86/mptable.o OBJS += src/x86/mptable.o
OBJS += src/stage1.o OBJS += src/stage2_params.o
OBJS += src/x86/exceptions.o OBJS += src/x86/exceptions.o
UPDATE_OBJS := src/update_disk.o UPDATE_OBJS := src/update_disk.o
ifeq ($(64BIT),1) ifeq ($(64BIT),1)

View File

@ -1,4 +1,4 @@
/* stage1.h /* stage2_params.h
* *
* Copyright (C) 2023 wolfSSL Inc. * Copyright (C) 2023 wolfSSL Inc.
* *

View File

@ -33,7 +33,7 @@
#include <x86/paging.h> #include <x86/paging.h>
#include <pci.h> #include <pci.h>
#include <target.h> #include <target.h>
#include <stage1.h> #include <stage2_params.h>
#include "wolfboot/wolfboot.h" #include "wolfboot/wolfboot.h"
#include "image.h" #include "image.h"

View File

@ -34,7 +34,7 @@
#include <x86/common.h> #include <x86/common.h>
#include <printf.h> #include <printf.h>
#include <stage1.h> #include <stage2_params.h>
#include <x86/mptable.h> #include <x86/mptable.h>
#if defined(WOLFBOOT_LINUX_PAYLOAD) #if defined(WOLFBOOT_LINUX_PAYLOAD)

View File

@ -28,7 +28,7 @@
#include <multiboot.h> #include <multiboot.h>
#ifdef WOLFBOOT_FSP #ifdef WOLFBOOT_FSP
#include <stage1.h> #include <stage2_params.h>
#endif #endif
#define MB2_HEADER_MAX_OFF (32768 - 4) #define MB2_HEADER_MAX_OFF (32768 - 4)

View File

@ -1,4 +1,4 @@
/* stage1.h /* stage2_params.h
* *
* Copyright (C) 2023 wolfSSL Inc. * Copyright (C) 2023 wolfSSL Inc.
* *
@ -18,7 +18,7 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1335, USA
*/ */
#include <stage1.h> #include <stage2_params.h>
/* must be global so the linker will export the symbol. It's used from loader 1 /* must be global so the linker will export the symbol. It's used from loader 1
* to fill the parameters */ * to fill the parameters */

View File

@ -41,7 +41,7 @@
#include "hal.h" #include "hal.h"
#include "spi_flash.h" #include "spi_flash.h"
#include "printf.h" #include "printf.h"
#include "stage1.h" #include "stage2_params.h"
#include "wolfboot/wolfboot.h" #include "wolfboot/wolfboot.h"
#include <stdint.h> #include <stdint.h>
#include <string.h> #include <string.h>

View File

@ -45,7 +45,7 @@
#include <tpm.h> #include <tpm.h>
#if defined(WOLFBOOT_FSP) #if defined(WOLFBOOT_FSP)
#include <stage1.h> #include <stage2_params.h>
#endif #endif
#include <wolfssl/wolfcrypt/coding.h> #include <wolfssl/wolfcrypt/coding.h>

View File

@ -30,7 +30,7 @@
#ifdef WOLFBOOT_FSP #ifdef WOLFBOOT_FSP
#include <x86/hob.h> #include <x86/hob.h>
#include <stage1.h> #include <stage2_params.h>
#endif /* WOLFBOOT_FSP */ #endif /* WOLFBOOT_FSP */
#define ENDLINE "\r\n" #define ENDLINE "\r\n"

View File

@ -25,6 +25,7 @@
#include <x86/hob.h> #include <x86/hob.h>
#include <uart_drv.h> #include <uart_drv.h>
#include <x86/ahci.h> #include <x86/ahci.h>
#include <stage2_params.h>
#define FSPM_UPD_SIGNATURE 0x4D5F4450554D4551 /* 'QEMUPD_M' */ #define FSPM_UPD_SIGNATURE 0x4D5F4450554D4551 /* 'QEMUPD_M' */
#define FSPT_UPD_SIGNATURE 0x545F4450554D4551 /* 'QEMUPD_T' */ #define FSPT_UPD_SIGNATURE 0x545F4450554D4551 /* 'QEMUPD_T' */

View File

@ -46,7 +46,7 @@
#include <x86/fsp/FspmUpd.h> #include <x86/fsp/FspmUpd.h>
#include <x86/fsp/FspsUpd.h> #include <x86/fsp/FspsUpd.h>
#include <x86/ahci.h> #include <x86/ahci.h>
#include <stage1.h> #include <stage2_params.h>
#define PCR_DMI_PORT_ID 0x88 #define PCR_DMI_PORT_ID 0x88
#define PCR_DMI_LPCLGIR1 0x2730 #define PCR_DMI_LPCLGIR1 0x2730