IN OUT LIST_ENTRY *BdsBootOptionList\r
);\r
\r
-// //\r
-// // Bds misc lib functions\r
-// //\r
-// /**\r
-// Get boot mode by looking up the configuration table and parsing the HOB list.\r
-// \r
-// @param BootMode The boot mode from PEI handoff HOB.\r
-// \r
-// @retval EFI_SUCCESS Successfully got boot mode.\r
-// \r
-// **/\r
-// EFI_STATUS\r
-// EFIAPI\r
-// BdsLibGetBootMode (\r
-// OUT EFI_BOOT_MODE *BootMode\r
-// );\r
-\r
\r
/**\r
The function will go through the driver option link list, and then load and start\r
);\r
\r
\r
+//\r
+// Bds connect and disconnect driver lib funcions\r
+//\r
+/**\r
+ This function connects all system drivers with the corresponding controllers. \r
+\r
+ **/\r
+VOID\r
+EFIAPI\r
+BdsLibConnectAllDriversToAllControllers (\r
+ VOID\r
+);\r
+\r
/**\r
This function will connect console device based on the console\r
device variable ConIn, ConOut and ErrOut.\r
include ../Make.tiano
-SOURCE_NAMES = legacy BmLib DevicePath BdsHelper BdsTianoCore
+SOURCE_NAMES = legacy BmLib BdsConnect DevicePath BdsHelper BdsTianoCore
OBJS = $(SOURCE_NAMES:=.obj)
#DRIVERNAME = ext2
#BUILDME = $(DRIVERNAME)_$(FILENAME_CODE).efi
//
// Skip Non-Legacy boot option
- //
+ //
if (!BdsIsLegacyBootOption (BootOptionVar, &BbsEntry, &BbsIndex)) {
if (BootOptionVar!= NULL) {
FreePool (BootOptionVar);
cp -n "$InstallDir/$TargetDir/boot.efi" "$InstallDir/$TargetDir/boot.efi-backup" &> /dev/null
ln -f "$InstallDir/$TargetDir/$1" "$InstallDir/$TargetDir/boot.efi"
touch "$InstallDir/mach_kernel"
- cp -n "$RefindDir/icons/os_refind.icns" "$InstallDir/.VolumeIcon.icns" &> /dev/null
rm "$InstallDir/$TargetDir/SystemVersion.plist" &> /dev/null
cat - << ENDOFHERE >> "$InstallDir/$TargetDir/SystemVersion.plist"
<xml version="1.0" encoding="UTF-8"?>
# Prepare a place and copy files there....
mkdir -p ../snapshots/$1/refind-$1/icons
-cp --preserve=timestamps icons/*.icns ../snapshots/$1/refind-$1/icons/
+cp --preserve=timestamps icons/*png ../snapshots/$1/refind-$1/icons/
cp -a debian docs images keys fonts banners include EfiLib libeg mok refind filesystems gptsync refind.spec install.sh mkrlconf.sh mvrefind.sh CREDITS.txt NEWS.txt BUILDING.txt COPYING.txt LICENSE.txt README.txt refind.inf Make.tiano Make.common Makefile refind.conf-sample ../snapshots/$1/refind-$1
# Go there and prepare a souce code zip file....
#define EFI_SECURITY_VIOLATION EFIERR (26)
#endif
#endif
-//#else
+
#include "../EfiLib/BdsHelper.h"
#include "../EfiLib/legacy.h"
#ifndef EFI_OS_INDICATIONS_BOOT_TO_FW_UI
#define EFI_OS_INDICATIONS_BOOT_TO_FW_UI 0x0000000000000001ULL
-#else
+#endif
+
+#ifdef __MAKEWITH_TIANO
#define LibLocateHandle gBS->LocateHandleBuffer
#endif
if (AboutMenu.EntryCount == 0) {
AboutMenu.TitleImage = BuiltinIcon(BUILTIN_ICON_FUNC_ABOUT);
- AddMenuInfoLine(&AboutMenu, L"rEFInd Version 0.8.0.3");
+ AddMenuInfoLine(&AboutMenu, L"rEFInd Version 0.8.0.5");
AddMenuInfoLine(&AboutMenu, L"");
AddMenuInfoLine(&AboutMenu, L"Copyright (c) 2006-2010 Christoph Pfisterer");
AddMenuInfoLine(&AboutMenu, L"Copyright (c) 2012-2014 Roderick W. Smith");
return (NumFound);
}
+#ifdef __MAKEWITH_GNUEFI
static EFI_STATUS ConnectAllDriversToAllControllers(VOID)
{
EFI_STATUS Status;
MyFreePool (AllHandleBuffer);
return Status;
} /* EFI_STATUS ConnectAllDriversToAllControllers() */
+#else
+static EFI_STATUS ConnectAllDriversToAllControllers(VOID) {
+ BdsLibConnectAllDriversToAllControllers();
+ return 0;
+}
+#endif
// Load all EFI drivers from rEFInd's "drivers" subdirectory and from the
// directories specified by the user in the "scan_driver_dirs" configuration
GlobalConfig.LegacyType = LEGACY_TYPE_MAC;
} // static VOID FindLegacyBootType
-// Warn the user if legacy OS scans are enabled but the firmware or this
-// application can't support them....
+// Warn the user if legacy OS scans are enabled but the firmware can't support them....
static VOID WarnIfLegacyProblems() {
BOOLEAN found = FALSE;
UINTN i = 0;