Author: bdragon Date: Tue Sep 15 20:25:38 2020 New Revision: 365768 URL: https://svnweb.freebsd.org/changeset/base/365768
Log: [PowerPC64LE] Set up the powernv partition table correctly. The partition table is always big endian. Sponsored by: Tag1 Consulting, Inc. Modified: head/sys/powerpc/aim/moea64_native.c Modified: head/sys/powerpc/aim/moea64_native.c ============================================================================== --- head/sys/powerpc/aim/moea64_native.c Tue Sep 15 20:25:30 2020 (r365767) +++ head/sys/powerpc/aim/moea64_native.c Tue Sep 15 20:25:38 2020 (r365768) @@ -556,9 +556,9 @@ moea64_bootstrap_native(vm_offset_t kernelstart, vm_of sizeof(struct lpteg)); if (cpu_features2 & PPC_FEATURE2_ARCH_3_00) { bzero(__DEVOLATILE(void *, moea64_part_table), PART_SIZE); - moea64_part_table[0].pagetab = + moea64_part_table[0].pagetab = htobe64( (DMAP_TO_PHYS((vm_offset_t)moea64_pteg_table)) | - (uintptr_t)(flsl((moea64_pteg_count - 1) >> 11)); + (uintptr_t)(flsl((moea64_pteg_count - 1) >> 11))); } ENABLE_TRANS(msr); _______________________________________________ svn-src-head@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/svn-src-head To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"