]> git.saurik.com Git - apple/xnu.git/blobdiff - pexpert/ppc/pe_kprintf.c
xnu-792.13.8.tar.gz
[apple/xnu.git] / pexpert / ppc / pe_kprintf.c
index 7ac0570ffa2d7f3175460fcf4ef67bad9b168cd7..83e172e91ec2dcd0b0bd155616e76e457df7154f 100644 (file)
@@ -39,6 +39,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);
@@ -101,7 +102,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;