svn commit: r308289 - head/sys/riscv/riscv

Ruslan Bukin br at FreeBSD.org
Fri Nov 4 13:07:55 UTC 2016


Author: br
Date: Fri Nov  4 13:07:54 2016
New Revision: 308289
URL: https://svnweb.freebsd.org/changeset/base/308289

Log:
  System Binary Interface (SBI) page was moved in latest version of
  Berkeley Boot Loader (BBL) due to code size increase.
  
  We will need to dehardcode this somehow.
  
  Sponsored by:	DARPA, AFRL
  Sponsored by:	HEIF5

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

Modified: head/sys/riscv/riscv/locore.S
==============================================================================
--- head/sys/riscv/riscv/locore.S	Fri Nov  4 12:58:50 2016	(r308288)
+++ head/sys/riscv/riscv/locore.S	Fri Nov  4 13:07:54 2016	(r308289)
@@ -137,7 +137,7 @@ _start:
 
 	/* Create an L3 page for SBI */
 	la	s1, pagetable_l3_sbi
-	li	s2, 0x80009000
+	li	s2, 0x8000b000
 	srli	s2, s2, PAGE_SHIFT
 	li	a5, 511
 	li	t4, PTE_V | PTE_RX | PTE_W


More information about the svn-src-all mailing list