]> git.saurik.com Git - apple/xnu.git/blobdiff - pexpert/ppc/pe_identify_machine.c
xnu-792.25.20.tar.gz
[apple/xnu.git] / pexpert / ppc / pe_identify_machine.c
index e0654d3c08911307857f143e0647facf5b0e6cb7..7b20bcdd738cef8b0169c138f1d4a7a5a1d62d2e 100644 (file)
@@ -23,6 +23,7 @@
 #include <pexpert/pexpert.h>
 #include <pexpert/ppc/powermac.h>
 #include <pexpert/device_tree.h>
+#include <vm/pmap.h>
 
 /* pe_identify_machine:
  *
@@ -175,7 +176,7 @@ unsigned int PE_init_taproot(vm_offset_t *taddr)
 
        tappdata[1] = (tappdata[1] + 4095 ) & -4096;    /* Make sure this is a whole page */
 
-       *taddr = io_map_spec(tappdata[0], tappdata[1]);         /* Map it in and return the address */
+       *taddr = io_map_spec(tappdata[0], tappdata[1], VM_WIMG_IO);     /* Map it in and return the address */
        tappdata[0] = *taddr;                                   /* Also change property */
        return tappdata[1];                                             /* And the size */
 }