Commit Graph

52 Commits

Author SHA1 Message Date
klu2 dabd48785b Use <sys/ioctl.h>.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2624 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-04 09:36:33 +00:00
klu2 5fe9d507e5 Fix the different defintion between linux and cygwin
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2623 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-04 07:39:17 +00:00
klu2 061f40e796 Fix the definition differences issue of termios.h in different version of kernel header and cygwin's include files.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2622 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-04 07:31:59 +00:00
qwang12 1fbd5be3eb Add in GUID_TYPE and "Help Text" for GUID declaraion.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2614 6f19259b-4bc3-4df7-8a09-765794883524
2007-06-01 07:18:35 +00:00
klu2 21500a434a Remove unused variable and function
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2606 6f19259b-4bc3-4df7-8a09-765794883524
2007-05-30 08:17:24 +00:00
klu2 b19cfa69e7 Add emulated serialIo device driver for EdkUnixPkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2605 6f19259b-4bc3-4df7-8a09-765794883524
2007-05-30 07:22:41 +00:00
lgao4 7689c0808e Remove autogen.h from all dxs files, because autogen.h file has been included by global compiler option.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2574 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-18 03:58:23 +00:00
vanjeff bbee9482d7 Fixed some issues for IA32 architecture platform build.
1. added UINTN typecast for shift.
2. updated Nt32.fpd and Unix.fpd.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2564 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-13 02:23:10 +00:00
klu2 7e9f4e1d8e Merge the patch provided by Johnson
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2555 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-11 03:08:47 +00:00
lgao4 26aa0c2ff5 Clean up the following module msa files, they are three networt and two PCD modules.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2551 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-09 07:37:43 +00:00
lgao4 8d8daecb54 Clean up the following module msa files, they are edkmodule package ftwlit, Crc32SectionExtract, NullMemoryTest, PeiMemoryTest, MonotonicCounter modules.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2542 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-05 09:00:46 +00:00
klu2 95122138b0 fix build warning issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2537 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-05 07:27:17 +00:00
klu2 4825e9d87d Fix the TPL broken issue for UnixPkg
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2534 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-04 07:40:40 +00:00
lgao4 13de892cc3 Change BDS to get the default logo picture by default bmp logo guid.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2533 6f19259b-4bc3-4df7-8a09-765794883524
2007-04-04 06:24:26 +00:00
klu2 8d58174fc6 Add target.txt file for building UnixPkg in CYGWIN environment.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2502 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-23 05:52:34 +00:00
klu2 ebc5b9557e fix build broken issue
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2498 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-21 07:48:03 +00:00
klu2 affd605871 Fix build broken issue.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2496 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-21 07:34:49 +00:00
vanjeff 3aaddf9276 1. Removed #ifdef SNP_DEBUG and used debug lib to output information
2. Rename PcdPlatformNoCsmSupport to PcdPlatformCsmSupport.
3  Removed #ifdef EFI_NO_CSM and used PcdPlatformCsmSupport.
4. Removed #ifdef ALIGNMENT from C Variable.c and added 2 files Variable/Pei/Ipf/VariableWorker.c and Variable/Pei/VariableWorker.c


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2487 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-20 02:44:09 +00:00
vanjeff 7af45bf1f0 1. Added PcdNtEmulator and Removed MACRO EFI_NT_EMULATOR
2. Updated *.fpd of all Package.


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2481 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-16 05:36:52 +00:00
qwang12 5db2b1e12d Make sure RestoreTPL paired with RaiseTPL
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2460 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-14 02:23:16 +00:00
qwang12 ac10bddd8e Add a lock to protect the critical region in Service APIs for gEfiBlockIoProtocolGuid and gEfiSimpleFileSystemProtocolGuid Protocol to prevent re-entrance of the same API from from different TPL level. In UEFI 2.1 spec, it is state that the service API for this Protocol is callable at EFI_TPL_CALLBACK level.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2449 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-12 09:48:53 +00:00
qwang12 ddcbfc1674 Resolve the build break caused by changes to DxeCore.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2448 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-12 09:46:29 +00:00
qwang12 17fb73c8e1 1) Replace BdsLibGetBootMode with GetBootMode from HobLib of MdePkg.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2433 6f19259b-4bc3-4df7-8a09-765794883524
2007-03-09 07:25:58 +00:00
klu2 3111542d67 Add PcdUefiLibMaxPrintBufferSize for all modules who use UefLib library instance.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2400 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-26 03:19:32 +00:00
qhuang8 fd9c891fa8 Remove the reference of UnixOemStatusHookLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2381 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13 10:59:03 +00:00
qhuang8 318275b2fd Split UnixOemHookStatusCodeLib to PEI/DXE instances
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2380 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13 10:51:57 +00:00
tgingold 48f4262a80 start timer at initialization
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2377 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13 02:16:12 +00:00
tgingold 8ba2f4413a use nanosleep instead of usleep, ugaX11 calls msSleep instead of usleep
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2376 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13 02:15:19 +00:00
tgingold e8a5c66f4b EdkGenericBdsLib and Logo removed, use EdkGenericPlatformBdsLib
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2374 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13 00:05:13 +00:00
tgingold d5c918e7e3 newline added at end
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2373 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13 00:02:26 +00:00
tgingold 2aeaa47ac1 Logo and EdkgenericBdsLib removed
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2372 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13 00:00:56 +00:00
tgingold e89ebd4364 updated to use new packages from EdkModule
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2371 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-13 00:00:22 +00:00
tgingold 2419bd23d2 fix gcc warnings (missing braces around initializer)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2365 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-12 07:21:12 +00:00
qhuang8 c77f986979 1.Drop the support of UEFI_APPLICATION for UefiDriverLib
2.Change the module type of BaseUefiDecompressLib to BASE
3.Remove the IoLib dependency for PeiReportStatusCodeLib & DxeReportStatusCodeLib
4.Change the module type of UefiApplicationEntryPointLib to UEFI_APPLICATION
5.Change the module type of EdkDxeRuntimeSalLib to DXE_RUNTIMe
6.Change HelloWorld application to depend on UefiApplicationEntryPointLib and modify the EdkModule.fpd, Nt32.fpd & Unix.fpd accordingly 

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2352 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-05 05:54:16 +00:00
vanjeff 8d92e94ff5 changed timer lib reference from BaseTimerLibLocalApic to BaseTimerLibNullTemplate in DxeStatusCode module
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2349 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-02 07:02:44 +00:00
vanjeff 421954efcc 1. removed some null directories BaseTimerLibLocalApic and Nt32TimerLibNull
2. removed UnixTimerLibNull timer instance

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2348 6f19259b-4bc3-4df7-8a09-765794883524
2007-02-02 06:34:30 +00:00
xgu3 a8b194b97c 1. PEI core needs to check image machine type
2. In BDS, Legacy free may make BdsLibConnectAllDefaultConsoles fail.
3. Pci22.h, we need to add more definition in that 
4. EBC: EBC Exception Subclass should add EFI_SUBCLASS_SPECIFIC
5. PciEnumeratorSupport Null Pointer Error


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2340 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-31 07:18:41 +00:00
klu2 86e6bb786f remove unused PCD
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2337 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-31 04:07:33 +00:00
qwang12 febc643362 Remove USER_DEFINED in IncludePkgHeader in spd files as it does not make sense to specify package include header file for a custom build type module. Package creator has no a priori knowledge about what header file will be needed by the USER_DEFINED module customers created in dependent package.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2316 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-25 10:25:16 +00:00
bbahnsen f480b24013 Fix up file names.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2301 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-24 21:29:30 +00:00
qhuang8 caea5554ab Fix component name bugs when input Controller Name is invalid
Fix the driver binding version for platform/OEM specific drivers 




