Changeset View
Changeset View
Standalone View
Standalone View
sys/boot/efi/loader/copy.c
Show All 31 Lines | |||||
#include <sys/param.h> | #include <sys/param.h> | ||||
#include <stand.h> | #include <stand.h> | ||||
#include <bootstrap.h> | #include <bootstrap.h> | ||||
#include <efi.h> | #include <efi.h> | ||||
#include <efilib.h> | #include <efilib.h> | ||||
#include "loader_efi.h" | |||||
#ifndef EFI_STAGING_SIZE | #ifndef EFI_STAGING_SIZE | ||||
#define EFI_STAGING_SIZE 48 | #define EFI_STAGING_SIZE 48 | ||||
#endif | #endif | ||||
#define STAGE_PAGES EFI_SIZE_TO_PAGES((EFI_STAGING_SIZE) * 1024 * 1024) | #define STAGE_PAGES EFI_SIZE_TO_PAGES((EFI_STAGING_SIZE) * 1024 * 1024) | ||||
EFI_PHYSICAL_ADDRESS staging, staging_end; | EFI_PHYSICAL_ADDRESS staging, staging_end; | ||||
int stage_offset_set = 0; | int stage_offset_set = 0; | ||||
▲ Show 20 Lines • Show All 92 Lines • Show Last 20 Lines |