Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Sep 2003 13:32:12 -0700 (PDT)
From:      Marcel Moolenaar <marcel@FreeBSD.org>
To:        src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/sparc64/include ofw_machdep.hsrc/sys/sparc64/sparc64 ofw_machdep.c
Message-ID:  <200309022032.h82KWCna006677@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
marcel      2003/09/02 13:32:12 PDT

  FreeBSD src repository

  Modified files:
    sys/sparc64/include  ofw_machdep.h 
    sys/sparc64/sparc64  ofw_machdep.c 
  Log:
  Add function OF_decode_addr(). This function obtains the physical
  address of the device identified by its phandle_t by traversing OFW's
  device tree. The space and address returned by this function can
  subsequently be passed to sparc64_fake_bustag() to construct a valid
  tag and handle for use by the newbus I/O functions.
  
  Use of this function is expected to be limited to pre-newbus access to
  devices, such as consoles and keyboards.
  
  Partially obtained from: tmm
  Reviewed by: jake, jmg, tmm
  SBus testing made possible by: jake
  Tested with: LINT
  
  Revision  Changes    Path
  1.3       +2 -1      src/sys/sparc64/include/ofw_machdep.h
  1.4       +110 -0    src/sys/sparc64/sparc64/ofw_machdep.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200309022032.h82KWCna006677>