Author: quozl Date: Thu May 3 04:40:58 2012 New Revision: 2971 URL: http://tracker.coreboot.org/trac/openfirmware/changeset/2971
Log: kernel - fix an arm build regression introduced in svn 2612, the time&date defer was uninitialised, leading to segfault in build, fixed by moving the initialiser out of the generic install-wrapper-io and calling it from the arm specific code
Modified: cpu/arm/sys.fth forth/kernel/sysio.fth
Modified: cpu/arm/sys.fth ============================================================================== --- cpu/arm/sys.fth Thu May 3 04:38:29 2012 (r2970) +++ cpu/arm/sys.fth Thu May 3 04:40:58 2012 (r2971) @@ -64,6 +64,7 @@ install-wrapper-alloc init-relocation install-wrapper-key + install-wrapper-env
install-disk-io \ Don't poll the keyboard under Unix; block waiting for a key
Modified: forth/kernel/sysio.fth ============================================================================== --- forth/kernel/sysio.fth Thu May 3 04:38:29 2012 (r2970) +++ forth/kernel/sysio.fth Thu May 3 04:40:58 2012 (r2971) @@ -196,12 +196,15 @@
['] sys-sync-cache is sync-cache ; +: install-wrapper-env + ['] sys-$getenv is $getenv + ['] sys-time&date is time&date +; : install-wrapper-io ( -- ) install-wrapper-alloc \ init-relocation goes here, for versions that need it install-wrapper-key - ['] sys-$getenv is $getenv - ['] sys-time&date is time&date + install-wrapper-env ;
headers
openfirmware@openfirmware.info