| 19 | // |
| 20 | |
| 21 | BOOLEAN ReadAllKeyStrokes(VOID) |
| 22 | { |
| 23 | BOOLEAN GotKeyStrokes; |
| 24 | EFI_STATUS Status; |
| 25 | EFI_INPUT_KEY key; |
| 26 | |
| 27 | GotKeyStrokes = FALSE; |
| 28 | for (;;) { |
| 29 | Status = gST->ConIn->ReadKeyStroke (gST->ConIn, &key); |
| 30 | if (Status == EFI_SUCCESS) { |
| 31 | GotKeyStrokes = TRUE; |
| 32 | continue; |
| 33 | } |
| 34 | break; |
| 35 | } |
| 36 | return GotKeyStrokes; |
| 37 | } |
| 38 | |
| 39 | VOID PauseForKey(CONST CHAR16* msg) |
| 40 | { |
no outgoing calls
no test coverage detected