Module Name: src Committed By: martin Date: Thu Nov 28 14:21:25 UTC 2019
Modified Files: src/sys/arch/sparc/stand/ofwboot: srt0.s Log Message: Provide a mostly-zeroed page at the start of the text segment, to work around an OpenBIOS bug, see PR port-sparc64/54719 for details. To generate a diff of this commit: cvs rdiff -u -r1.7 -r1.8 src/sys/arch/sparc/stand/ofwboot/srt0.s Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/sys/arch/sparc/stand/ofwboot/srt0.s diff -u src/sys/arch/sparc/stand/ofwboot/srt0.s:1.7 src/sys/arch/sparc/stand/ofwboot/srt0.s:1.8 --- src/sys/arch/sparc/stand/ofwboot/srt0.s:1.7 Sun Aug 23 10:59:15 2015 +++ src/sys/arch/sparc/stand/ofwboot/srt0.s Thu Nov 28 14:21:25 2019 @@ -1,4 +1,4 @@ -/* $NetBSD: srt0.s,v 1.7 2015/08/23 10:59:15 joerg Exp $ */ +/* $NetBSD: srt0.s,v 1.8 2019/11/28 14:21:25 martin Exp $ */ /* * Copyright (C) 1995, 1996 Wolfgang Solfrank. @@ -63,7 +63,10 @@ _esym: .word 0 /* end of symbol table _C_LABEL(kernel_text) = _start _start: nop ! For some reason this is needed to fixup the text section - + b 1f + nop + .zero 8192-(.-_start) /* hack for OpenBIOS, see port-sparc64/54719 */ +1: /* * Start by creating a stack for ourselves. */