git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2275 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-19 09:46:44 +00:00
xgu3 2bbf72b0ab Fix the issues,
1. NULL Pointer Errors in Variable.c
2. consoleoption Null Ptr Error
3. bootmaint Null Ptr Error
4. EFIAPI missing Crc32SectionExtraction.c  


git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2252 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-16 02:57:57 +00:00
xgu3 ad2baeff22 Fix the issues,
bootmaint Null Ptr Error



git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2251 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-16 02:55:46 +00:00
xli24 d02ea95873 Update video card preference policy, together with some memory leaks in Generic BDS Library.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2234 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-12 05:34:49 +00:00
klu2 8ef571dfb5 fix some minor warning for unix package
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2230 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-12 03:51:28 +00:00
xli24 0e7bfce8d0 BDS code calls Hii->FindHandles() with hardcoded length.
New code provides function BdsLibGetHiiHandles() in generic BDS library, which detects actual necessary memory, allocates memory, and finds handles as output.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2216 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-11 06:37:39 +00:00
klu2 997e26f615 fix some minor warning
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2192 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-08 08:56:27 +00:00
klu2 f0388a0ef1 fix the warning for structure initialization
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2190 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-08 06:45:21 +00:00
bbahnsen 377fc2ae71 Change many windows references to unix.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2186 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-07 19:31:19 +00:00
bbahnsen 6bb60d710b Always return an aligned block when mapping memory.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2185 6f19259b-4bc3-4df7-8a09-765794883524
2007-01-07 19:09:33 +00:00