Add necessary parameter checking for WinNtSerialIoDxe module, according to UEFI 2.1 spec.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@3958 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
xli24
2007-09-28 02:34:42 +00:00
parent 117bc842fa
commit 82408a47c9
2 changed files with 73 additions and 3 deletions

View File

@@ -154,6 +154,12 @@ extern EFI_COMPONENT_NAME_PROTOCOL gWinNtSerialIoComponentName;
//
#define SERIAL_PORT_MAX_BAUD_RATE 115400
#define SERIAL_PORT_MIN_BAUD_RATE 50
#define SERIAL_PORT_MAX_RECEIVE_FIFO_DEPTH 16
#define SERIAL_PORT_MIN_TIMEOUT 1 // 1 uS
#define SERIAL_PORT_MAX_TIMEOUT 100000000 // 100 seconds
//
// Function Prototypes
//