Date: Sat, 21 May 2005 20:17:01 +0000 (UTC) From: Marius Strobl <marius@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/sparc64/sparc64 ofw_machdep.c Message-ID: <200505212017.j4LKH1cM075616@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marius 2005-05-21 20:17:01 UTC FreeBSD src repository Modified files: sys/sparc64/sparc64 ofw_machdep.c Log: - Make sure that the OFW address properties that are going to be decode consist of the expected number of address and size cells (we can't use dynamic arrays here because at the point in the boot process when this code is used malloc() doesn't work, yet). This fixes a Fast Data Access MMU Miss when uart(4) (erroneously) calls OF_decode_addr() to decode the address of PS/2 keyboards. PS/2 keyboards use a different and also undocumented scheme at the first parent node than mapping at 'ranges' properties. It's however not worth implementing that other scheme and actually also fits atkbdc(4) better to just start at the first parent node of PS/2 keyboards which is the 8042 controller (I have atkbdc(4) working that way). - Use FBSDID. MFC after: 1 month Revision Changes Path 1.14 +6 -5 src/sys/sparc64/sparc64/ofw_machdep.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200505212017.j4LKH1cM075616>