Esempio n. 1
0
/**
 * 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);
	}
}
Esempio n. 2
0
void printLine(Logging *logging) {
	printWithLength(logging->buffer);
	resetLogging(logging);
}