X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=EdkUnixPkg%2FDxe%2FUnixThunk%2FBus%2FUnixBusDriver%2FUnixBusDriver.c;fp=EdkUnixPkg%2FDxe%2FUnixThunk%2FBus%2FUnixBusDriver%2FUnixBusDriver.c;h=b8611f66d2b0f7790e5ac38e3e435cca89af853f;hp=efa66abeeb2f365d3ea8fb9567bd4d10bdfd5129;hb=b19cfa69e7c2da5bb1a976ef0ca5c9d21a287695;hpb=d756d2e73917d24208200d342c4705d6dcfae09d diff --git a/EdkUnixPkg/Dxe/UnixThunk/Bus/UnixBusDriver/UnixBusDriver.c b/EdkUnixPkg/Dxe/UnixThunk/Bus/UnixBusDriver/UnixBusDriver.c index efa66abeeb..b8611f66d2 100644 --- a/EdkUnixPkg/Dxe/UnixThunk/Bus/UnixBusDriver/UnixBusDriver.c +++ b/EdkUnixPkg/Dxe/UnixThunk/Bus/UnixBusDriver/UnixBusDriver.c @@ -122,6 +122,7 @@ static UNIX_PCD_ENTRY mPcdEnvironment[] = { {PcdToken(PcdUnixConsole), &gEfiUnixConsoleGuid}, {PcdToken(PcdUnixUga), &gEfiUnixUgaGuid}, {PcdToken(PcdUnixFileSystem), &gEfiUnixFileSystemGuid}, + {PcdToken(PcdUnixSerialPort), &gEfiUnixSerialPortGuid}, {PcdToken(PcdUnixVirtualDisk), &gEfiUnixVirtualDisksGuid}, {PcdToken(PcdUnixPhysicalDisk), &gEfiUnixPhysicalDisksGuid}, {PcdToken(PcdUnixCpuModel), &gEfiUnixCPUModelGuid}, @@ -293,10 +294,10 @@ Returns: { EFI_STATUS Status; EFI_STATUS InstallStatus; - EFI_UNIX_THUNK_PROTOCOL *UnixThunk; + EFI_UNIX_THUNK_PROTOCOL *UnixThunk; EFI_DEVICE_PATH_PROTOCOL *ParentDevicePath; - UNIX_BUS_DEVICE *UnixBusDevice; - UNIX_IO_DEVICE *UnixDevice; + UNIX_BUS_DEVICE *UnixBusDevice; + UNIX_IO_DEVICE *UnixDevice; UINTN Index; CHAR16 *StartString; CHAR16 *SubString; @@ -428,7 +429,6 @@ Returns: } if (CreateDevice) { - // // Allocate instance structure, and fill in parent information. // @@ -441,7 +441,7 @@ Returns: UnixDevice->ControllerHandle = ControllerHandle; UnixDevice->ParentDevicePath = ParentDevicePath; - UnixDevice->UnixIo.UnixThunk = UnixThunk; + UnixDevice->UnixIo.UnixThunk = UnixThunk; // // Plus 2 to account for the NULL at the end of the Unicode string