The Open protocol function returns a EFI_FILE_PROTOCOL for the opened
file. You need to use that protocol instance to write, not the root file
system protocol.
From: Andrew Fish
To: edk2-devel@lists.sourceforge.net,
Date: 05/22/2015 12:36 PM
Subject:Re: [edk2] write file in
The GetInfo function of the EFI_FILE_PROTOCOL can be used to retrieve the
information about the file. You will need to use the EFI_FILE_PROTOCOL
instance from opening the specific file instance. for example, if you
wanted to open Info.txt in the root of the file system, you should use the
roo
You will need to install the uuid development package from your linux
distribution.
Here is a link that describes how to setup an ubuntu environment.
https://wiki.ubuntu.com/UEFI/EDK2
Best Personal Regards,
Aaron Pop
Senior Software Engineer
Phone: +1 858-457-2600 Ext. 318
Fax: +1 858-457
Can you please run two commands: gcc -version and build.sh and get the
following information:
[aaron@localhost EmulatorPkg]$ gcc --version
gcc (GCC) 5.1.1 20150618 (Red Hat 5.1.1-4)
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
cus on growing your business.
Configured For All Businesses. Start Your Cloud Today.
https://www.gigenetcloud.com/
___
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.ne
The following VFR statement was causing the VfrCompile to crash:
efivarstore UINT8,
attribute = 0,
name = STRING_TOKEN(STR_TEST3),
varsize = 1,
guid = { 0xf648132a, 0x4193, 0x4c13, { 0x85, 0x71, 0x33, 0xf0, 0x6d,
0x53, 0x74, 0xa9 } };
In the vfrStatementVarStor
On architectures that require aligned reads/writes, the PCD PEIM can cause a
misaligned access exception. This stems from the PcdPeim's SetWorker not using
the WriteUnalignedN functions from the BaseLib. The attached patch file
includes modifications to the PEIM that enforce unaligned access f
urceforge.net<mailto:edk2-devel@lists.sourceforge.net>
Subject: Re: [edk2] [Patch] VfrCompile Crash on efivarstore statement
Aaron,
Thanks to provide this patch. Code has checked in r16544.
Thanks,
Eric
From: Aaron Pop [mailto:aar...@ami.com]
Sent: Saturday, December 20, 2014 12:41 AM
To: edk2-devel@li
...@intel.com]
Sent: Tuesday, January 06, 2015 8:35 PM
To: edk2-devel@lists.sourceforge.net; Aaron Pop
Cc: Tian, Feng
Subject: RE: [edk2] [PATCH] MdeModulePkg: PcdPeim: Unaligned PcdSet in PEI for
architectures requiring alignment
Aaron,
Sorry for late response.
Could you let me know it's a
ck it. So your
code caused vfrcompiler crushed.
Now I add code to check the varstore type filed for the old style. If user not
use string identifier, vfrcompiler will report an error. Please review this new
patch.
Thanks,
Eric
From: Aaron Pop [mailto:aar...@ami.com]
Sent: Wednesday, December 31,
lePkg\Universal\PCD\Pei\Pcd\OUTPUT
and $(OUTPUT_DIRECTORY)\$(TARGET)_$(TOOL_CHAIN_TAG)\
X64\MdeModulePkg\Universal\PCD\Dxe\Pcd\OUTPUT.
3. Share which PCD set in PEI cause the issue.
Thanks,
Star
-Original Message-
From: Aaron Pop [mailto:aar...@ami.com]
Sent: Thursday, January 08, 2015 5:40
they need to cover
the case of VPD PCDs. The value of VPD PCDs are not in PCD database and only
for Read, and their offset could be specified by platform developer in *.dsc.
Thanks,
Star
-Original Message-
From: Aaron Pop [mailto:aar...@ami.com]
Sent: Friday, January 09, 2015 6:16 AM
To:
Hi Eric and Yingke,
Please find attached a potential path for allowing ordered lists to have
default statements that are more than one element. I've also attached the
test VFR used to demonstrate the syntax.
Please let me know your opinions on if the change in the syntax will be
allowable.
B
Regards,
Aaron
[attachment "Tool update for orderedlist opcode v3.patch" deleted by Aaron
Pop/cus/congatec] [attachment "text.vfr" deleted by Aaron
Pop/cus/congatec]
--
BPM Camp - Free Virtual Workshop M
Hi Eric,
I think this patch still needs some work because it isn't enforcing the
min/max of signed integers. In the below example, the following error is
generated:
typedef struct {
UINT8 Nothing[1];
} MY_EFI_VARSTORE_DATA;
numeric varid = MY_EFI_VARSTORE_DATA.Nothing,
if (MaxU1 <
MinU1) {
+_PCATCH
(VFR_RETURN_INVALID_PARAMETER, A->getLine(), "Maximum can't be less than
Minimum");
+ }
N_INVALID_PARAMETER, A->getLine(), "Maximum can't be less than
Minimum");
+ }
}
th : %d\n\n", SmbiosRecord->Length);
Print(L"SmbiosRecord->Handle : %d\n\n", SmbiosRecord->Handle);
Print(L"Sizeof SmbiosRecord : %d\n", sizeof(SmbiosRecord));
FreePool (SmbiosRecord);
return EFI_SUCCESS;
Best Personal Regards,
Aaron Pop
Senior Soft
18 matches
Mail list logo