mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-27 23:54:02 +02:00
ARM Packages: Corrected non-DOS line endings
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ronald Cron <ronald.cron@arm.com> Reviewed-By: Olivier Martin <olivier.martin@arm.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15832 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
01ce353813
commit
62d441fb17
@ -157,7 +157,7 @@ ArmGicDisableDistributor (
|
|||||||
// Disable Gic Distributor
|
// Disable Gic Distributor
|
||||||
MmioWrite32 (GicDistributorBase + ARM_GIC_ICDDCR, 0x0);
|
MmioWrite32 (GicDistributorBase + ARM_GIC_ICDDCR, 0x0);
|
||||||
}
|
}
|
||||||
|
|
||||||
VOID
|
VOID
|
||||||
EFIAPI
|
EFIAPI
|
||||||
ArmGicEnableInterruptInterface (
|
ArmGicEnableInterruptInterface (
|
||||||
|
@ -208,7 +208,7 @@ InitializeExceptions (
|
|||||||
//Note: On ARM processor with the Security Extension, the Vector Table can be located anywhere in the memory.
|
//Note: On ARM processor with the Security Extension, the Vector Table can be located anywhere in the memory.
|
||||||
// The Vector Base Address Register defines the location
|
// The Vector Base Address Register defines the location
|
||||||
ArmWriteVBar (PcdGet32(PcdCpuVectorBaseAddress));
|
ArmWriteVBar (PcdGet32(PcdCpuVectorBaseAddress));
|
||||||
} else {
|
} else {
|
||||||
// The Vector table must be 32-byte aligned
|
// The Vector table must be 32-byte aligned
|
||||||
if (((UINT32)ExceptionHandlersStart & ARM_VECTOR_TABLE_ALIGNMENT) != 0) {
|
if (((UINT32)ExceptionHandlersStart & ARM_VECTOR_TABLE_ALIGNMENT) != 0) {
|
||||||
ASSERT (0);
|
ASSERT (0);
|
||||||
|
@ -300,24 +300,24 @@ TryRemovableDevice (
|
|||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
STATIC
|
STATIC
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
BdsConnectAndUpdateDevicePath (
|
BdsConnectAndUpdateDevicePath (
|
||||||
IN OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath,
|
IN OUT EFI_DEVICE_PATH_PROTOCOL **DevicePath,
|
||||||
OUT EFI_HANDLE *Handle,
|
OUT EFI_HANDLE *Handle,
|
||||||
OUT EFI_DEVICE_PATH_PROTOCOL **RemainingDevicePath
|
OUT EFI_DEVICE_PATH_PROTOCOL **RemainingDevicePath
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
EFI_DEVICE_PATH* Remaining;
|
EFI_DEVICE_PATH* Remaining;
|
||||||
EFI_DEVICE_PATH* NewDevicePath;
|
EFI_DEVICE_PATH* NewDevicePath;
|
||||||
EFI_STATUS Status;
|
EFI_STATUS Status;
|
||||||
|
|
||||||
if ((DevicePath == NULL) || (*DevicePath == NULL) || (Handle == NULL)) {
|
if ((DevicePath == NULL) || (*DevicePath == NULL) || (Handle == NULL)) {
|
||||||
return EFI_INVALID_PARAMETER;
|
return EFI_INVALID_PARAMETER;
|
||||||
}
|
}
|
||||||
|
|
||||||
do {
|
do {
|
||||||
Remaining = *DevicePath;
|
Remaining = *DevicePath;
|
||||||
// The LocateDevicePath() function locates all devices on DevicePath that support Protocol and returns
|
// The LocateDevicePath() function locates all devices on DevicePath that support Protocol and returns
|
||||||
// the handle to the device that is closest to DevicePath. On output, the device path pointer is modified
|
// the handle to the device that is closest to DevicePath. On output, the device path pointer is modified
|
||||||
// to point to the remaining part of the device path
|
// to point to the remaining part of the device path
|
||||||
@ -337,7 +337,7 @@ BdsConnectAndUpdateDevicePath (
|
|||||||
if (!EFI_ERROR (Status)) {
|
if (!EFI_ERROR (Status)) {
|
||||||
// Now, we have got the whole Device Path connected, call again ConnectController to ensure all the supported Driver
|
// Now, we have got the whole Device Path connected, call again ConnectController to ensure all the supported Driver
|
||||||
// Binding Protocol are connected (such as DiskIo and SimpleFileSystem)
|
// Binding Protocol are connected (such as DiskIo and SimpleFileSystem)
|
||||||
Remaining = *DevicePath;
|
Remaining = *DevicePath;
|
||||||
Status = gBS->LocateDevicePath (&gEfiDevicePathProtocolGuid, &Remaining, Handle);
|
Status = gBS->LocateDevicePath (&gEfiDevicePathProtocolGuid, &Remaining, Handle);
|
||||||
if (!EFI_ERROR (Status)) {
|
if (!EFI_ERROR (Status)) {
|
||||||
Status = gBS->ConnectController (*Handle, NULL, Remaining, FALSE);
|
Status = gBS->ConnectController (*Handle, NULL, Remaining, FALSE);
|
||||||
@ -360,11 +360,11 @@ BdsConnectAndUpdateDevicePath (
|
|||||||
//TODO: Should we just return success and leave the caller decide if it is the expected RemainingPath
|
//TODO: Should we just return success and leave the caller decide if it is the expected RemainingPath
|
||||||
Status = EFI_SUCCESS;
|
Status = EFI_SUCCESS;
|
||||||
} else {
|
} else {
|
||||||
Status = TryRemovableDevice (*DevicePath, Handle, &NewDevicePath);
|
Status = TryRemovableDevice (*DevicePath, Handle, &NewDevicePath);
|
||||||
if (!EFI_ERROR (Status)) {
|
if (!EFI_ERROR (Status)) {
|
||||||
Status = BdsConnectAndUpdateDevicePath (&NewDevicePath, Handle, RemainingDevicePath);
|
Status = BdsConnectAndUpdateDevicePath (&NewDevicePath, Handle, RemainingDevicePath);
|
||||||
*DevicePath = NewDevicePath;
|
*DevicePath = NewDevicePath;
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -375,28 +375,28 @@ BdsConnectAndUpdateDevicePath (
|
|||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Connect a Device Path and return the handle of the driver that support this DevicePath
|
Connect a Device Path and return the handle of the driver that support this DevicePath
|
||||||
|
|
||||||
@param DevicePath Device Path of the File to connect
|
@param DevicePath Device Path of the File to connect
|
||||||
@param Handle Handle of the driver that support this DevicePath
|
@param Handle Handle of the driver that support this DevicePath
|
||||||
@param RemainingDevicePath Remaining DevicePath nodes that do not match the driver DevicePath
|
@param RemainingDevicePath Remaining DevicePath nodes that do not match the driver DevicePath
|
||||||
|
|
||||||
@retval EFI_SUCCESS A driver that matches the Device Path has been found
|
@retval EFI_SUCCESS A driver that matches the Device Path has been found
|
||||||
@retval EFI_NOT_FOUND No handles match the search.
|
@retval EFI_NOT_FOUND No handles match the search.
|
||||||
@retval EFI_INVALID_PARAMETER DevicePath or Handle is NULL
|
@retval EFI_INVALID_PARAMETER DevicePath or Handle is NULL
|
||||||
|
|
||||||
**/
|
**/
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
BdsConnectDevicePath (
|
BdsConnectDevicePath (
|
||||||
IN EFI_DEVICE_PATH_PROTOCOL* DevicePath,
|
IN EFI_DEVICE_PATH_PROTOCOL* DevicePath,
|
||||||
OUT EFI_HANDLE *Handle,
|
OUT EFI_HANDLE *Handle,
|
||||||
OUT EFI_DEVICE_PATH_PROTOCOL **RemainingDevicePath
|
OUT EFI_DEVICE_PATH_PROTOCOL **RemainingDevicePath
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return BdsConnectAndUpdateDevicePath (&DevicePath, Handle, RemainingDevicePath);
|
return BdsConnectAndUpdateDevicePath (&DevicePath, Handle, RemainingDevicePath);
|
||||||
}
|
}
|
||||||
|
|
||||||
BOOLEAN
|
BOOLEAN
|
||||||
BdsFileSystemSupport (
|
BdsFileSystemSupport (
|
||||||
IN EFI_DEVICE_PATH *DevicePath,
|
IN EFI_DEVICE_PATH *DevicePath,
|
||||||
@ -926,8 +926,8 @@ BDS_FILE_LOADER FileLoaders[] = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
BdsLoadImageAndUpdateDevicePath (
|
BdsLoadImageAndUpdateDevicePath (
|
||||||
IN OUT EFI_DEVICE_PATH **DevicePath,
|
IN OUT EFI_DEVICE_PATH **DevicePath,
|
||||||
IN EFI_ALLOCATE_TYPE Type,
|
IN EFI_ALLOCATE_TYPE Type,
|
||||||
IN OUT EFI_PHYSICAL_ADDRESS* Image,
|
IN OUT EFI_PHYSICAL_ADDRESS* Image,
|
||||||
OUT UINTN *FileSize
|
OUT UINTN *FileSize
|
||||||
@ -938,15 +938,15 @@ BdsLoadImageAndUpdateDevicePath (
|
|||||||
EFI_DEVICE_PATH *RemainingDevicePath;
|
EFI_DEVICE_PATH *RemainingDevicePath;
|
||||||
BDS_FILE_LOADER* FileLoader;
|
BDS_FILE_LOADER* FileLoader;
|
||||||
|
|
||||||
Status = BdsConnectAndUpdateDevicePath (DevicePath, &Handle, &RemainingDevicePath);
|
Status = BdsConnectAndUpdateDevicePath (DevicePath, &Handle, &RemainingDevicePath);
|
||||||
if (EFI_ERROR (Status)) {
|
if (EFI_ERROR (Status)) {
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
|
||||||
FileLoader = FileLoaders;
|
FileLoader = FileLoaders;
|
||||||
while (FileLoader->Support != NULL) {
|
while (FileLoader->Support != NULL) {
|
||||||
if (FileLoader->Support (*DevicePath, Handle, RemainingDevicePath)) {
|
if (FileLoader->Support (*DevicePath, Handle, RemainingDevicePath)) {
|
||||||
return FileLoader->LoadImage (*DevicePath, Handle, RemainingDevicePath, Type, Image, FileSize);
|
return FileLoader->LoadImage (*DevicePath, Handle, RemainingDevicePath, Type, Image, FileSize);
|
||||||
}
|
}
|
||||||
FileLoader++;
|
FileLoader++;
|
||||||
}
|
}
|
||||||
@ -955,16 +955,16 @@ BdsLoadImageAndUpdateDevicePath (
|
|||||||
}
|
}
|
||||||
|
|
||||||
EFI_STATUS
|
EFI_STATUS
|
||||||
BdsLoadImage (
|
BdsLoadImage (
|
||||||
IN EFI_DEVICE_PATH *DevicePath,
|
IN EFI_DEVICE_PATH *DevicePath,
|
||||||
IN EFI_ALLOCATE_TYPE Type,
|
IN EFI_ALLOCATE_TYPE Type,
|
||||||
IN OUT EFI_PHYSICAL_ADDRESS* Image,
|
IN OUT EFI_PHYSICAL_ADDRESS* Image,
|
||||||
OUT UINTN *FileSize
|
OUT UINTN *FileSize
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
return BdsLoadImageAndUpdateDevicePath (&DevicePath, Type, Image, FileSize);
|
return BdsLoadImageAndUpdateDevicePath (&DevicePath, Type, Image, FileSize);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Start an EFI Application from a Device Path
|
Start an EFI Application from a Device Path
|
||||||
|
|
||||||
@ -991,7 +991,7 @@ BdsStartEfiApplication (
|
|||||||
EFI_LOADED_IMAGE_PROTOCOL* LoadedImage;
|
EFI_LOADED_IMAGE_PROTOCOL* LoadedImage;
|
||||||
|
|
||||||
// Find the nearest supported file loader
|
// Find the nearest supported file loader
|
||||||
Status = BdsLoadImageAndUpdateDevicePath (&DevicePath, AllocateAnyPages, &BinaryBuffer, &BinarySize);
|
Status = BdsLoadImageAndUpdateDevicePath (&DevicePath, AllocateAnyPages, &BinaryBuffer, &BinarySize);
|
||||||
if (EFI_ERROR (Status)) {
|
if (EFI_ERROR (Status)) {
|
||||||
return Status;
|
return Status;
|
||||||
}
|
}
|
||||||
|
@ -38,4 +38,4 @@ L5
|
|||||||
bne L5
|
bne L5
|
||||||
pop {pc}
|
pop {pc}
|
||||||
|
|
||||||
END
|
END
|
||||||
|
@ -429,4 +429,3 @@
|
|||||||
#
|
#
|
||||||
MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
|
MdeModulePkg/Universal/DevicePathDxe/DevicePathDxe.inf
|
||||||
ArmPlatformPkg/Bds/Bds.inf
|
ArmPlatformPkg/Bds/Bds.inf
|
||||||
|
|
||||||
|
@ -64,4 +64,4 @@ setmem /16 0x6D0000B4=0x0032
|
|||||||
setmem /16 0x6D0000BC=0x0000
|
setmem /16 0x6D0000BC=0x0000
|
||||||
setmem /32 0x6D0000C4=0xBA9DC4C6
|
setmem /32 0x6D0000C4=0xBA9DC4C6
|
||||||
setmem /32 0x6D0000C8=0x00012522
|
setmem /32 0x6D0000C8=0x00012522
|
||||||
setmem /32 0x6D0000D4=0x0004E201
|
setmem /32 0x6D0000D4=0x0004E201
|
||||||
|
@ -192,7 +192,7 @@
|
|||||||
|
|
||||||
# ISP1761 USB OTG Controller
|
# ISP1761 USB OTG Controller
|
||||||
gEmbeddedTokenSpaceGuid.PcdIsp1761BaseAddress|0x4f000000
|
gEmbeddedTokenSpaceGuid.PcdIsp1761BaseAddress|0x4f000000
|
||||||
|
|
||||||
# LAN9118 Ethernet Driver PCDs
|
# LAN9118 Ethernet Driver PCDs
|
||||||
gEmbeddedTokenSpaceGuid.PcdLan9118DxeBaseAddress|0x4E000000
|
gEmbeddedTokenSpaceGuid.PcdLan9118DxeBaseAddress|0x4E000000
|
||||||
|
|
||||||
|
@ -199,11 +199,11 @@ READ_LOCK_STATUS = TRUE
|
|||||||
#
|
#
|
||||||
INF EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf
|
INF EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf
|
||||||
INF ArmPlatformPkg/Drivers/PL180MciDxe/PL180MciDxe.inf
|
INF ArmPlatformPkg/Drivers/PL180MciDxe/PL180MciDxe.inf
|
||||||
|
|
||||||
#
|
#
|
||||||
# USB support
|
# USB support
|
||||||
#
|
#
|
||||||
INF EmbeddedPkg/Drivers/Isp1761UsbDxe/Isp1761UsbDxe.inf
|
INF EmbeddedPkg/Drivers/Isp1761UsbDxe/Isp1761UsbDxe.inf
|
||||||
|
|
||||||
#
|
#
|
||||||
# Android Fastboot
|
# Android Fastboot
|
||||||
@ -211,7 +211,7 @@ READ_LOCK_STATUS = TRUE
|
|||||||
INF EmbeddedPkg/Application/AndroidFastboot/AndroidFastbootApp.inf
|
INF EmbeddedPkg/Application/AndroidFastboot/AndroidFastbootApp.inf
|
||||||
INF EmbeddedPkg/Drivers/AndroidFastbootTransportUsbDxe/FastbootTransportUsbDxe.inf
|
INF EmbeddedPkg/Drivers/AndroidFastbootTransportUsbDxe/FastbootTransportUsbDxe.inf
|
||||||
INF ArmPlatformPkg/ArmVExpressPkg/ArmVExpressFastBootDxe/ArmVExpressFastBootDxe.inf
|
INF ArmPlatformPkg/ArmVExpressPkg/ArmVExpressFastBootDxe/ArmVExpressFastBootDxe.inf
|
||||||
|
|
||||||
#
|
#
|
||||||
# Networking stack
|
# Networking stack
|
||||||
#
|
#
|
||||||
|
@ -266,12 +266,12 @@
|
|||||||
#
|
#
|
||||||
EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf
|
EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf
|
||||||
ArmPlatformPkg/Drivers/PL180MciDxe/PL180MciDxe.inf
|
ArmPlatformPkg/Drivers/PL180MciDxe/PL180MciDxe.inf
|
||||||
|
|
||||||
#
|
#
|
||||||
# Platform Driver
|
# Platform Driver
|
||||||
#
|
#
|
||||||
ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/ArmFvpDxe.inf
|
ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/ArmFvpDxe.inf
|
||||||
OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
|
OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
|
||||||
|
|
||||||
#
|
#
|
||||||
# FAT filesystem + GPT/MBR partitioning
|
# FAT filesystem + GPT/MBR partitioning
|
||||||
|
@ -182,12 +182,12 @@ READ_LOCK_STATUS = TRUE
|
|||||||
INF ArmPlatformPkg/Drivers/PL180MciDxe/PL180MciDxe.inf
|
INF ArmPlatformPkg/Drivers/PL180MciDxe/PL180MciDxe.inf
|
||||||
|
|
||||||
#
|
#
|
||||||
# Platform Driver
|
# Platform Driver
|
||||||
#
|
#
|
||||||
INF ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/ArmFvpDxe.inf
|
INF ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/ArmFvpDxe.inf
|
||||||
INF OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
|
INF OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
|
||||||
|
|
||||||
#
|
#
|
||||||
# UEFI application (Shell Embedded Boot Loader)
|
# UEFI application (Shell Embedded Boot Loader)
|
||||||
#
|
#
|
||||||
INF ShellBinPkg/UefiShell/UefiShell.inf
|
INF ShellBinPkg/UefiShell/UefiShell.inf
|
||||||
|
@ -268,12 +268,12 @@
|
|||||||
#
|
#
|
||||||
EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf
|
EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf
|
||||||
ArmPlatformPkg/Drivers/PL180MciDxe/PL180MciDxe.inf
|
ArmPlatformPkg/Drivers/PL180MciDxe/PL180MciDxe.inf
|
||||||
|
|
||||||
#
|
#
|
||||||
# Platform Driver
|
# Platform Driver
|
||||||
#
|
#
|
||||||
ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/ArmFvpDxe.inf
|
ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/ArmFvpDxe.inf
|
||||||
OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
|
OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
|
||||||
|
|
||||||
#
|
#
|
||||||
# FAT filesystem + GPT/MBR partitioning
|
# FAT filesystem + GPT/MBR partitioning
|
||||||
|
@ -182,12 +182,12 @@ READ_LOCK_STATUS = TRUE
|
|||||||
INF ArmPlatformPkg/Drivers/PL180MciDxe/PL180MciDxe.inf
|
INF ArmPlatformPkg/Drivers/PL180MciDxe/PL180MciDxe.inf
|
||||||
|
|
||||||
#
|
#
|
||||||
# Platform Driver
|
# Platform Driver
|
||||||
#
|
#
|
||||||
INF ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/ArmFvpDxe.inf
|
INF ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/ArmFvpDxe.inf
|
||||||
INF OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
|
INF OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
|
||||||
|
|
||||||
#
|
#
|
||||||
# UEFI application (Shell Embedded Boot Loader)
|
# UEFI application (Shell Embedded Boot Loader)
|
||||||
#
|
#
|
||||||
INF ShellBinPkg/UefiShell/UefiShell.inf
|
INF ShellBinPkg/UefiShell/UefiShell.inf
|
||||||
|
@ -268,12 +268,12 @@
|
|||||||
#
|
#
|
||||||
EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf
|
EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf
|
||||||
ArmPlatformPkg/Drivers/PL180MciDxe/PL180MciDxe.inf
|
ArmPlatformPkg/Drivers/PL180MciDxe/PL180MciDxe.inf
|
||||||
|
|
||||||
#
|
#
|
||||||
# Platform Driver
|
# Platform Driver
|
||||||
#
|
#
|
||||||
ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/ArmFvpDxe.inf
|
ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/ArmFvpDxe.inf
|
||||||
OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
|
OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
|
||||||
|
|
||||||
#
|
#
|
||||||
# FAT filesystem + GPT/MBR partitioning
|
# FAT filesystem + GPT/MBR partitioning
|
||||||
|
@ -166,13 +166,13 @@ READ_LOCK_STATUS = TRUE
|
|||||||
#
|
#
|
||||||
INF EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf
|
INF EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf
|
||||||
INF ArmPlatformPkg/Drivers/PL180MciDxe/PL180MciDxe.inf
|
INF ArmPlatformPkg/Drivers/PL180MciDxe/PL180MciDxe.inf
|
||||||
|
|
||||||
#
|
#
|
||||||
# Platform Driver
|
# Platform Driver
|
||||||
#
|
#
|
||||||
INF ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/ArmFvpDxe.inf
|
INF ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/ArmFvpDxe.inf
|
||||||
INF OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
|
INF OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
|
||||||
|
|
||||||
#
|
#
|
||||||
# UEFI application (Shell Embedded Boot Loader)
|
# UEFI application (Shell Embedded Boot Loader)
|
||||||
#
|
#
|
||||||
|
@ -225,12 +225,12 @@
|
|||||||
ArmPkg/Filesystem/SemihostFs/SemihostFs.inf
|
ArmPkg/Filesystem/SemihostFs/SemihostFs.inf
|
||||||
|
|
||||||
#
|
#
|
||||||
# Platform Driver
|
# Platform Driver
|
||||||
#
|
#
|
||||||
ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/ArmFvpDxe.inf
|
ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/ArmFvpDxe.inf
|
||||||
OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
|
OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
|
||||||
|
|
||||||
#
|
#
|
||||||
# FAT filesystem + GPT/MBR partitioning
|
# FAT filesystem + GPT/MBR partitioning
|
||||||
#
|
#
|
||||||
MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
|
MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
|
||||||
|
@ -155,12 +155,12 @@ READ_LOCK_STATUS = TRUE
|
|||||||
INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
|
INF MdeModulePkg/Universal/Disk/UnicodeCollation/EnglishDxe/EnglishDxe.inf
|
||||||
|
|
||||||
#
|
#
|
||||||
# Platform Driver
|
# Platform Driver
|
||||||
#
|
#
|
||||||
INF ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/ArmFvpDxe.inf
|
INF ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/ArmFvpDxe.inf
|
||||||
INF OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
|
INF OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
|
||||||
|
|
||||||
#
|
#
|
||||||
# UEFI application (Shell Embedded Boot Loader)
|
# UEFI application (Shell Embedded Boot Loader)
|
||||||
#
|
#
|
||||||
INF ShellBinPkg/UefiShell/UefiShell.inf
|
INF ShellBinPkg/UefiShell/UefiShell.inf
|
||||||
|
@ -262,12 +262,12 @@
|
|||||||
ArmPlatformPkg/Drivers/PL180MciDxe/PL180MciDxe.inf
|
ArmPlatformPkg/Drivers/PL180MciDxe/PL180MciDxe.inf
|
||||||
|
|
||||||
#
|
#
|
||||||
# Platform Driver
|
# Platform Driver
|
||||||
#
|
#
|
||||||
ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/ArmFvpDxe.inf
|
ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/ArmFvpDxe.inf
|
||||||
OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
|
OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
|
||||||
|
|
||||||
#
|
#
|
||||||
# FAT filesystem + GPT/MBR partitioning
|
# FAT filesystem + GPT/MBR partitioning
|
||||||
#
|
#
|
||||||
MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
|
MdeModulePkg/Universal/Disk/DiskIoDxe/DiskIoDxe.inf
|
||||||
|
@ -163,13 +163,13 @@ READ_LOCK_STATUS = TRUE
|
|||||||
#
|
#
|
||||||
INF EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf
|
INF EmbeddedPkg/Universal/MmcDxe/MmcDxe.inf
|
||||||
INF ArmPlatformPkg/Drivers/PL180MciDxe/PL180MciDxe.inf
|
INF ArmPlatformPkg/Drivers/PL180MciDxe/PL180MciDxe.inf
|
||||||
|
|
||||||
#
|
#
|
||||||
# Platform Driver
|
# Platform Driver
|
||||||
#
|
#
|
||||||
INF ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/ArmFvpDxe.inf
|
INF ArmPlatformPkg/ArmVExpressPkg/ArmVExpressDxe/ArmFvpDxe.inf
|
||||||
INF OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
|
INF OvmfPkg/VirtioBlkDxe/VirtioBlk.inf
|
||||||
|
|
||||||
#
|
#
|
||||||
# UEFI application (Shell Embedded Boot Loader)
|
# UEFI application (Shell Embedded Boot Loader)
|
||||||
#
|
#
|
||||||
|
@ -47,4 +47,4 @@
|
|||||||
gArmTokenSpaceGuid.PcdArmPrimaryCoreMask
|
gArmTokenSpaceGuid.PcdArmPrimaryCoreMask
|
||||||
gArmTokenSpaceGuid.PcdArmPrimaryCore
|
gArmTokenSpaceGuid.PcdArmPrimaryCore
|
||||||
|
|
||||||
gArmPlatformTokenSpaceGuid.PcdCoreCount
|
gArmPlatformTokenSpaceGuid.PcdCoreCount
|
||||||
|
@ -36,7 +36,7 @@ EditHIInputStr (
|
|||||||
Print (CmdLine);
|
Print (CmdLine);
|
||||||
|
|
||||||
// To prevent a buffer overflow, we only allow to enter (MaxCmdLine-1) characters
|
// To prevent a buffer overflow, we only allow to enter (MaxCmdLine-1) characters
|
||||||
for (CmdLineIndex = StrLen (CmdLine); CmdLineIndex < MaxCmdLine; ) {
|
for (CmdLineIndex = StrLen (CmdLine); CmdLineIndex < MaxCmdLine; ) {
|
||||||
Status = gBS->WaitForEvent (1, &gST->ConIn->WaitForKey, &WaitIndex);
|
Status = gBS->WaitForEvent (1, &gST->ConIn->WaitForKey, &WaitIndex);
|
||||||
ASSERT_EFI_ERROR (Status);
|
ASSERT_EFI_ERROR (Status);
|
||||||
|
|
||||||
@ -63,7 +63,7 @@ EditHIInputStr (
|
|||||||
}
|
}
|
||||||
} else if ((Key.ScanCode == SCAN_ESC) || (Char == 0x1B) || (Char == 0x0)) {
|
} else if ((Key.ScanCode == SCAN_ESC) || (Char == 0x1B) || (Char == 0x0)) {
|
||||||
return EFI_INVALID_PARAMETER;
|
return EFI_INVALID_PARAMETER;
|
||||||
} else if (CmdLineIndex < (MaxCmdLine-1)) {
|
} else if (CmdLineIndex < (MaxCmdLine-1)) {
|
||||||
CmdLine[CmdLineIndex++] = Key.UnicodeChar;
|
CmdLine[CmdLineIndex++] = Key.UnicodeChar;
|
||||||
Print (L"%c", Key.UnicodeChar);
|
Print (L"%c", Key.UnicodeChar);
|
||||||
}
|
}
|
||||||
@ -151,7 +151,7 @@ GetHIInputInteger (
|
|||||||
@param[out] EFI_IP_ADDRESS OutIpAddr Returned IPv4 address. Valid if
|
@param[out] EFI_IP_ADDRESS OutIpAddr Returned IPv4 address. Valid if
|
||||||
and only if the returned value
|
and only if the returned value
|
||||||
is equal to EFI_SUCCESS
|
is equal to EFI_SUCCESS
|
||||||
|
|
||||||
@retval EFI_SUCCESS Input completed
|
@retval EFI_SUCCESS Input completed
|
||||||
@retval EFI_ABORTED Editing aborted by the user
|
@retval EFI_ABORTED Editing aborted by the user
|
||||||
@retval EFI_OUT_OF_RESOURCES Fail to perform the operation due to
|
@retval EFI_OUT_OF_RESOURCES Fail to perform the operation due to
|
||||||
@ -196,7 +196,7 @@ GetHIInputIP (
|
|||||||
@param[out] EFI_IP_ADDRESS OutIpAddr Returned IPv4 address. Valid if
|
@param[out] EFI_IP_ADDRESS OutIpAddr Returned IPv4 address. Valid if
|
||||||
and only if the returned value
|
and only if the returned value
|
||||||
is equal to EFI_SUCCESS
|
is equal to EFI_SUCCESS
|
||||||
|
|
||||||
@retval EFI_SUCCESS Update completed
|
@retval EFI_SUCCESS Update completed
|
||||||
@retval EFI_ABORTED Editing aborted by the user
|
@retval EFI_ABORTED Editing aborted by the user
|
||||||
@retval EFI_INVALID_PARAMETER The string returned by the user is
|
@retval EFI_INVALID_PARAMETER The string returned by the user is
|
||||||
@ -243,7 +243,7 @@ GetHIInputBoolean (
|
|||||||
|
|
||||||
while(1) {
|
while(1) {
|
||||||
Print (L"[y/n] ");
|
Print (L"[y/n] ");
|
||||||
Status = GetHIInputStr (CmdBoolean, 2);
|
Status = GetHIInputStr (CmdBoolean, 2);
|
||||||
if (EFI_ERROR(Status)) {
|
if (EFI_ERROR(Status)) {
|
||||||
return Status;
|
return Status;
|
||||||
} else if ((CmdBoolean[0] == L'y') || (CmdBoolean[0] == L'Y')) {
|
} else if ((CmdBoolean[0] == L'y') || (CmdBoolean[0] == L'Y')) {
|
||||||
|
@ -64,4 +64,4 @@ setmem /16 0x6D0000B4=0x0032
|
|||||||
setmem /16 0x6D0000BC=0x0000
|
setmem /16 0x6D0000BC=0x0000
|
||||||
setmem /32 0x6D0000C4=0xBA9DC4C6
|
setmem /32 0x6D0000C4=0xBA9DC4C6
|
||||||
setmem /32 0x6D0000C8=0x00012522
|
setmem /32 0x6D0000C8=0x00012522
|
||||||
setmem /32 0x6D0000D4=0x0004E201
|
setmem /32 0x6D0000D4=0x0004E201
|
||||||
|
@ -41,4 +41,4 @@
|
|||||||
EmbeddedPkg/EmbeddedPkg.dec
|
EmbeddedPkg/EmbeddedPkg.dec
|
||||||
|
|
||||||
[Pcd]
|
[Pcd]
|
||||||
gEmbeddedTokenSpaceGuid.PcdIsp1761BaseAddress
|
gEmbeddedTokenSpaceGuid.PcdIsp1761BaseAddress
|
||||||
|
@ -65,7 +65,7 @@
|
|||||||
gAndroidFastbootTransportProtocolGuid = { 0x74bd9fe0, 0x8902, 0x11e3, {0xb9, 0xd3, 0xf7, 0x22, 0x38, 0xfc, 0x9a, 0x31}}
|
gAndroidFastbootTransportProtocolGuid = { 0x74bd9fe0, 0x8902, 0x11e3, {0xb9, 0xd3, 0xf7, 0x22, 0x38, 0xfc, 0x9a, 0x31}}
|
||||||
gAndroidFastbootPlatformProtocolGuid = { 0x524685a0, 0x89a0, 0x11e3, {0x9d, 0x4d, 0xbf, 0xa9, 0xf6, 0xa4, 0x03, 0x08}}
|
gAndroidFastbootPlatformProtocolGuid = { 0x524685a0, 0x89a0, 0x11e3, {0x9d, 0x4d, 0xbf, 0xa9, 0xf6, 0xa4, 0x03, 0x08}}
|
||||||
gUsbDeviceProtocolGuid = { 0x021bd2ca, 0x51d2, 0x11e3, {0x8e, 0x56, 0xb7, 0x54, 0x17, 0xc7, 0x0b, 0x44 }}
|
gUsbDeviceProtocolGuid = { 0x021bd2ca, 0x51d2, 0x11e3, {0x8e, 0x56, 0xb7, 0x54, 0x17, 0xc7, 0x0b, 0x44 }}
|
||||||
|
|
||||||
[PcdsFeatureFlag.common]
|
[PcdsFeatureFlag.common]
|
||||||
gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|FALSE|BOOLEAN|0x00000001
|
gEmbeddedTokenSpaceGuid.PcdEmbeddedMacBoot|FALSE|BOOLEAN|0x00000001
|
||||||
gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE|BOOLEAN|0x00000002
|
gEmbeddedTokenSpaceGuid.PcdEmbeddedDirCmd|TRUE|BOOLEAN|0x00000002
|
||||||
|
Loading…
x
Reference in New Issue
Block a user