Author: jhibbits
Date: Mon Apr 25 00:55:51 2016
New Revision: 298559
URL: https://svnweb.freebsd.org/changeset/base/298559

Log:
  Init static compiled-in env when no metadata present.
  
  With this, a static environment can be compiled in via config(5).  This 
allows,
  among other things, the use of a compiled-in debug console (hw.uart.dbgport) 
for
  kgdb.

Modified:
  head/sys/powerpc/powerpc/machdep.c

Modified: head/sys/powerpc/powerpc/machdep.c
==============================================================================
--- head/sys/powerpc/powerpc/machdep.c  Mon Apr 25 00:52:37 2016        
(r298558)
+++ head/sys/powerpc/powerpc/machdep.c  Mon Apr 25 00:55:51 2016        
(r298559)
@@ -274,6 +274,7 @@ powerpc_init(vm_offset_t fdt, vm_offset_
        } else {
                bzero(__sbss_start, __sbss_end - __sbss_start);
                bzero(__bss_start, _end - __bss_start);
+               init_static_kenv(NULL, 0);
        }
 #ifdef BOOKE
        tlb1_init();
_______________________________________________
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"

Reply via email to