LF OS
Hobby operating system for amd64 with high ambitions
Loading...
Searching...
No Matches
main.cxx File Reference

(475a4fe LLVM update: finally on 18.x!)

#include <string>
#include <iostream>
#include <sys/syscalls.h>
#include <sys/io.h>
+ Include dependency graph for main.cxx:

Go to the source code of this file.

Functions

void wait_transmitter_empty ()
 
int main (int argc, char *argv[])
 

Variables

const uint16_t base_port = 0x3f8
 

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)

Definition at line 34 of file main.cxx.

References base_port, error, message, outb(), and wait_transmitter_empty().

+ Here is the call graph for this function:

◆ wait_transmitter_empty()

void wait_transmitter_empty ( )

Definition at line 8 of file main.cxx.

References EAGAIN, EMSGSIZE, error, free(), malloc(), memset(), MT_HardwareInterrupt, size, Message::size, and Message::type.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Variable Documentation

◆ base_port

const uint16_t base_port = 0x3f8

Definition at line 6 of file main.cxx.