<feed xmlns='http://www.w3.org/2005/Atom'>
<title>src-test/sys/amd64/isa/ithread.c, branch main</title>
<subtitle>FreeBSD source tree</subtitle>
<id>https://cgit-dev.freebsd.org/src-test/atom?h=main</id>
<link rel='self' href='https://cgit-dev.freebsd.org/src-test/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/'/>
<updated>2003-11-17T08:58:16Z</updated>
<entry>
<title>Initial landing of SMP support for FreeBSD/amd64.</title>
<updated>2003-11-17T08:58:16Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>2003-11-17T08:58:16Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=0d2a2989048c676030afdcf7ba3aae9713738395'/>
<id>urn:sha1:0d2a2989048c676030afdcf7ba3aae9713738395</id>
<content type='text'>
- This is heavily derived from John Baldwin's apic/pci cleanup on i386.
- I have completely rewritten or drastically cleaned up some other parts.
  (in particular, bootstrap)
- This is still a WIP.  It seems that there are some highly bogus bioses
  on nVidia nForce3-150 boards.  I can't stress how broken these boards
  are.  I have a workaround in mind, but right now the Asus SK8N is broken.
  The Gigabyte K8NPro (nVidia based) is also mind-numbingly hosed.
- Most of my testing has been with SCHED_ULE.  SCHED_4BSD works.
- the apic and acpi components are 'standard'.
- If you have an nVidia nForce3-150 board, you are stuck with 'device
  atpic' in addition, because they somehow managed to forget to connect the
  8254 timer to the apic, even though its in the same silicon!  ARGH!
  This directly violates the ACPI spec.
</content>
</entry>
<entry>
<title>Use __FBSDID().</title>
<updated>2003-07-25T21:19:19Z</updated>
<author>
<name>David E. O'Brien</name>
<email>obrien@FreeBSD.org</email>
</author>
<published>2003-07-25T21:19:19Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=56ae44c5df2441d65d54ac4e9c5d89cd0ff779b9'/>
<id>urn:sha1:56ae44c5df2441d65d54ac4e9c5d89cd0ff779b9</id>
<content type='text'>
Brought to you by:	a boring talk at Ottawa Linux Symposium
</content>
</entry>
<entry>
<title>Commit MD parts of a loosely functional AMD64 port.  This is based on</title>
<updated>2003-05-01T01:05:25Z</updated>
<author>
<name>Peter Wemm</name>
<email>peter@FreeBSD.org</email>
</author>
<published>2003-05-01T01:05:25Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=afa8862328041298fe0c059d65cea406f92bad4b'/>
<id>urn:sha1:afa8862328041298fe0c059d65cea406f92bad4b</id>
<content type='text'>
a heavily stripped down FreeBSD/i386 (brutally stripped down actually) to
attempt to get a stable base to start from.  There is a lot missing still.
Worth noting:
- The kernel runs at 1GB in order to cheat with the pmap code.  pmap uses
  a variation of the PAE code in order to avoid having to worry about 4
  levels of page tables yet.
- It boots in 64 bit "long mode" with a tiny trampoline embedded in the
  i386 loader.  This simplifies locore.s greatly.
- There are still quite a few fragments of i386-specific code that have
  not been translated yet, and some that I cheated and wrote dumb C
  versions of (bcopy etc).
- It has both int 0x80 for syscalls (but using registers for argument
  passing, as is native on the amd64 ABI), and the 'syscall' instruction
  for syscalls.  int 0x80 preserves all registers, 'syscall' does not.
- I have tried to minimize looking at the NetBSD code, except in a couple
  of places (eg: to find which register they use to replace the trashed
  %rcx register in the syscall instruction).  As a result, there is not a
  lot of similarity.  I did look at NetBSD a few times while debugging to
  get some ideas about what I might have done wrong in my first attempt.
</content>
</entry>
<entry>
<title>Removed unused includes.  In particular, don't include &lt;isa/isavar.h&gt; since</title>
<updated>2002-01-30T12:23:49Z</updated>
<author>
<name>Bruce Evans</name>
<email>bde@FreeBSD.org</email>
</author>
<published>2002-01-30T12:23:49Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=c636c4a872a4f5cd7b898c7105ef490a3a4b649f'/>
<id>urn:sha1:c636c4a872a4f5cd7b898c7105ef490a3a4b649f</id>
<content type='text'>
its only effect is to break the optionality of the isa option.

