/** @file\r
\r
- Copyright (c) 2011 - 2012, Intel Corporation. All rights reserved.<BR>\r
+ Copyright (c) 2011 - 2013, Intel Corporation. All rights reserved.<BR>\r
\r
This program and the accompanying materials\r
are licensed and made available under the terms and conditions of the BSD License\r
\r
if ((Bp->hdr.signature != 0xAA55) || // Check boot sector signature\r
(Bp->hdr.header != SETUP_HDR) ||\r
- (Bp->hdr.version < 0x205) // We only support relocatable kernels\r
+ (Bp->hdr.version < 0x205) || // We only support relocatable kernels\r
+ (!Bp->hdr.relocatable_kernel)\r
) {\r
return EFI_UNSUPPORTED;\r
} else {\r
\r
Bp = (struct boot_params *) KernelSetup;\r
\r
- if (Bp->hdr.version < 0x205) {\r
+ if (Bp->hdr.version < 0x205 || !Bp->hdr.relocatable_kernel) {\r
//\r
// We only support relocatable kernels\r
//\r