2007-06-15 12:02:42 +02:00
|
|
|
/** @file
|
2007-11-22 07:00:39 +01:00
|
|
|
Include file that supportes Framework extension to the UEFI 2.0 spec.
|
2007-06-15 12:02:42 +02:00
|
|
|
|
|
|
|
This include file must only contain things defined in the Framework
|
|
|
|
specifications. If a code construct is defined in the Framework specification
|
|
|
|
it must be included by this include file.
|
|
|
|
|
|
|
|
Copyright (c) 2007, Intel Corporation
|
|
|
|
All rights reserved. This program and the accompanying materials
|
|
|
|
are licensed and made available under the terms and conditions of the BSD License
|
|
|
|
which accompanies this distribution. The full text of the license may be found at
|
|
|
|
http://opensource.org/licenses/bsd-license.php
|
|
|
|
|
|
|
|
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|
|
|
|
|
|
|
Module Name: FrameworkDxeCis.h
|
|
|
|
|
|
|
|
**/
|
|
|
|
|
|
|
|
#ifndef _FRAMEWORK_DXE_CIS_H_
|
|
|
|
#define _FRAMEWORK_DXE_CIS_H_
|
|
|
|
|
|
|
|
#include <PiDxe.h>
|
2007-07-04 14:13:24 +02:00
|
|
|
#include <Framework/StatusCode.h>
|
2007-06-28 04:38:21 +02:00
|
|
|
#include <Protocol/StatusCode.h>
|
2007-06-15 12:02:42 +02:00
|
|
|
|
2007-06-28 14:23:11 +02:00
|
|
|
//
|
|
|
|
// Function prototype for invoking a function on an Application Processor
|
|
|
|
// Used by both the SMM infrastructure and the MP Services Protocol
|
|
|
|
//
|
|
|
|
typedef
|
|
|
|
VOID
|
2008-07-31 10:24:25 +02:00
|
|
|
(EFIAPI *EFI_AP_PROCEDURE)(
|
2009-03-16 11:29:27 +01:00
|
|
|
IN VOID *Buffer
|
2007-06-28 14:23:11 +02:00
|
|
|
);
|
|
|
|
|
2007-06-15 12:02:42 +02:00
|
|
|
typedef struct {
|
2009-03-16 11:29:27 +01:00
|
|
|
EFI_TABLE_HEADER Hdr;
|
2007-06-15 12:02:42 +02:00
|
|
|
//
|
|
|
|
// Time services
|
|
|
|
//
|
2009-03-16 11:29:27 +01:00
|
|
|
EFI_GET_TIME GetTime;
|
|
|
|
EFI_SET_TIME SetTime;
|
|
|
|
EFI_GET_WAKEUP_TIME GetWakeupTime;
|
|
|
|
EFI_SET_WAKEUP_TIME SetWakeupTime;
|
2007-06-15 12:02:42 +02:00
|
|
|
//
|
|
|
|
// Virtual memory services
|
|
|
|
//
|
2009-03-16 11:29:27 +01:00
|
|
|
EFI_SET_VIRTUAL_ADDRESS_MAP SetVirtualAddressMap;
|
|
|
|
EFI_CONVERT_POINTER ConvertPointer;
|
2007-06-15 12:02:42 +02:00
|
|
|
//
|
|
|
|
// Variable services
|
|
|
|
//
|
2009-03-16 11:29:27 +01:00
|
|
|
EFI_GET_VARIABLE GetVariable;
|
|
|
|
EFI_GET_NEXT_VARIABLE_NAME GetNextVariableName;
|
|
|
|
EFI_SET_VARIABLE SetVariable;
|
2007-06-15 12:02:42 +02:00
|
|
|
//
|
|
|
|
// Misc
|
|
|
|
//
|
2009-03-16 11:29:27 +01:00
|
|
|
EFI_GET_NEXT_HIGH_MONO_COUNT GetNextHighMonotonicCount;
|
|
|
|
EFI_RESET_SYSTEM ResetSystem;
|
2007-06-15 12:02:42 +02:00
|
|
|
//
|
2007-11-22 07:00:39 +01:00
|
|
|
// Framework extension to UEFI 2.0 runtime table
|
2007-06-15 12:02:42 +02:00
|
|
|
// It was moved to a protocol to not conflict with UEFI 2.0
|
|
|
|
//
|
2009-03-16 11:29:27 +01:00
|
|
|
EFI_REPORT_STATUS_CODE ReportStatusCode;
|
2007-06-15 12:02:42 +02:00
|
|
|
} FRAMEWORK_EFI_RUNTIME_SERVICES;
|
|
|
|
|
|
|
|
#define EFI_EVENT_RUNTIME_CONTEXT 0x20000000
|
|
|
|
#define EFI_EVENT_NOTIFY_SIGNAL_ALL 0x00000400
|
|
|
|
#define EFI_EVENT_SIGNAL_READY_TO_BOOT 0x00000203
|
|
|
|
#define EFI_EVENT_SIGNAL_LEGACY_BOOT 0x00000204
|
|
|
|
|
2007-06-28 07:58:38 +02:00
|
|
|
typedef struct {
|
2009-03-16 11:29:27 +01:00
|
|
|
EFI_DEVICE_PATH_PROTOCOL Header;
|
|
|
|
EFI_GUID TianoSpecificDevicePath;
|
|
|
|
UINT32 Type;
|
2007-06-28 07:58:38 +02:00
|
|
|
} TIANO_DEVICE_PATH;
|
|
|
|
|
2009-03-16 11:29:27 +01:00
|
|
|
#define TIANO_MEDIA_FW_VOL_FILEPATH_DEVICE_PATH_TYPE 0x01
|
2007-06-28 07:58:38 +02:00
|
|
|
typedef struct {
|
2009-03-16 11:29:27 +01:00
|
|
|
TIANO_DEVICE_PATH Tiano;
|
|
|
|
EFI_GUID NameGuid;
|
2007-06-28 07:58:38 +02:00
|
|
|
} FRAMEWORK_MEDIA_FW_VOL_FILEPATH_DEVICE_PATH;
|
|
|
|
|
2007-06-15 12:02:42 +02:00
|
|
|
#endif
|