Acidanthera UEFI Development Kit based on EDK II edk2-stable202311
Go to file
Daryl McDaniel 24903bc48a StdLib: Some deployed versions of the Simple Text Input Protocol randomly return either NUL characters or Scan Codes when just typing normal text. These changes filter out NUL characters and make Scan Code and error handling more robust.
StdLibPrivateInternalFiles/Include/Device/Console.h: Change UnGetKey, in the ConInstance structure, from an EFI_INPUT_KEY structure to a CHAR16 variable.

Include/sys/termios.h: Add CHAR_SUB and CHAR_ESC for translation of '^Z' and the Escape Scan Code into the EOF and ESC characters, respectively.

LibC/Uefi/Devices/Console/daConsole.c:  Add da_ConRawRead() function to simplify the read logic. Discard NUL characters from the input stream.  In Blocking mode, retry until a non-NUL character is received.  In NonBlocking mode, a NUL causes an EAGAIN error to be returned.  Translate the Escape Scan Code into an ESC character.  If Scan Codes are ignored, retry if in Blocking mode else return an EAGAIN error.  UnGetKey becomes a single wide character instead of a structure.
    Change da_Poll() to use da_ConRawRead().

LibC/Uefi/InteractiveIO/IIOutilities.c:  BUG fix.  Return the processed input character instead of the raw character.  Allows EOF propagation.

LibC/Uefi/InteractiveIO/CanonRead.c:  Enable EOF propagation.

LibC/Uefi/InteractiveIO/IIOechoCtrl.h:  Use symbols defined in termios.h instead of hard-coded constant numbers.

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@16254 6f19259b-4bc3-4df7-8a09-765794883524
2014-10-28 19:20:48 +00:00
AppPkg StdLib: Produce DevMedia as a library class alternative to DevShell. 2014-09-18 19:13:22 +00:00
ArmPkg ArmPkg/ArmLib: Removed duplicated invalidate TLB function 2014-10-27 15:38:55 +00:00
ArmPlatformPkg ArmPkg/ArmLib: Removed duplicated invalidate TLB function 2014-10-27 15:38:55 +00:00
BaseTools BaseTools/UPT: Remove Macro Expend for UserExtension section 2014-10-22 06:44:45 +00:00
BeagleBoardPkg ARM Packages: Replace tabs by spaces for indentation 2014-08-26 10:14:17 +00:00
Conf EDK II: Add .gitignore 2014-10-14 16:08:15 +00:00
CryptoPkg Users of the LP64 data model should declare SIXTY_FOUR_BIT_LONG, not SIXTY_FOUR_BIT when building OpenSSL. 2014-09-24 07:48:26 +00:00
DuetPkg Add comments for FSVariable driver which used by Duet platform only, trust all meta data for this platform. 2014-10-15 06:20:09 +00:00
EdkCompatibilityPkg EDK II Contributions.txt: Note acceptable contribution licenses 2014-08-25 23:10:18 +00:00
EdkShellBinPkg EDK II Contributions.txt: Note acceptable contribution licenses 2014-08-25 23:10:18 +00:00
EdkShellPkg EDK II Contributions.txt: Note acceptable contribution licenses 2014-08-25 23:10:18 +00:00
EmbeddedPkg EmbeddedPkg: Clarify the declaration of SerialPortGetControl() 2014-10-27 15:38:20 +00:00
EmulatorPkg EmulatorPkg/MpService: remove redundant switch-case statement 2014-09-28 06:22:10 +00:00
FatBinPkg EDK II Contributions.txt: Note acceptable contribution licenses 2014-08-25 23:10:18 +00:00
IntelFrameworkModulePkg Clean up the code. Action statement should not have text two opcode. 2014-10-21 05:48:00 +00:00
IntelFrameworkPkg MdePkg/IntelFrameworkPkg HobLib: Add BuildResourceDescriptorWithOwnerHob() API. 2014-10-27 00:42:57 +00:00
IntelFspPkg Fix an issue on FixedMtreProgramming - AND/OR mask incorrect. 2014-09-28 01:07:13 +00:00
IntelFspWrapperPkg IntelFspPkg/IntelFspWrapperPkg: Fix some typos. 2014-09-03 06:48:38 +00:00
MdeModulePkg MdeModulePkg/AtaAtapiPassThru: When D2H FIS received at PIO DATA-IN transfer, check PxTFD.Error register to confirm if there is a real error for better device compatibilities with Qemu and Marvel9230 sata controllers. 2014-10-22 05:52:48 +00:00
MdePkg MdePkg/IntelFrameworkPkg HobLib: Add BuildResourceDescriptorWithOwnerHob() API. 2014-10-27 00:42:57 +00:00
NetworkPkg Clean up the code. Action statement should not have text two opcode. 2014-10-21 05:48:00 +00:00
Nt32Pkg EDK II Contributions.txt: Note acceptable contribution licenses 2014-08-25 23:10:18 +00:00
Omap35xxPkg ARM Packages: Replace tabs by spaces for indentation 2014-08-26 10:14:17 +00:00
OptionRomPkg EDK II Contributions.txt: Note acceptable contribution licenses 2014-08-25 23:10:18 +00:00
OvmfPkg OvmfPkg: SecureBootConfigDxe: remove stale fork 2014-10-02 08:08:14 +00:00
PcAtChipsetPkg PcAtChipsetPkg: Convert non DOS format files to DOS format and rename the same module name. 2014-09-03 08:48:29 +00:00
PerformancePkg EDK II Contributions.txt: Note acceptable contribution licenses 2014-08-25 23:10:18 +00:00
SecurityPkg Add comments to clarify mPubKeyStore buffer MemCopy. There is no memory overflow issue. 2014-10-22 07:30:22 +00:00
ShellBinPkg The binaries of ShellBinPkg are generated with ShellPkg project 16163. The binaries are built with no debug information by building with "RELEASE" target. 2014-09-24 07:49:20 +00:00
ShellPkg ShellPkg: Comments update and code refine. 2014-10-14 01:16:38 +00:00
SourceLevelDebugPkg Add DebugCommunicationLibUsb3 for USB3.0 source level debug support. 2014-10-22 05:01:58 +00:00
StdLib StdLib: Some deployed versions of the Simple Text Input Protocol randomly return either NUL characters or Scan Codes when just typing normal text. These changes filter out NUL characters and make Scan Code and error handling more robust. 2014-10-28 19:20:48 +00:00
StdLibPrivateInternalFiles StdLib: Some deployed versions of the Simple Text Input Protocol randomly return either NUL characters or Scan Codes when just typing normal text. These changes filter out NUL characters and make Scan Code and error handling more robust. 2014-10-28 19:20:48 +00:00
UefiCpuPkg UefiCpuPkg: error: invalid instruction mnemonic 'retf' 2014-09-12 08:38:23 +00:00
UnixPkg UnixPkg: Remove UnixPkg files (It is replaced by EmulatorPkg) 2013-07-29 21:09:55 +00:00
.gitignore EDK II: Add .gitignore 2014-10-14 16:08:15 +00:00
BuildNotes2.txt Update to new SVN URL in readme.txt 2013-06-08 05:26:39 +00:00
Edk2Setup.bat Updated version, missed the last two commits and to add the SVN Revision property (last part of the version value). 2014-08-22 16:08:47 +00:00
Maintainers.txt Update some package owners 2014-10-23 01:35:44 +00:00
edksetup.bat Contributed-under: TianoCore Contribution Agreement 1.0 2014-06-18 09:01:33 +00:00
edksetup.sh edksetup.sh: Ensure that WORKSPACE points to the top of an edk2 checkout 2014-07-28 17:37:40 +00:00