svn commit: r289455 - head/sys/arm64/arm64

Andrew Turner andrew at FreeBSD.org
Sat Oct 17 14:07:49 UTC 2015


Author: andrew
Date: Sat Oct 17 14:07:47 2015
New Revision: 289455
URL: https://svnweb.freebsd.org/changeset/base/289455

Log:
  Rename build_block_pagetable to build_l2_block_pagetable in preperation
  for adding support for 4 levels of page tables.
  
  Obtained from:	Patrick Wildt <patrick at bitrig.org>

Modified:
  head/sys/arm64/arm64/locore.S

Modified: head/sys/arm64/arm64/locore.S
==============================================================================
--- head/sys/arm64/arm64/locore.S	Sat Oct 17 13:20:42 2015	(r289454)
+++ head/sys/arm64/arm64/locore.S	Sat Oct 17 14:07:47 2015	(r289455)
@@ -357,7 +357,7 @@ create_pagetables:
 	mov	x7, #NORMAL_MEM
 	mov	x8, #(KERNBASE & L2_BLOCK_MASK)
 	mov	x9, x28
-	bl	build_block_pagetable
+	bl	build_l2_block_pagetable
 
 	/* Move to the l1 table */
 	add	x26, x26, #PAGE_SIZE
@@ -427,7 +427,7 @@ build_section_pagetable:
  * Builds an L1 -> L2 table descriptor
  *
  * This is a link for a 1GiB block of memory with up to 2MiB regions mapped
- * within it by build_block_pagetable.
+ * within it by build_l1_block_pagetable.
  *
  *  x6  = L1 table
  *  x8  = Virtual Address
@@ -463,7 +463,7 @@ link_l1_pagetable:
  *  x10 = Entry count (TODO)
  *  x11, x12 and x13 are trashed
  */
-build_block_pagetable:
+build_l2_block_pagetable:
 	/*
 	 * Build the L2 table entry.
 	 */


More information about the svn-src-head mailing list