Sorted includes.
</content>
</entry>
<entry>
<title>Add missing includes of sys/lock.h.</title>
<updated>2001-10-11T17:52:20Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2001-10-11T17:52:20Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=7106ca0d1ac35e9b17cdebbe57697e73de61051e'/>
<id>urn:sha1:7106ca0d1ac35e9b17cdebbe57697e73de61051e</id>
<content type='text'>
</content>
</entry>
<entry>
<title>- Use ICU_LEN rather than NHWI for the size of the array of ithreads.</title>
<updated>2001-05-15T22:31:08Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2001-05-15T22:31:08Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=d008c720b646f52821f5666a465ba3b4244d73e2'/>
<id>urn:sha1:d008c720b646f52821f5666a465ba3b4244d73e2</id>
<content type='text'>
- Remove unneeded include of sys/ipl.h.
</content>
</entry>
<entry>
<title>- Add a new ithread_schedule() function to do the bulk of the work of</title>
<updated>2001-02-20T10:25:29Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2001-02-20T10:25:29Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=3e5da754456bcfc8d11158ee81c83d076f84dd6f'/>
<id>urn:sha1:3e5da754456bcfc8d11158ee81c83d076f84dd6f</id>
<content type='text'>
  scheduling an interrupt thread to run when needed.  This has the side
  effect of enabling support for entropy gathering from interrupts on
  all architectures.
- Change the software interrupt and x86 and alpha hardware interrupt code
  to use ithread_schedule() for most of their processing when scheduling
  an interrupt to run.
- Remove the pesky Warning message about interrupt threads having entropy
  enabled.  I'm not sure why I put that in there in the first place.
- Add more error checking for parameters and change some cases that
  returned EINVAL to panic on failure instead via KASSERT().
- Instead of doing a documented evil hack of setting the P_NOLOAD flag
  on every interrupt thread whose pri was SWI_CLOCK, set the flag
  explicity for clk_ithd's proc during start_softintr().
</content>
</entry>
<entry>
<title>Allow the superuser to prefent all interrupt harvesting on</title>
<updated>2001-02-18T17:47:55Z</updated>
<author>
<name>Mark Murray</name>
<email>markm@FreeBSD.org</email>
</author>
<published>2001-02-18T17:47:55Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=2564fe499d2761a69632d17bb498e3adb631222b'/>
<id>urn:sha1:2564fe499d2761a69632d17bb498e3adb631222b</id>
<content type='text'>
her system.
</content>
</entry>
<entry>
<title>RIP &lt;machine/lock.h&gt;.</title>
<updated>2001-02-11T10:44:09Z</updated>
<author>
<name>Mark Murray</name>
<email>markm@FreeBSD.org</email>
</author>
<published>2001-02-11T10:44:09Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=d888fc4e737af84dd01cea8a7e529e101b1e06d5'/>
<id>urn:sha1:d888fc4e737af84dd01cea8a7e529e101b1e06d5</id>
<content type='text'>
Some things needed bits of &lt;i386/include/lock.h&gt; - cy.c now has its
own (only) copy of the COM_(UN)LOCK() macros, and IMASK_(UN)LOCK()
has been moved to &lt;i386/include/apic.h&gt; (AKA &lt;machine/apic.h&gt;).
Reviewed by:	jhb
</content>
</entry>
<entry>
<title>Re-enable preemption on interrupts.  My last commit accidentally reverted</title>
<updated>2001-02-10T02:41:50Z</updated>
<author>
<name>John Baldwin</name>
<email>jhb@FreeBSD.org</email>
</author>
<published>2001-02-10T02:41:50Z</published>
<link rel='alternate' type='text/html' href='https://cgit-dev.freebsd.org/src-test/commit/?id=e990501c21e3d9d29e172f69076e144220a09a03'/>
<id>urn:sha1:e990501c21e3d9d29e172f69076e144220a09a03</id>
<content type='text'>
it as I was playing with some other ways of doing kernel preemption.
</content>
</entry>
</feed>
