* VGA text console support.
*/
-#include <i386/pio.h>
+#include <architecture/i386/pio.h>
#include <console/video_console.h>
#include "text_console.h"
csrpos_t to,
int count)
{
+ if (vram_start == 0) return;
kd_slmscu( vram_start + from, vram_start + to, count );
}
csrpos_t to,
int count )
{
+ if (vram_start == 0) return;
kd_slmscd( vram_start + from, vram_start + to, count );
}
int size,
char attr)
{
+ if (vram_start == 0) return;
kd_slmwd( vram_start + start, size,
((unsigned short) attr << 8) + SPACE_CHAR);
}
char ch, /* the character */
char attr ) /* its attribute */
{
+ if (vram_start == 0) return;
*(vram_start + pos) = ch;
*(vram_start + pos + 1) = attr;
}