cvs commit: src/sys/sparc64/sparc64 ofw_machdep.c

Marius Strobl marius at FreeBSD.org
Sat May 21 20:17:01 GMT 2005


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


More information about the cvs-src mailing list