summaryrefslogtreecommitdiff
path: root/AppPkg
AgeCommit message (Collapse)AuthorFilesLines
2014-08-25EDK II Contributions.txt: Note acceptable contribution licensesJordan Justen1-0/+14
We strongly prefer that contribtions be offered using the same license as the project/module. But, we should document other acceptable licenses for contributions. This will allow package owners to more easily know if they can accept a contribution under a different source license. NOTE: This does not modify the wording of the "TianoCore Contribution Agreement 1.0" section Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Mark Doran <mark.doran@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15892 6f19259b-4bc3-4df7-8a09-765794883524
2014-08-25AppPkg/Applications/Sockets/TftpServer: Make the include file names match ↵Daryl McDaniel1-1/+1
the case of the files in the file system. Change “#include <sys/Stat.h>” to “#include <sys/stat.h>”. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Daryl McDaniel <daryl.mcdaniel@intel.com> Reviewed-by: Leahy, Leroy P <leroy.p.leahy@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15891 6f19259b-4bc3-4df7-8a09-765794883524
2014-08-20AppPkg: Enable ARM and AArch64 supportHarry Liebel1-1/+1
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Harry Liebel <Harry.Liebel@arm.com> Reviewed-By: Olivier Martin <olivier.martin@arm.com> Reviewed-By: Daryl McDaniel <daryl.mcdaniel@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15857 6f19259b-4bc3-4df7-8a09-765794883524
2014-08-18AppPkg/Applications/Python: Explicitly initialize variables before use to ↵Daryl McDaniel5-16/+18
keep newer compilers happy. Explicitly initialize variables before any potential use. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Daryl McDaniel <daryl.mcdaniel@intel.com> Reviewed-by: Jaben Carsey <Jaben.carsey@intel.com> Reviewed-by: Erik Bjorge <erik.c.bjorge@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15819 6f19259b-4bc3-4df7-8a09-765794883524
2014-08-12AppPkg: introduce OrderedCollectionTestLaszlo Ersek5-0/+803
In this patch a small application is added to AppPkg, with the following two goals: - demonstrate how to use OrderedCollectionLib, - allow users to test and "fuzz" BaseOrderedCollectionRedBlackTreeLib in particular, entering API "commands" interactively, or providing them from a script file. A shell script is included that generates such an API command script. Speaking about BaseOrderedCollectionRedBlackTreeLib specifically, OrderedCollectionTest validates the internal red-black properties of the tree after each read-write operation by setting the PcdValidateOrderedCollection feature flag to TRUE. The OrderedCollectionTest application's debugging environment is strictly specified in the DSC file, because OrderedCollectionTest is entirely useless for unit testing without full ASSERT() enablement. The OrderedCollectionTest application deliberately doesn't follow the edk2 coding style in the following: - const vs. CONST, - void vs. VOID, - assert() vs. ASSERT(), - calloc() and free() vs. AllocateZeroPool() and FreePool(), - integer types. This is because OrderedCollectionTest is a standard C application, not a UEFI application per se. In particular it relies on stdio. INTN, EFIAPI and CONST VOID are used only in two places, where we provide the comparator callbacks to OrderedCollectionLib. Proper range checking is ensured for integers. The application takes command input from stdin or a file (if the user requests it), sends command output to stdout or a file (if the user requests it), prints debug output to the console (as other AppPkg applications do when debugging is enabled for them), and prints diagnostics to stderr (like well behaved standard C programs should). Input/output selection is implemented manually because the old shell doesn't support input redirection at all, and because the new shell's input redirection does not co-operate with fgets() for the time being. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: Michael Kinney <michael.d.kinney@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@15792 6f19259b-4bc3-4df7-8a09-765794883524
2013-11-19Enable the build command override the .DSC file contents to enable debug ↵Lee Leahy1-8/+15
output and specify which debug messages are displayed. An example: build -a IA32 -a X64 -t VS2008x86 -p AppPkg/AppPkg.dsc -b DEBUG -D DEBUG_ENABLE_OUTPUT=TRUE -D DEBUG_PROPERTY_MASK=0x27 -D DEBUG_PRINT_ERROR_LEVEL=0xFCF00040 Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Lee Leahy <leroy.p.leahy@intel.com> Reviewed-by: Daryl McDaniel <daryl.mcdaniel@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14859 6f19259b-4bc3-4df7-8a09-765794883524
2013-10-25EADK (AppPkg): Update the Python ReadMe file, Python/PythonReadMe.txt, to ↵Daryl McDaniel1-12/+14
reflect the current status of the project. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Daryl McDaniel <daryl.mcdaniel@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14804 6f19259b-4bc3-4df7-8a09-765794883524
2013-10-24EADK (StdLib, AppPkg, StdLibPrivateInternalFiles): Update ReadMe.txt in all ↵Daryl McDaniel1-99/+110
packages. StdLib: Update Issues.txt and add Fixes.txt files. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Daryl McDaniel <daryl.mcdaniel@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@14801 6f19259b-4bc3-4df7-8a09-765794883524
2013-02-08- For writing sin_port, htons() must be used.lpleahy1-20/+20
- For reading sin_port, ntohs() must be used. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: lpleahy Reviewed-by: Laszlo Ersek <lersek@redhat.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14127 6f19259b-4bc3-4df7-8a09-765794883524
2013-02-08- For writing sin_port, htons() must be used.lpleahy1-8/+13
- For reading sin_port, ntohs() must be used. - EFI_TCP4_ACCESS_POINT.RemotePort is in host byte order (see StdLib/EfiSocketLib/Tcp4.c for example). Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Laszlo Ersek <lersek@redhat.com> Reviewed-by: lpleahy git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14126 6f19259b-4bc3-4df7-8a09-765794883524
2013-01-18AppPkg/Applications/Python: Add support for the pyexpat module.darylm5036-60/+6480
Add required flags to [BuildOptions] in PythonCore.inf. Add initialization routine to Efi/config.c. Alter #include targets if building for UEFI in expat_external.h and xmlparse.c. Add expat modifications to PyMod-2.7.2/Modules/expat. Contributed-under: TianoCore Contribution Agreement 1.0 Submitted-by: Duane Voth <duanev@gmail.com> Signed-off-by: daryl.mcdaniel@intel.com Reviewed-by: duanev@gmail.com Reviewed-by: daryl.mcdaniel@intel.com git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14071 6f19259b-4bc3-4df7-8a09-765794883524
2013-01-16StdLib & AppPkg: Update the list of known ISSUES.darylm5031-0/+11
Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: daryl.mcdaniel@intel.com Reviewed-by: erik.c.bjorge@intel.com git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14061 6f19259b-4bc3-4df7-8a09-765794883524
2013-01-16AppPkg/Applications/Main/Main.c: Remove EFIAPI from the definition of the ↵darylm5031-1/+0
main() function. The main() function should not be declared as EFIAPI. To do so conflicts with the C specification and does not match the internal declaration of main(). Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: daryl.mcdaniel@intel.com Reviewed-by: erik.c.bjorge@intel.com git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14059 6f19259b-4bc3-4df7-8a09-765794883524
2013-01-16List of known issues with the items contained within AppPkg.darylm5031-0/+17
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@14058 6f19259b-4bc3-4df7-8a09-765794883524
2012-04-24Update copyright formathhtian1-3/+1
Signed-off-by: Hot Tian <hot.tian@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13213 6f19259b-4bc3-4df7-8a09-765794883524
2012-04-16AppPkg/Applications/Python: Add Python 2.7.2 sources since the release of ↵darylm5032106-0/+871583
Python 2.7.3 made them unavailable from the python.org web site. These files are a subset of the python-2.7.2.tgz distribution from python.org. Changed files from PyMod-2.7.2 have been copied into the corresponding directories of this tree, replacing the original files in the distribution. Signed-off-by: daryl.mcdaniel@intel.com git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13197 6f19259b-4bc3-4df7-8a09-765794883524
2012-04-11EDK II Packages: Add Contributions.txt and License.txt filesjljusten2-0/+215
Contributions.txt documents the contribution process for all tianocore projects. The conents of Contributions.txt should match in all cases. License.txt is a per-project document showing the license terms used by that project. Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13187 6f19259b-4bc3-4df7-8a09-765794883524
2012-04-04AppPkg/Applications/Python: Fix bug where the StdLib\lib\site-python and ↵darylm5034-3/+2346
StdLib\lib\python.27\site-customize directories were not being processed. Fix bug where unicode strings were not being correctly encoded in the "idna" encoding before being passed to low-level networking functions. Correct problem where a spurious message, "Shell: Incorrect redirection syntax - '2>/dev/null'", was being output by PyDoc. Signed-off-by: daryl.mcdaniel@intel.com Reviewed-by: jordan.l.justen@intel.com git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13161 6f19259b-4bc3-4df7-8a09-765794883524
2012-03-28StdLib/Include/stdarg.h: Added the __va_copy macro for Python compatibility.darylm50312-5435/+3634
AppPkg/Applications/Python: Deleted obsolete and incomplete PyMod-2.7.1. Changes to enable compilation using GCC 4.4 on both Windows and Linux hosts. Signed-off-by: daryl.mcdaniel@intel.com Reviewed-by: jaben.carsey@intel.com git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13147 6f19259b-4bc3-4df7-8a09-765794883524
2012-03-27AppPkg/Applications/Sockets: Address GCC and Linux compilation problems.darylm5033-467/+459
1) Fix copyright and license notices. 2) Replace '\' in include paths with '/'. 3) Fix case mismatch between include paths and actual files and directories. Signed-off-by: darylm503 Reviewed-by: geekboy15a git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13142 6f19259b-4bc3-4df7-8a09-765794883524
2012-03-24EADK (StdLib, AppPkg, StdLibPrivateInternalFiles): Python Beta Release.darylm50312-242/+455
Clean up and clearly differentiate required and optional items in configuration files. Enable the system command and synchronize configuration options between all CPU architectures. Replace the UEFI_ENV macro with UEFI_C_SOURCE to align with Linux and Posix conventions. Update copyrights and versions and make minor cosmetic enhancements to files. Fix compiler-specific build errors. Add Python-specific ReadMe file. Signed-off-by: darylm503 Reviewed-by: geekboy15a Reviewed-by: jljusten Reviewed-by: leegrosenbaum git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13119 6f19259b-4bc3-4df7-8a09-765794883524
2012-03-20Update the license dateslpleahy71-691/+2421
Use the BSD license Fix errors detected by GCC compiler in WebServer/ConfigurationTable.c Add libraries: CpuLib, DxeServicesTableLib and MtrrLib Signed-off-by: lpleahy git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13115 6f19259b-4bc3-4df7-8a09-765794883524
2012-02-28StdLib, AppPkg: Update ReadMe files.darylm5031-119/+167
Signed-off-by: darylm503 Reviewed-by: jcarsey Reviewed-by: michaelkrau Reviewed-by: laurie0131 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13046 6f19259b-4bc3-4df7-8a09-765794883524
2012-02-17Fix the errors detected by the GCC compiler:lpleahy4-13/+15
* Add EFIAPI to the timer callbacks * Fix 32-bit pointer casts Signed-off-by: lpleahy git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13024 6f19259b-4bc3-4df7-8a09-765794883524
2012-02-13Update documentation to match required tree on the storage device.lpleahy1-2/+2
Signed-off-by: lpleahy git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13009 6f19259b-4bc3-4df7-8a09-765794883524
2012-02-10Fix some errors detected by the GCC 4.4 compiler.lpleahy15-40/+59
Signed-off-by: lpleahy git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13007 6f19259b-4bc3-4df7-8a09-765794883524
2012-02-09Merged socket development branch:lpleahy34-1295/+3447
* Add TCPv6 support to DataSink * Add TCPv6 support to DataSource * Add GetAddrInfo test application * Add GetNameInfo test application * Fixed copyright date * Completed TFTP server - now downloads files from local directory * Added ports and exit pages to web server * Made PCD values package specific Signed-off-by: lpleahy git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13003 6f19259b-4bc3-4df7-8a09-765794883524
2012-01-27AppPkg/Applications/Python: Fix a mis-located module and establish the ↵darylm5032-97/+57
minimum set of built-in modules needed for Python to start and run. Signed-off-by: darylm503 Reviewed-by: leegrosenbaum git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12958 6f19259b-4bc3-4df7-8a09-765794883524
2012-01-26AppPkg/Applications/Python: Get Python startup process fully working for EDK II.darylm50317-298/+12508
AppPkg.dsc: Clean up and add Socket support. Applications/Python/PythonCore.inf: Re-order source files. Applications/Python/Efi/config.c: Add all mandatory modules. Disable remaining. Applications/Python/Efi/edk2module.c: EDK II port of posixmodule.c. Applications/Python/Efi/getpath.c: Determine initial module search path. Applications/Python/Ia32/pyconfig.h: Configuration macros for Ia32. Applications/Python/Ipf/pyconfig.h: Configuration macros for Ipf. Applications/Python/PyMod-2.7.2/Include/osdefs.h: Select appropriate directory and path separators for UEFI. Applications/Python/PyMod-2.7.2/Lib/ntpath.py: Allow multi-character device names to left of colon. Applications/Python/PyMod-2.7.2/Lib/os.py: Add edk2 as a supported OS. Applications/Python/PyMod-2.7.2/Lib/site.py: UEFI-specific path and environment setup. Applications/Python/PyMod-2.7.2/Modules/errnomodule.c: Sync with errno.h. Applications/Python/PyMod-2.7.2/Modules/selectmodule.c: Add UEFI support. Applications/Python/PyMod-2.7.2/Modules/socketmodule.h: Add UEFI support. Applications/Python/PyMod-2.7.2/Modules/zlib/zutil.h: Add UEFI support. Applications/Python/PyMod-2.7.2/Python/getcopyright.c: Add Intel copyright. Applications/Python/X64/pyconfig.h: Configuration macros for X64. Signed-off-by: darylm503 Reviewed-by: geekboy15a Reviewed-by: jljusten Reviewed-by: lpleahy Reviewed-by: leegrosenbaum git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12957 6f19259b-4bc3-4df7-8a09-765794883524
2011-12-01AppPkg/Applications/Python: Workaround recent build tool changes which ↵darylm5031-149/+160
prevent building Python. Recent changes to the build tools removed user-defined MACRO capability in INF files. This change manually expands the PYTHON_VERSION macro so that one can again build Python. Signed-off-by: darylm503 Reviewed-by: geekboy15a git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12810 6f19259b-4bc3-4df7-8a09-765794883524
2011-10-04Update applications to display correct error for gethostbyaddr and ↵lpleahy3-3/+3
gethostbyname. These APIs use h_errno instead of errno, see documentation at: http://www.linuxhowtos.org/manpages/3p/gethostbyaddr.htm Signed-off-by: lpleahy git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12511 6f19259b-4bc3-4df7-8a09-765794883524
2011-10-03StdLib: Improve robustness of stat() and make basename() a public function.darylm50314-1045/+1306
AppPkg: Refinements to pyconfig.h and port of getpath.c to EDK II. Signed-off-by: darylm503 Reviewed-by: geekboy15a Reviewed-by: jljusten git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12508 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-30Update the sockets applicationslpleahy52-235/+3062
* Builds with GCC 4.4 compiler. Signed-off by: lpleahy git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12498 6f19259b-4bc3-4df7-8a09-765794883524
2011-09-11AppPkg|Python: Files from the Python 2.7.2 distribution that must be ↵darylm5037-0/+11174
modified to build under EDK II. Signed-off-by: duanev@gmail.com Reviewed-by: darylm503 git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12322 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-22Add documentation on how to build for execution within an emulation environment.darylm5031-0/+5
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12182 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-09Disable building socket applications.darylm5031-17/+17
These applications are not yet ready to build or use by default. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12114 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-05Fix @return Doxygen commands to be singular instead of plural.darylm5034-5019/+5019
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12094 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-02Add plain-text ReadMe files and delete the PDF version.darylm5033-3/+446
Clean up some comments. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12080 6f19259b-4bc3-4df7-8a09-765794883524
2011-08-02Make it easy to build the socket applicationslpleahy1-0/+24
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12075 6f19259b-4bc3-4df7-8a09-765794883524
2011-07-30Add Socket Library applications.darylm50345-67/+15430
Modify AppPkg.dsc file to include StdLib.inc which contains the Boilerplate text for Standard Library based Applications. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@12062 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-29Give Python/PythonCore.inf its own GUID.darylm5033-10/+8
Do not build Python by default since it requires manual preparation before it can be built. Update ReadMe.pdf to include information on configuring and building Python. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11930 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-28Missing from previous check-in.darylm5031-0/+714
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11922 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-28Basic Core Python interpreter.darylm50311-0/+9557
This allows the Python 2.7.1 distribution to be extracted into the AppPkg/Applications/Python directory - producing the AppPkg/Applications/Python/Python-2.7.1 directory - then built for EDK II using the Standard C Libraries provided by the StdLib package. Only rudimentary functionality has been tested. Only compilation with Microsoft Visual Studio 2005 has been tested for Ia32 and X64 architectures. The X64/pyconfig.h file should probably be updated to match the values in Ia32/pyconfig.h. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11910 6f19259b-4bc3-4df7-8a09-765794883524
2011-06-28Changes required to build using the new device abstraction capability of StdLib.darylm5032-2/+8
Applications which require file-system functionality must have DevShell listed in the [LibraryClasses] section of the application's INF file. Entries for the device abstraction Library Classes must be added to the application's package's DSC file. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11909 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-28Correct typo: GCC 5.4 --> GCC 4.5.darylm5031-0/+0
Change name from Intel(R) UADK to EADK, the EDK II Application Development Kit. Add more information on restrictions present in this version. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11604 6f19259b-4bc3-4df7-8a09-765794883524
2011-04-27Standard Libraries for EDK II.darylm5038-0/+3748
This set of three packages: AppPkg, StdLib, StdLibPrivateInternalFiles; contains the implementation of libraries based upon non-UEFI standards such as ISO/IEC-9899, the library portion of the C Language Standard, POSIX, etc. AppPkg contains applications that make use of the standard libraries defined in the StdLib Package. StdLib contains header (include) files and the implementations of the standard libraries. StdLibPrivateInternalFiles contains files for the exclusive use of the library implementations in StdLib. These files should never be directly referenced from applications or other code. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11600 6f19259b-4bc3-4df7-8a09-765794883524