Shubha, You can run the dmem command from the UEFI shell with no parameters, and it will show the UFI System Table address along with other standard table addresses.
Shell> dmem Memory Address 000000000FD6E010 200 Bytes 0FD6E010: 49 42 49 20 53 59 53 54-32 00 02 00 48 00 00 00 *IBI SYST2...H...* . . . 0FD6E200: AA AA 55 55 AA AA 55 55-55 55 AA AA 55 55 AA AA *..UU..UUUU..UU..* Valid EFI Header at Address 000000000FD6E010 --------------------------------------------- System: Table Structure size 00000048 revision 00020032 ConIn (000000000F50A28C) ConOut (000000000F497054) StdErr (000000000F50A37C) Runtime Services 000000000FD6EF90 Boot Services 000000000F89B5C0 SAL System Table 0000000000000000 ACPI Table 000000000FCEE000 ACPI 2.0 Table 000000000FCEE014 MPS Table 0000000000000000 SMBIOS Table 000000000FD63000 For a debugger, a platform can produce the EFI_DEBUG_IMAGE_INFO_TABLE. UEFI Specification Section 17.4.2 describes how a debugger can find the UEFI System Table address from a structure that is on a 4MB boundary with a signature and a CRC. This table also provides the list of LOADED_IMAGE_PROTOCOLs for PE/COFF images that have been loaded, so a debugger can load symbols. Mike > -----Original Message----- > From: edk2-devel [mailto:[email protected]] On Behalf Of > Carsey, Jaben > Sent: Wednesday, December 2, 2015 9:42 AM > To: Shubha Ramani <[email protected]>; [email protected] > Cc: Carsey, Jaben <[email protected]> > Subject: Re: [edk2] Where do I find the system table address for an EFI app ? > > I am pretty sure it’s there in a shell app also. What entry point lib are > you using to build your app? > > -Jaben > > From: Shubha Ramani [mailto:[email protected]] > Sent: Wednesday, December 02, 2015 9:11 AM > To: Carsey, Jaben <[email protected]>; [email protected] > Subject: Re: [edk2] Where do I find the system table address for an EFI app ? > Importance: High > > Not in a Shell App though. How do you answer to the debugger when it's asking > for the System Table address for a shell app ? > > Thanks, > > Shubha > > Shubha D. Ramani > [email protected]<mailto:[email protected]> > [email protected]<mailto:[email protected]> > > > On Tuesday, December 1, 2015 8:39 AM, "Carsey, Jaben" > <[email protected]<mailto:[email protected]>> wrote: > > Its passed as a parameter to the "main" function when your app starts. > > -Jaben > > > -----Original Message----- > > From: edk2-devel > > [mailto:[email protected]<mailto:[email protected]>] > > On Behalf Of > > Shubha Ramani > > Sent: Tuesday, December 01, 2015 8:35 AM > > To: [email protected]<mailto:[email protected]> > > Subject: Re: [edk2] Where do I find the system table address for an EFI app > > ? > > Importance: High > > > > I'm sorry but this was unclear. I meant where do I find the System Table > > address for a UEFI Shell App ?The debugger is asking for it. I couldn't > > find it in > > the generated *.map file. > > Thanks > > Shubha > > Shubha D. [email protected]<mailto:[email protected]> > > [email protected]<mailto:[email protected]> > > > > > > On Monday, November 30, 2015 3:00 PM, Shubha Ramani > > <[email protected]<mailto:[email protected]>> wrote: > > > > > > I'm trying to debug it using a debugger and the debugger is asking me this > > question. > > I looked at the *.map file which is generated and I could not locate the > > System > > Table address. > > Thanks, > > Shubha Shubha D. > > [email protected]<mailto:[email protected]> > > [email protected]<mailto:[email protected]> > > > > > > > _______________________________________________ > > edk2-devel mailing list > > [email protected]<mailto:[email protected]> > > https://lists.01.org/mailman/listinfo/edk2-devel > > > _______________________________________________ > edk2-devel mailing list > [email protected] > https://lists.01.org/mailman/listinfo/edk2-devel _______________________________________________ edk2-devel mailing list [email protected] https://lists.01.org/mailman/listinfo/edk2-devel

