From f6c07313d1f7317c328e9ef80cfb272beec0a249 Mon Sep 17 00:00:00 2001 From: lzeng14 Date: Thu, 23 May 2013 02:56:41 +0000 Subject: =?UTF-8?q?Move=20the=20memory=20allocation=20and=20variable=20set?= =?UTF-8?q?=20to=20BdsEntry,=20use=20VariableLock=20protocol=20to=20lock?= =?UTF-8?q?=20the=20L=E2=80=9DPerfDataMemAddr=E2=80=9D=20variable=20and=20?= =?UTF-8?q?prevent=20malware=20to=20update=20it.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Star Zeng Reviewed-by: Ruiyu Ni git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14386 6f19259b-4bc3-4df7-8a09-765794883524 --- MdeModulePkg/Include/Guid/Performance.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'MdeModulePkg') diff --git a/MdeModulePkg/Include/Guid/Performance.h b/MdeModulePkg/Include/Guid/Performance.h index d7768e1fc1..c40046c878 100644 --- a/MdeModulePkg/Include/Guid/Performance.h +++ b/MdeModulePkg/Include/Guid/Performance.h @@ -4,7 +4,7 @@ * performance protocol interfaces. * performance variables. -Copyright (c) 2009 - 2012, Intel Corporation. All rights reserved.
+Copyright (c) 2009 - 2013, 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 that accompanies this distribution. The full text of the license may be found at @@ -48,6 +48,7 @@ typedef struct { #define PERF_TOKEN_SIZE 28 #define PERF_TOKEN_LENGTH (PERF_TOKEN_SIZE - 1) #define PERF_PEI_ENTRY_MAX_NUM 50 +#define PERF_DATA_MAX_LENGTH 0x4000 typedef struct { CHAR8 Token[PERF_TOKEN_SIZE]; -- cgit v1.2.3