FreeBSD Bugzilla – Attachment 163324 Details for
Bug 204674
boot1.efi remove consolecontrol as it's not in the UEFI specs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
boot1.efi remove ConsoleControl
patch_boot1.efi.diff (text/plain), 1.14 KB, created by
Emmanuel Vadot
on 2015-11-19 10:53:03 UTC
(
hide
)
Description:
boot1.efi remove ConsoleControl
Filename:
MIME Type:
Creator:
Emmanuel Vadot
Created:
2015-11-19 10:53:03 UTC
Size:
1.14 KB
patch
obsolete
>diff --git a/sys/boot/efi/boot1/boot1.c b/sys/boot/efi/boot1/boot1.c >index eff191b..94e2a82 100644 >--- a/sys/boot/efi/boot1/boot1.c >+++ b/sys/boot/efi/boot1/boot1.c >@@ -98,7 +98,6 @@ strcmp(const char *s1, const char *s2) > static EFI_GUID BlockIoProtocolGUID = BLOCK_IO_PROTOCOL; > static EFI_GUID DevicePathGUID = DEVICE_PATH_PROTOCOL; > static EFI_GUID LoadedImageGUID = LOADED_IMAGE_PROTOCOL; >-static EFI_GUID ConsoleControlGUID = EFI_CONSOLE_CONTROL_PROTOCOL_GUID; > > static EFI_BLOCK_IO *bootdev; > static EFI_DEVICE_PATH *bootdevpath; >@@ -112,19 +111,12 @@ EFI_STATUS efi_main(EFI_HANDLE Ximage, EFI_SYSTEM_TABLE* Xsystab) > EFI_STATUS status; > EFI_DEVICE_PATH *devpath; > EFI_BOOT_SERVICES *BS; >- EFI_CONSOLE_CONTROL_PROTOCOL *ConsoleControl = NULL; > SIMPLE_TEXT_OUTPUT_INTERFACE *conout = NULL; > char *path = _PATH_LOADER; > > systab = Xsystab; > image = Ximage; > >- BS = systab->BootServices; >- status = BS->LocateProtocol(&ConsoleControlGUID, NULL, >- (VOID **)&ConsoleControl); >- if (status == EFI_SUCCESS) >- (void)ConsoleControl->SetMode(ConsoleControl, >- EfiConsoleControlScreenText); > /* > * Reset the console and find the best text mode. > */
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 204674
: 163324