Re: [edk2] #pragma pack(1) question

2012-08-23 Thread nicolas
hi, Andrew: Thanks! best wishes, 发件人: Andrew Fish [mailto:af...@apple.com] 发送时间:2012年8月24日 10:55 收件人: edk2-devel@lists.sourceforge.net 主题: Re: [edk2] #pragma pack(1) question Nicolas, #pragma pack() aligns to the C ABI convention. #pragma pack(1) byte packs the structure. Th

Re: [edk2] Intel Degubber Tool

2012-08-23 Thread Tian, Feng
Did you read the latest UDK Debugger Tools' user manual? Its section 3.2.4 explains this. Please raise any issue to me when following these instructions. From: Denis Alberto Silverio [mailto:denis.a.silve...@gmail.com] Sent: Friday, August 24, 2012 01:42 To: edk2-devel@lists.sourceforge.net Subj

Re: [edk2] #pragma pack(1) question

2012-08-23 Thread Andrew Fish
Nicolas, #pragma pack() aligns to the C ABI convention. #pragma pack(1) byte packs the structure. The EFI C ABI is carefully defined in the UEFI specification to be the same for all processor architectures. Per UEFI spec: 2.3.1 Data Types Table 6 lists the common data types that are used in t

Re: [edk2] SCSI Protocols not found

2012-08-23 Thread Tian, Feng
Could you show me which modules are loaded by executing "drivers" cmd? From: Sushma Gurram [mailto:sushma.gur...@sandisk.com] Sent: Friday, August 24, 2012 05:12 To: edk2-devel@lists.sourceforge.net Subject: Re: [edk2] SCSI Protocols not found I'm trying to dump handles (globally) by protocol usi

[edk2] #pragma pack(1) question

2012-08-23 Thread nicolas
hi, experts: I found using "#pragma pack()" pre-compile syntax for some data structs, but not for some other data struct in MdePkg\Include\Protocol\Dhcp6.h . So, is there some considerations for using this pre-compile syntx? If i used "#pragma pack()" pre-compile syntax for all my own defined d

Re: [edk2] Intel Degubber Tool

2012-08-23 Thread Andrew Fish
The USB Debug Port is an optional feature of an EHCI USB Host Controller, and there is a PCI capability that tells if it is enabled. Only Port 1 of the ECHI controller supports the debug port. For the system you are debugging you have to hook up the USB Debug Cable to the magic port directly,

Re: [edk2] SCSI Protocols not found

2012-08-23 Thread Sushma Gurram
I'm trying to dump handles (globally) by protocol using shell command Shell> dh -p scsiio Shell> dh -p extscsipassthru Shell> dh -p scsipassthru No handles are returned. Programatically using the LocateProtocol() service function Status = gBS->LocateProtocol(&gEfiScsiPassThruProtocolGuid, NULL,

Re: [edk2] SCSI Protocols not found

2012-08-23 Thread Tim Lewis
Susha - Just to make sure: The actual SCSI device would be at: PciRoot(0x0)/Pci(0x3,0x2)/Pci(0x0,0x0)/Scsi(0x9,0x0) (without the /HD(1,MBR,0xc64a382f,0x800,0x1749e000), which is the partition on the disk) So that would be a different handle. Tim From: Sushma Gurram [mailto:sushma.gur...@sand

[edk2] SCSI Protocols not found

2012-08-23 Thread Sushma Gurram
Hi, We have a drive which shows up as a SCSI device when "map" shell command is executed. The device path for the device is as follows: PciRoot(0x0)/Pci(0x3,0x2)/Pci(0x0,0x0)/Scsi(0x9,0x0)/HD(1,MBR,0xc64a382f,0x800,0x1749e000). We need to issue SCSI INQUIRY and other SCSI commands to the device.

[edk2] Static analysis results from Klocwork

2012-08-23 Thread Lynn Gayowski
Klocwork's open source program analyzed EDK II using its static analysis product, Klocwork Insight, to give a report on bugs and potential security vulnerabilities in the project. The results are hosted on a secure web portal. If anyone would like a login to access the results please email opens

Re: [edk2] Intel Degubber Tool

2012-08-23 Thread Rafael Machado
Hi Denis. I need this inforation too. I've tried to use a debug cable to debug an application, but no success. Still debugging using print and files :( 2012/8/23 Denis Alberto Silverio > Hi Everybody! > I´m Learning about Intel Debugger Tool and I would like to know if anyone > knows a good tut

[edk2] Intel Degubber Tool

2012-08-23 Thread Denis Alberto Silverio
Hi Everybody! I´m Learning about Intel Debugger Tool and I would like to know if anyone knows a good tutorial that explains how to use the USB Debug cable, and help me to find the USB debug port. I´m reading Intel debugger tool Manual but i can´t make it work Thanks -- Dênis Alberto Silverio

Re: [edk2] Changing values retrieved by dmidecode

2012-08-23 Thread Andrew Fish
Tim, I agree. I submitted a patch a while back, that seems to have fallen into the bit bucket, that builds the SMBIOS tables from C templates, and dumps all the Hii misc sub class craziness. I mapped things like UUID to PCDs. A PCD can be mapped to VPD (Vital Product Data), which is basical

Re: [edk2] Changing values retrieved by dmidecode

2012-08-23 Thread Tim Lewis
I think some of the question revolves around changing certain records that relate to UUID, manufacturer name, etc. Many BIOS implementations have means of updating the relatively static fields for SMBIOS by, for example, populating a specific UEFI variable or generating a soft SMI. This allows i

Re: [edk2] Changing values retrieved by dmidecode

2012-08-23 Thread Andrew Fish
On Aug 23, 2012, at 7:58 AM, Georg Schönberger wrote: > - Original Message - >> On Aug 22, 2012, at 11:01 PM, Georg Schönberger >> wrote: >> >>> Hello everybody, >>> >>> we, as a hardware vendor, would like to change parameter values >>> retrieved via dmidecode such as: >>> -Manufactur

Re: [edk2] Changing values retrieved by dmidecode

2012-08-23 Thread Sergey Isakov
As an example /edk2/DuetPkg/SmbiosGenDxe/ 23.08.2012, в 18:58, Georg Schönberger написал(а): > - Original Message - >> On Aug 22, 2012, at 11:01 PM, Georg Schönberger >> wrote: >> >>> Hello everybody, >>> >>> we, as a hardware vendor, would like to change parameter values >>> retriev

Re: [edk2] Changing values retrieved by dmidecode

2012-08-23 Thread Georg Schönberger
- Original Message - > On Aug 22, 2012, at 11:01 PM, Georg Schönberger > wrote: > > > Hello everybody, > > > > we, as a hardware vendor, would like to change parameter values > > retrieved via dmidecode such as: > > -Manufacturer > > -Product Name > > -Serial Number > > - and so on... >

Re: [edk2] Changing values retrieved by dmidecode

2012-08-23 Thread Andrew Fish
The PI spec has a way to do this: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2/MdePkg/Include/Protocol/Smbios.h Sent from my iPhone On Aug 22, 2012, at 11:01 PM, Georg Schönberger wrote: > Hello everybody, > > we, as a hardware vendor, would like to change parameter values retriev