audk/UnixPkg
eric_tian eb0f522c15 ProcessCapsule() and BdsMemoryTest() are implemented in the BdsDxe module, which will be invoked at PlatformBds library.
It is not proper for a library implementation to assume the names of function in a parent module.
Instead, they must be designed as the pointers to these two BdsDxe functions and passed in.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8932 6f19259b-4bc3-4df7-8a09-765794883524
2009-07-13 12:08:24 +00:00
..
BootModePei Fix entry point prototype. 2008-12-03 06:15:10 +00:00
CpuRuntimeDxe Remove extra #includes where possible to make build more efficient 2009-07-11 23:29:23 +00:00
FvbServicesRuntimeDxe Fix the wrong Revision number. According to PI spec 1.0, this field should be set to 2. 2009-03-19 08:28:47 +00:00
Include Remove PeiPeCoffLoader.h and gPeiPeCoffLoaderGuid, and Add PeCoffExtraActionLib class and instances. 2009-03-05 09:20:08 +00:00
Library ProcessCapsule() and BdsMemoryTest() are implemented in the BdsDxe module, which will be invoked at PlatformBds library. 2009-07-13 12:08:24 +00:00
MetronomeDxe remove all obsolete msa files from UnixPkg 2008-08-26 09:22:15 +00:00
MiscSubClassPlatformDxe Retire gEfiProcessorProducerGuid,gEfiMemoryProducerGuid, 2009-06-12 09:09:51 +00:00
RealTimeClockRuntimeDxe Patch to remove STATIC modifier. This is on longer recommended by EFI Framework coding style. All duplicated symbols has been renamed accordingly. 2008-10-30 06:14:35 +00:00
ResetRuntimeDxe Fix the prototype inconsitency issue. 2009-01-14 13:41:12 +00:00
Sec Fix build broken, EFI_TIME_IN_DAYLIGHT used in Sec/UnixThunk.c is defined in Uefi specification, so need include Uefi.h. 2009-07-13 05:14:09 +00:00
TimerDxe remove all obsolete msa files from UnixPkg 2008-08-26 09:22:15 +00:00
UnixAutoScanPei Remove BaseMemoryTest PPI and related producers and consumers. 2009-02-23 02:39:20 +00:00
UnixBlockIoDxe Clean up to update the reference of the these macros: 2008-12-16 15:32:09 +00:00
UnixBusDriverDxe Clean up to update the reference of the these macros: 2008-12-16 15:32:09 +00:00
UnixConsoleDxe Fix build break 2008-12-30 04:26:53 +00:00
UnixFirmwareVolumePei Fix entry point prototype. 2008-12-03 06:20:14 +00:00
UnixFlashMapPei Remove unused guid 2009-02-24 11:59:11 +00:00
UnixSerialIoDxe Clean up to update the reference of the these macros: 2008-12-16 15:32:09 +00:00
UnixSimpleFileSystemDxe Clean up to update the reference of the these macros: 2008-12-16 15:32:09 +00:00
UnixThunkDxe Add DevicePathLib reference, for these macros have been moved to DevicePathLib 2008-11-13 07:45:26 +00:00
UnixThunkPpiToProtocolPei Fix entry point prototype. 2008-12-03 06:20:14 +00:00
UnixUgaDxe Clean up to update the reference of the these macros: 2008-12-16 15:32:09 +00:00
UnixPkg.dec Remove extra GUID that is not used 2009-07-03 20:15:15 +00:00
UnixPkg.dsc Revert r8771. UnixPkg has a custom RTC driver. 2009-07-07 22:52:15 +00:00
UnixPkg.fdf Retire Logo and Shell guid header file, which are replaced by gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdLogoFile and gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdShellFile 2009-07-09 05:48:35 +00:00
readme.txt add readme.txt for UnixPkg 2009-07-06 15:01:46 +00:00

readme.txt

Unix Simulation Platform
========================

UnixPkg is one of platform package which can be built to a platform's firmware from UnixPkg.dsc file.
And this package provide a simulation platform under *INUX environment in IA32 architecture.

- Same points between real platform and simulation platform:
  1) Unix simulation platform also run with firmware device image built from UnixPkg
  2) The working flow of simulation platform also contains SEC/PEI/DXE phase.

- Different points between real platform and simulation platform:
  1) The SEC phase in simulation platform in fact is a *INUX native application which can be run from *INUX shell;
  2) The device in simulation platform is not real hardware but simulation component in API level;
  3) The ThunkBus driver in simulation platform will get virtual device's desription from PCD and create virtual Device

Build
=====
UnixPkg is built with following command:
  build -p UnixPkg/UnixPkg.dsc -a IA32 -t ELFGCC
  Notes: ELFGCC is defined in <Workspace>/Conf/tools_def.txt file. This tool chain use native gcc/binutil instead of 
         cross-compiler like UNIXGCC tool chain.


FAQ
===
1, I fail to build UnixPkg due to "X11/extensions/XShm.h: No such file or directory"?
   The display adapter in UnixPkg is a virtual device written in X11 API. The library of x11proto-xext-dev is required
   for building.

2, I fail to build UnixPkg due to "/usr/bin/ld: cannot find -lXext"?   
   libxext-dev library is required for building.