mirror of https://github.com/acidanthera/audk.git
1) Update file header.
2) Make use of standard macro defined in MdePkg. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6988 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
parent
4489c1fa43
commit
36dadb8a63
|
@ -70,11 +70,8 @@ extern UINT8 InventoryBin[];
|
||||||
//
|
//
|
||||||
extern UINT8 DriverSampleStrings[];
|
extern UINT8 DriverSampleStrings[];
|
||||||
|
|
||||||
#define VAR_OFFSET(Field) \
|
#define DYNAMIC_ONE_OF_VAR_OFFSET OFFSET_OF (DRIVER_SAMPLE_CONFIGURATION, DynamicOneof)
|
||||||
((UINT16) ((UINTN) &(((DRIVER_SAMPLE_CONFIGURATION *) 0)->Field)))
|
#define DYNAMIC_ORDERED_LIST_VAR_OFFSET OFFSET_OF (DRIVER_SAMPLE_CONFIGURATION, DynamicOrderedList)
|
||||||
|
|
||||||
#define DYNAMIC_ONE_OF_VAR_OFFSET VAR_OFFSET (DynamicOneof)
|
|
||||||
#define DYNAMIC_ORDERED_LIST_VAR_OFFSET VAR_OFFSET (DynamicOrderedList)
|
|
||||||
|
|
||||||
#define DRIVER_SAMPLE_PRIVATE_SIGNATURE EFI_SIGNATURE_32 ('D', 'S', 'p', 's')
|
#define DRIVER_SAMPLE_PRIVATE_SIGNATURE EFI_SIGNATURE_32 ('D', 'S', 'p', 's')
|
||||||
|
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
#/** @file
|
#/** @file
|
||||||
# Component name for module DriverSample
|
# This is a sample driver which show how HII protocol, VFR and UNI files are used to
|
||||||
|
# create a driver which can be dipslayed and configured by a UEFI HII Form Browser.
|
||||||
#
|
#
|
||||||
# FIX ME!
|
# Copyright (c) 2007 - 2008, Intel Corporation. All rights reserved.
|
||||||
# Copyright (c) 2007, Intel Corporation. All rights reserved.
|
|
||||||
#
|
#
|
||||||
# All rights reserved. This program and the accompanying materials
|
# All rights reserved. This program and the accompanying materials
|
||||||
# are licensed and made available under the terms and conditions of the BSD License
|
# are licensed and made available under the terms and conditions of the BSD License
|
||||||
|
|
Loading…
Reference in New Issue