-static char test[1024] = {0};
-
-static char packet[4096] = {0};
-
-typedef struct packet_t {
- char from[6];
- char to[6];
- unsigned short ethertype;
- unsigned short datalen;
- unsigned char command;
- char data[];
-} packet_t;
-
-static unsigned char vga_read(unsigned char idx)
-{
- outb(CRTC_IDX_REG, idx);
- return inb(CRTC_DATA_REG);
-}
-
-static unsigned int vga_base()