Turnstone Operating System
Loading...
Searching...
No Matches
console.c File Reference

EFI console driver. More...

#include "setup.h"
#include <efi.h>
#include <memory.h>
#include <strings.h>
#include <utils.h>

Functions

 MODULE ("turnstone.efi")
 
void video_print (const char_t *string)
 prints string to console with efi system table's console output protocol. More...
 
void video_clear_screen (void)
 clears screen with efi system table's console output protocol. More...
 
void video_text_print (const char_t *str)
 

Variables

efi_system_table_tST
 

Detailed Description

EFI console driver.

This work is licensed under TURNSTONE OS Public License. Please read and understand latest version of Licence.

Function Documentation

◆ MODULE()

MODULE ( "turnstone.efi"  )

module name

◆ video_clear_screen()

void video_clear_screen ( void  )

clears screen with efi system table's console output protocol.

clears screen aka write space to all buffer

◆ video_print()

void video_print ( const char_t string)

prints string to console with efi system table's console output protocol.

Parameters
[in]stringstring to print.

Variable Documentation

◆ ST

efi_system_table_t* ST
extern

EFI system table global variable