<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/arm/include/devmap.h, branch releng/10.2</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F10.2</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F10.2'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2014-05-14T20:17:31Z</updated>
<entry>
<title>MFC r260440, r260441, r260447, r260490, r260493</title>
<updated>2014-05-14T20:17:31Z</updated>
<author>
<name>Ian Lepore</name>
<email>ian@FreeBSD.org</email>
</author>
<published>2014-05-14T20:17:31Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=516ac483bcb60549d1c5c3d58d5b9e7fe3ec93bc'/>
<id>urn:sha1:516ac483bcb60549d1c5c3d58d5b9e7fe3ec93bc</id>
<content type='text'>
  Add option USB_HOST_ALIGN to configs that contain 'device usb'.

  Update dts files of Cubieboard1,2 to use 1GB memory.

  Add a function to print the contents of the static device mapping table,
</content>
</entry>
<entry>
<title>MFC r257669, r257672, r257673, r257676, r257678:</title>
<updated>2013-12-14T00:16:08Z</updated>
<author>
<name>Ian Lepore</name>
<email>ian@FreeBSD.org</email>
</author>
<published>2013-12-14T00:16:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=fbebfc5bbf87809c00980cd5110125009041430b'/>
<id>urn:sha1:fbebfc5bbf87809c00980cd5110125009041430b</id>
<content type='text'>
  Call initarm_lastaddr() later in the init sequence, after establishing
  static device mappings, rather than as the first of the initializations
  that a platform can hook into.  This allows a platform to allocate KVA
  from the top of the address space downwards for things like static device
  mapping, and return the final "last usable address" result after that and
  other early init work is done.

  Because some platforms were doing work in initarm_lastaddr() that needs to
  be done early, add a new initarm_early_init() routine and move the early
  init code to that routine on those platforms.

  Make PTE_DEVICE a synonym for PTE_NOCACHE on armv4, to make it easier to
  share the same code on both architectures.

  Add new helper routines for arm static device mapping.  The new code
  allocates kva space from the top down for the device mappings and builds
  entries in an internal table which is automatically used later by
  arm_devmap_bootstrap().  The platform code just calls the new
  arm_devmap_add_entry() function as many times as it needs to (up to 32
  entries allowed; most platforms use 2 or 3 at most).

  Remove imx local devmap code and use the essentially identical common
  code that got moved from imx_machdep.c to arm/devmap.c.
</content>
</entry>
<entry>
<title>MFC r257648, r257649, r257660:</title>
<updated>2013-12-13T23:56:53Z</updated>
<author>
<name>Ian Lepore</name>
<email>ian@FreeBSD.org</email>
</author>
<published>2013-12-13T23:56:53Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=08ae16c410797796cb565ea0538e5f8243c0ee2e'/>
<id>urn:sha1:08ae16c410797796cb565ea0538e5f8243c0ee2e</id>
<content type='text'>
  Begin reducing code duplication in arm pmap.c and pmap-v6.c by factoring
  out common code related to mapping device memory into a new devmap.c file.

  Remove the growing duplication of code that used pmap_devmap_find_pa() and
  then did some math with the returned results to generate a virtual address,
  and likewise in reverse to get a physical address.  Now there are a pair
  of functions, arm_devmap_vtop() and arm_devmap_ptov(), to do that.  The
  bus_space_map() implementations are rewritten in terms of these.

  Move remaining code and data related to static device mapping into the
  new devmap.[ch] files.  Emphasize the MD nature of these things by using
  the prefix arm_devmap_ on the function and type names (already a few of
  these things found their way into MI code, hopefully it will be harder to
  do by accident in the future).
</content>
</entry>
</feed>
