TerminalWriteFn

Type Alias TerminalWriteFn 

Source
pub type TerminalWriteFn = extern "C" fn(*mut Terminal, *const u8, u64);
Expand description

Type for terminal Write function In order for the terminal to remain functioning, the GDT must at least have the default values

Special length values do the following things

  • TerminalSize - -1
    • This will write a single u64 to the pointer
  • TerminalSave - -2
    • This will save the terminal context to the pointer, of allocation size TerminalSize
  • TerminalRestore - -3
    • This will restore the terminal context from the pointer, of allocation size TerminalSize
  • TerminalFullRefresh - -4
    • This will fully repaint the framebuffer, the pointer is unused