-/**\r
- Read 8bit character from debug stream.\r
-\r
- Block until character is read.\r
-\r
- @return 8bit character read from debug stream.\r
-\r
-**/\r
-CHAR8\r
-EFIAPI\r
-PlatformDebugPortGetChar8 (\r
- VOID\r
- )\r
-{\r
- CHAR8 Got;\r
-\r
- do {\r
- if (SerialPortPoll ()) {\r
- if (SerialPortRead ((UINT8 *) &Got, 1) == 1) {\r
- break;\r
- }\r
- }\r
- } while (TRUE);\r
-\r
- return Got;\r
-}\r
-\r