+// Call into vga code to turn on console.
+static void
+vga_setup()
+{
+ dprintf(1, "Scan for VGA option rom\n");
+ rom_scan(0xc0000, 0xc7800);
+
+ dprintf(1, "Turning on vga console\n");
+ struct bregs br;
+ memset(&br, 0, sizeof(br));
+ br.ax = 0x0003;
+ call16_int(0x10, &br);
+}
+