Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


updated test_vm
[palacios.git] / misc / test_vm / include / geekos / serial.h
1 #ifndef SERIAL_H
2 #define SERIAL_H
3
4 #include <geekos/irq.h>
5 #include <geekos/string.h>
6 #include <geekos/io.h>
7 #include <geekos/screen.h>
8
9 #define COM1_IRQ 4
10 #define DEFAULT_SERIAL_ADDR 0x3F8
11
12
13
14 void SerialPrint(const char * format, ...);
15 void SerialPrintList(const char * format, va_list ap);
16
17 void SerialPutLine(char * line); 
18 void SerialPutLineN(char * line, int len);
19
20
21 void SerialPrintHex(unsigned char x);
22 void SerialMemDump(unsigned char *start, int n);
23
24 void InitSerial();
25 void InitSerialAddr(unsigned short io_addr);
26
27 #endif