]> git.saurik.com Git - apple/xnu.git/blobdiff - pexpert/ppc/pe_kprintf.c
xnu-792.22.5.tar.gz
[apple/xnu.git] / pexpert / ppc / pe_kprintf.c
index a8118fc5a2c57d3016d9587011fefaebed195907..922291fa068deff07357a38e6778e9a5bec50fbc 100644 (file)
@@ -37,6 +37,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);
@@ -99,7 +100,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;