// Define GUID for the Unix Bus Driver\r
//\r
static EFI_GUID gUnixBusDriverGuid = {\r
- 0x419f582, 0x625, 0x4531, 0x8a, 0x33, 0x85, 0xa9, 0x96, 0x5c, 0x95, 0xbc\r
+ 0x419f582, 0x625, 0x4531, {0x8a, 0x33, 0x85, 0xa9, 0x96, 0x5c, 0x95, 0xbc}\r
};\r
\r
//\r
UnixBusDriverBindingSupported,\r
UnixBusDriverBindingStart,\r
UnixBusDriverBindingStop,\r
- 0x10,\r
+ 0xa,\r
NULL,\r
NULL\r
};\r
{PcdToken(PcdUnixConsole), &gEfiUnixConsoleGuid},\r
{PcdToken(PcdUnixUga), &gEfiUnixUgaGuid},\r
{PcdToken(PcdUnixFileSystem), &gEfiUnixFileSystemGuid},\r
+ {PcdToken(PcdUnixSerialPort), &gEfiUnixSerialPortGuid},\r
{PcdToken(PcdUnixVirtualDisk), &gEfiUnixVirtualDisksGuid},\r
{PcdToken(PcdUnixPhysicalDisk), &gEfiUnixPhysicalDisksGuid},\r
{PcdToken(PcdUnixCpuModel), &gEfiUnixCPUModelGuid},\r
{\r
EFI_STATUS Status;\r
EFI_STATUS InstallStatus;\r
- EFI_UNIX_THUNK_PROTOCOL *UnixThunk;\r
+ EFI_UNIX_THUNK_PROTOCOL *UnixThunk;\r
EFI_DEVICE_PATH_PROTOCOL *ParentDevicePath;\r
- UNIX_BUS_DEVICE *UnixBusDevice;\r
- UNIX_IO_DEVICE *UnixDevice;\r
+ UNIX_BUS_DEVICE *UnixBusDevice;\r
+ UNIX_IO_DEVICE *UnixDevice;\r
UINTN Index;\r
CHAR16 *StartString;\r
CHAR16 *SubString;\r
}\r
\r
if (CreateDevice) {\r
-\r
//\r
// Allocate instance structure, and fill in parent information.\r
//\r
UnixDevice->ControllerHandle = ControllerHandle;\r
UnixDevice->ParentDevicePath = ParentDevicePath;\r
\r
- UnixDevice->UnixIo.UnixThunk = UnixThunk;\r
+ UnixDevice->UnixIo.UnixThunk = UnixThunk;\r
\r
//\r
// Plus 2 to account for the NULL at the end of the Unicode string\r
\r
UnixDevice->ControllerNameTable = NULL;\r
\r
- // FIXME: check size
+ // FIXME: check size\r
StrCpy(ComponentName, UnixDevice->UnixIo.EnvString);\r
\r
UnixDevice->DevicePath = UnixBusCreateDevicePath (\r