Hi,
The old PI spec stated pass "zero" to start finding the first
entry. The latest PI spec changed it to pass 0xFFFE. You could try to make
SmbiosHandle as 0 and see if it is good. I supposed your real platform BIOS
supported old PI spec.
SmbiosHandle
On entry, points to the previous handle of the SMBIOS record. On exit, points
to the next SMBIOS record handle. If it is zero on entry, then the first SMBIOS
record handle will be returned. If it returns zero on exit, then there are no
more SMBIOS records.
Elvin Li
From: Rafael Machado [mailto:rafaelrodrigues.mach...@gmail.com]
Sent: Wednesday, March 26, 2014 2:14 AM
To: edk2-devel
Subject: Re: [edk2] SMBios GetNext function problems
Yes. It's always breaking with status EFI_NOT_FOUND.
I've tried on others systems to be sure it's not a issue on the firmware.
Failed on all systems.
At. Pi spec we have:
"SmbiosHandle
On entry, points to the previous handle of the SMBIOS record. On exit, points
to the
next SMBIOS record handle. If it is FFFEh on entry, then the first SMBIOS record
handle will be returned. If it returns FFFEh on exit, then there are no more
SMBIOS
records."
Should work. Maybe is a stupid error.
I'll continue to try, but if you have any idea, please tell me.
Thanks and Regards.
Rafael R. Machado
2014-03-25 15:03 GMT-03:00 Mike Maslenkin
<miha...@parallels.com<mailto:miha...@parallels.com>>:
On Tue, 2014-03-25 at 14:39 -0300, Rafael Machado wrote:
> Hi everyone
> Thanks for the answer Mike.
> I didn't find any file to include on my application that contains this
> definition at UDK2010.
> So I added this to my code:
>
>
> #define SMBIOS_HANDLE_PI_RESERVED 0xFFFE
>
>
>
> It didn't work yet.
Probably because it is your original code. My apologies I missed its
initialization as a part of declaration(your message badly formatted by
my mailer).
So what is the Status value? Is it EFI_NOT_FOUND?
> Just to clarify the scenario, it's an UEFI application executed at
> UEFI shell just to get some smbios information.
>
> It's really similar to the smbiosview command. But I'm trying to use
> the Smbios protocol as mentioned before.
>
>
> Any other idea or point to check ?
> Is there any hidden place where I can find this definition (I'm using
> UDK2010) ?
>
>
> Thanks everyone
> Rafael R. Machado
Regards.
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net<mailto:edk2-devel@lists.sourceforge.net>
https://lists.sourceforge.net/lists/listinfo/edk2-devel
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel