]> git.saurik.com Git - apple/xnu.git/blobdiff - pexpert/ppc/pe_kprintf.c
xnu-792.25.20.tar.gz
[apple/xnu.git] / pexpert / ppc / pe_kprintf.c
index e8713ce462ae2efa3232fe85ad1a929587cf9bac..58154df8a632881b8ccceafa41b9d08c04acc587 100644 (file)
@@ -31,6 +31,7 @@
 #include <pexpert/device_tree.h>
 #include <kern/debug.h>
 #include <kern/simple_lock.h>
+#include <vm/pmap.h>
 
 /* extern references */
 extern void init_display_putc(unsigned char*, int, int);
@@ -93,7 +94,7 @@ void PE_init_kprintf(boolean_t vm_initialized)
                if (serial_baud != -1) gPESerialBaud = serial_baud; 
 
        if( (scc = PE_find_scc())) {                            /* See if we can find the serial port */
-               scc = io_map_spec(scc, 0x1000);                          /* Map it in */
+               scc = io_map_spec(scc, 0x1000, VM_WIMG_IO);     /* Map it in */
                initialize_serial((void *)scc, gPESerialBaud); /* Start up the serial driver */
                PE_kputc = serial_putc;