<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src/sys/arm/include/cpu.h, branch releng/7.3</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src/atom?h=releng%2F7.3</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src/atom?h=releng%2F7.3'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/'/>
<updated>2006-05-11T17:29:25Z</updated>
<entry>
<title>Clean out sysctl machdep.* related defines.</title>
<updated>2006-05-11T17:29:25Z</updated>
<author>
<name>Poul-Henning Kamp</name>
<email>phk@FreeBSD.org</email>
</author>
<published>2006-05-11T17:29:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=5405ab488908dba6aff124d17a1f00765a509dbb'/>
<id>urn:sha1:5405ab488908dba6aff124d17a1f00765a509dbb</id>
<content type='text'>
The cmos clock related stuff should really be in MI code.
</content>
</entry>
<entry>
<title>Tweak how the MD code calls the fooclock() methods some.  Instead of</title>
<updated>2005-12-22T22:16:09Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2005-12-22T22:16:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=b439e431bf40739ff5a1f60bbc283289d374c849'/>
<id>urn:sha1:b439e431bf40739ff5a1f60bbc283289d374c849</id>
<content type='text'>
passing a pointer to an opaque clockframe structure and requiring the
MD code to supply CLKF_FOO() macros to extract needed values out of the
opaque structure, just pass the needed values directly.  In practice this
means passing the pair (usermode, pc) to hardclock() and profclock() and
passing the boolean (usermode) to hardclock_cpu() and hardclock_process().
Other details:
- Axe clockframe and CLKF_FOO() macros on all architectures.  Basically,
  all the archs were taking a trapframe and converting it into a clockframe
  one way or another.  Now they can just extract the PC and usermode values
  directly out of the trapframe and pass it to fooclock().
- Renamed hardclock_process() to hardclock_cpu() as the latter is more
  accurate.
- On Alpha, we now run profclock() at hz (profhz == hz) rather than at
  the slower stathz.
- On Alpha, for the TurboLaser machines that don't have an 8254
  timecounter, call hardclock() directly.  This removes an extra
  conditional check from every clock interrupt on Alpha on the BSP.
  There is probably room for even further pruning here by changing Alpha
  to use the simplified timecounter we use on x86 with the lapic timer
  since we don't get interrupts from the 8254 on Alpha anyway.
- On x86, clkintr() shouldn't ever be called now unless using_lapic_timer
  is false, so add a KASSERT() to that affect and remove a condition
  to slightly optimize the non-lapic case.
- Change prototypeof  arm_handler_execute() so that it's first arg is a
  trapframe pointer rather than a void pointer for clarity.
- Use KCOUNT macro in profclock() to lookup the kernel profiling bucket.

Tested on:	alpha, amd64, arm, i386, ia64, sparc64
Reviewed by:	bde (mostly)
</content>
</entry>
<entry>
<title>Sort functions.</title>
<updated>2005-02-01T06:36:27Z</updated>
<author>
<name>Nate Lawson</name>
<email>njl@FreeBSD.org</email>
</author>
<published>2005-02-01T06:36:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3d7d8f614b0ca3553ac91a3243fbf5018103ab62'/>
<id>urn:sha1:3d7d8f614b0ca3553ac91a3243fbf5018103ab62</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Implement get_cyclecount().</title>
<updated>2004-11-04T19:15:43Z</updated>
<author>
<name>Olivier Houchard</name>
<email>cognet@FreeBSD.org</email>
</author>
<published>2004-11-04T19:15:43Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=3ce6572f9f15c3d5777fb78e7a475849be29b082'/>
<id>urn:sha1:3ce6572f9f15c3d5777fb78e7a475849be29b082</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Instead of calling ia32_pause() conditionally on __i386__ or __amd64__</title>
<updated>2004-08-03T18:44:27Z</updated>
<author>
<name>Maxime Henrion</name>
<email>mux@FreeBSD.org</email>
</author>
<published>2004-08-03T18:44:27Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=9f1b87f106100470dafeeab83abfa98ab86be3f7'/>
<id>urn:sha1:9f1b87f106100470dafeeab83abfa98ab86be3f7</id>
<content type='text'>
being defined, define and use a new MD macro, cpu_spinwait().  It only
expands to something on i386 and amd64, so the compiled code should be
identical.

Name of the macro found by:	jhb
Reviewed by:	jhb
</content>
</entry>
<entry>
<title>Import FreeBSD/arm kernel bits.</title>
<updated>2004-05-14T11:46:45Z</updated>
<author>
<name>Olivier Houchard</name>
<email>cognet@FreeBSD.org</email>
</author>
<published>2004-05-14T11:46:45Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src/commit/?id=6fc729af6302dafea6d55379b7175fb40c81ac4d'/>
<id>urn:sha1:6fc729af6302dafea6d55379b7175fb40c81ac4d</id>
<content type='text'>
It only supports sa1110 (on simics) right now, but xscale support should come
soon.
Some of the initial work has been provided by :
Stephane Potvin &lt;sepotvin at videotron.ca&gt;
Most of this comes from NetBSD.
</content>
</entry>
</feed>
