audk/OvmfPkg/PlatformDxe/Platform.h
Michael D Kinney b26f0cf9ee OvmfPkg: Replace BSD License with BSD+Patent License
https://bugzilla.tianocore.org/show_bug.cgi?id=1373

Replace BSD 2-Clause License with BSD+Patent License.  This change is
based on the following emails:

  https://lists.01.org/pipermail/edk2-devel/2019-February/036260.html
  https://lists.01.org/pipermail/edk2-devel/2018-October/030385.html

RFCs with detailed process for the license change:

  V3: https://lists.01.org/pipermail/edk2-devel/2019-March/038116.html
  V2: https://lists.01.org/pipermail/edk2-devel/2019-March/037669.html
  V1: https://lists.01.org/pipermail/edk2-devel/2019-March/037500.html

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
2019-04-09 10:58:19 -07:00

38 lines
888 B
C

/** @file
This driver effectuates OVMF's platform configuration settings and exposes
them via HII.
Copyright (C) 2014, Red Hat, Inc.
SPDX-License-Identifier: BSD-2-Clause-Patent
**/
#ifndef _PLATFORM_H_
#define _PLATFORM_H_
//
// Macro and type definitions that connect the form with the HII driver code.
//
#define FORMSTATEID_MAIN_FORM 1
#define FORMID_MAIN_FORM 1
#define QUESTION_RES_CUR 1
#define MAXSIZE_RES_CUR 16
#define LABEL_RES_NEXT 1
#define QUESTION_RES_NEXT 2
#define QUESTION_SAVE_EXIT 3
#define QUESTION_DISCARD_EXIT 4
//
// This structure describes the form state. Its fields relate strictly to the
// visual widgets on the form.
//
typedef struct {
UINT16 CurrentPreferredResolution[MAXSIZE_RES_CUR];
UINT32 NextPreferredResolution;
} MAIN_FORM_STATE;
#endif // _PLATFORM_H_