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:
@@ -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
|
||||
//
|
||||
|
Reference in New Issue
Block a user