Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: [netbsd-1-6] syssrc/sys/arch/alpha/stand/common



Module Name:    syssrc
Committed By:   lukem
Date:           Wed Jul 31 00:26:20 UTC 2002

Modified Files:
        syssrc/sys/arch/alpha/stand/common [netbsd-1-6]: prom.c

Log Message:
Pull up revision 1.11 (requested by nathanw in ticket #591):
Experimentation reveals that the implementation of GET_ENV on at least
some systems chokes if the buffer is not 8-byte aligned. GCC only aligns
character arrays to 4-byte boundaries by default, so it's possible to get
unlucky and die in the boot blocks with a "kernel stack not valid halt".
Avoid the problem by using a local, aligned buffer as the argument to GET_ENV,
and copying the result into the caller's buffer.
Should fix PRs port-alpha/17682 and port-alpha/17717.


To generate a diff of this commit:
cvs rdiff -r1.10 -r1.10.36.1 syssrc/sys/arch/alpha/stand/common/prom.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index