diff options
author | yshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-09-05 05:41:32 +0000 |
---|---|---|
committer | yshang1 <yshang1@6f19259b-4bc3-4df7-8a09-765794883524> | 2006-09-05 05:41:32 +0000 |
commit | 97fc032b57b1d189139df778272942d6eaeb132d (patch) | |
tree | a4163d6b68782f2c493bf5802cab50b5c814deab /EdkModulePkg/Library/EdkSerialPortLibNull | |
parent | a1c90cf694d1bd315cdc36f80148992a9c3c3b4e (diff) | |
download | edk2-platforms-97fc032b57b1d189139df778272942d6eaeb132d.tar.xz |
Follow up EDKT247-253
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1449 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'EdkModulePkg/Library/EdkSerialPortLibNull')
-rw-r--r-- | EdkModulePkg/Library/EdkSerialPortLibNull/SerialPortLibNull.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/EdkModulePkg/Library/EdkSerialPortLibNull/SerialPortLibNull.c b/EdkModulePkg/Library/EdkSerialPortLibNull/SerialPortLibNull.c index 7832f3781d..1c42eb0a37 100644 --- a/EdkModulePkg/Library/EdkSerialPortLibNull/SerialPortLibNull.c +++ b/EdkModulePkg/Library/EdkSerialPortLibNull/SerialPortLibNull.c @@ -50,6 +50,9 @@ SerialPortWrite ( IN UINTN NumberOfBytes
)
{
+ ASSERT (NULL != Buffer);
+ ASSERT (0 != NumberOfBytes);
+
return 0;
}
@@ -74,6 +77,9 @@ SerialPortRead ( IN UINTN NumberOfBytes
)
{
+ ASSERT (NULL != Buffer);
+ ASSERT (0 != NumberOfBytes);
+
return 0;
}
|