[syslinux] [syslinux:firmware] efi: Lookup which file system we were loaded from

H. Peter Anvin hpa at zytor.com
Fri May 10 12:48:36 PDT 2013


On 05/10/2013 06:27 AM, syslinux-bot for Matt Fleming wrote:
> 
> diff --git a/efi/main.c b/efi/main.c
> index 31f0bff..27e7f8f 100644
> --- a/efi/main.c
> +++ b/efi/main.c
> @@ -1177,13 +1177,10 @@ static void efi_setcwd(CHAR16 *dp)
>  
>  EFI_STATUS efi_main(EFI_HANDLE image, EFI_SYSTEM_TABLE *table)
>  {
> +	EFI_PXE_BASE_CODE *pxe;
>  	EFI_LOADED_IMAGE *info;
>  	EFI_STATUS status = EFI_SUCCESS;
> -#if 0
> -	const struct fs_ops *ops[] = { &vfat_fs_ops, NULL };
> -#else
> -	const struct fs_ops *ops[] = { &pxe_fs_ops, NULL };
> -#endif
> +	const struct fs_ops *ops[] = { NULL, NULL };

Probably need to drop "const" here, no?

	-hpa



More information about the Syslinux mailing list