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:edk2-devel-boun...@lists.01.org] On Behalf Of > Carsey, Jaben > Sent: Wednesday, December 2, 2015 9:42 AM > To: Shubha Ramani <shubharam...@yahoo.com>; edk2-devel@lists.01.org > Cc: Carsey, Jaben <jaben.car...@intel.com> > 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:shubharam...@yahoo.com] > Sent: Wednesday, December 02, 2015 9:11 AM > To: Carsey, Jaben <jaben.car...@intel.com>; edk2-devel@lists.01.org > 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 > shubharam...@gmail.com<mailto:shubharam...@gmail.com> > shubharam...@yahoo.com<mailto:shubharam...@yahoo.com> > > > On Tuesday, December 1, 2015 8:39 AM, "Carsey, Jaben" > <jaben.car...@intel.com<mailto:jaben.car...@intel.com>> wrote: > > Its passed as a parameter to the "main" function when your app starts. > > -Jaben > > > -----Original Message----- > > From: edk2-devel > > [mailto:edk2-devel-boun...@lists.01.org<mailto:edk2-devel-boun...@lists.01.org>] > > On Behalf Of > > Shubha Ramani > > Sent: Tuesday, December 01, 2015 8:35 AM > > To: edk2-devel@lists.01.org<mailto:edk2-devel@lists.01.org> > > 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. ramanishubharam...@gmail.com<mailto:ramanishubharam...@gmail.com> > > shubharam...@yahoo.com<mailto:shubharam...@yahoo.com> > > > > > > On Monday, November 30, 2015 3:00 PM, Shubha Ramani > > <shubharam...@yahoo.com<mailto:shubharam...@yahoo.com>> 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. > > ramanishubharam...@gmail.com<mailto:ramanishubharam...@gmail.com> > > shubharam...@yahoo.com<mailto:shubharam...@yahoo.com> > > > > > > > _______________________________________________ > > edk2-devel mailing list > > edk2-devel@lists.01.org<mailto:edk2-devel@lists.01.org> > > https://lists.01.org/mailman/listinfo/edk2-devel > > > _______________________________________________ > edk2-devel mailing list > edk2-devel@lists.01.org > https://lists.01.org/mailman/listinfo/edk2-devel _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel