/** * This method actually sends all the pending data to the communication layer */ void printPending(void) { lockOutputBuffer(); // we cannot output under syslock, so another buffer strcpy(outputBuffer, pendingBuffer); pendingBuffer[0] = 0; // reset pending buffer unlockOutputBuffer(); if (efiStrlen(outputBuffer) > 0) { printWithLength(outputBuffer); } }
void printLine(Logging *logging) { printWithLength(logging->buffer); resetLogging(logging); }