ru
b20de64cf4
Use a common multi-inclusion protection, and add such a
...
protection to alpha/include/exec.h.
2005-02-19 21:16:48 +00:00
cognet
b8a774f3c8
Support high vectors for arm9.
...
Obtained from: NetBSD
2005-02-18 17:29:12 +00:00
cognet
c7bd1f8912
Define NIRQ to 64 for CPU_ARM9, because Cirrus Logic EP93XX cores provides
...
64 irqs.
This should be re-thought later.
2005-02-13 18:26:31 +00:00
cognet
afb68fc98f
Remove unused prototype.
2005-02-13 18:20:39 +00:00
cognet
369a407b4e
Remove redondant includes.
2005-02-13 18:05:36 +00:00
cognet
198e9d1faf
Don't prototype pmap_kenter().
2005-02-13 17:18:20 +00:00
jmg
bf0aaab69d
move pmap.h after vm.h include... some of the headers from pmap.h depend
...
upon vm.h
2005-02-09 00:10:17 +00:00
njl
c154331727
Finish the job of sorting all includes and fix the build by including
...
malloc.h before proc.h on sparc64. Noticed by das@
Compiled on: alpha, amd64, i386, pc98, sparc64
2005-02-06 01:55:08 +00:00
njl
dc0df86311
Sort includes a little so that bus.h comes before cpu.h (for device_t).
2005-02-04 06:58:09 +00:00
njl
cf050fc4b7
Add an implementation of cpu_est_clockrate(9). This function estimates the
...
current clock frequency for the given CPU id in units of Hz.
2005-02-04 05:32:56 +00:00
njl
bc84e8be3b
Sort functions.
2005-02-01 06:36:27 +00:00
cognet
590d6ca409
Make sure we can boot both with and without MMU enabled.
2005-01-23 22:08:31 +00:00
cognet
4bb7d0d100
Define bus_dmamap_load_buffer before bus_dmamap_load to make gcc happy.
2005-01-23 22:07:33 +00:00
cognet
c4fb3a17bb
Fix compile for !KTR.
2005-01-23 21:39:23 +00:00
cognet
089d8b4c0c
Remove references to non-existing symbols DO_corb and got_mmu.
...
While I'm there, remove dead code.
2005-01-20 22:23:26 +00:00
cognet
29d510d1e0
Fix compile for __ARMEB__.
2005-01-19 16:22:20 +00:00
cognet
19a6d31bf7
MFpowerpc: Work around the problem of returning a 32 bits value from
...
__syscall() on a 32 bits big-endian arch.
Spotted out by: grehan
2005-01-19 00:37:03 +00:00
cognet
c4ffc08b66
Start to support the big endian case as well.
2005-01-18 15:51:50 +00:00
cognet
3833e912a7
Add a new sysctl, hw.sevenseg.freq, to control the update frequency.
2005-01-16 13:18:52 +00:00
cognet
c03f37c21b
Erm, don't forget to store the mbuf in the dmamap in bus_dmamap_load_mbuf_sg(),
...
so that bus_dmamap_sync() knows what to invalidate. This makes em(4) work again.
While I'm there, remove the unused "first" variable.
2005-01-16 13:15:16 +00:00
cognet
b87ce437d5
Add support for KTR_BUSDMA.
2005-01-15 19:42:28 +00:00
cognet
47cc28191a
Add the prototype for bus_dmamap_load_mbuf_sg().
...
Spotted out by: scottl
2005-01-15 19:31:08 +00:00
cognet
25ba216991
MFi386: add bus_dmamap_load_mbuf_sg().
2005-01-15 19:07:23 +00:00
cognet
c38a5d92fa
Add the 7 seg display.
2005-01-15 18:55:40 +00:00
cognet
45671bb5bb
Add support for the IQ31244 7 seg display.
...
Obtained from: NetBSD
2005-01-15 18:55:22 +00:00
cognet
29756b3981
Start the license statement with /*-
2005-01-15 18:38:10 +00:00
cognet
38ff280340
Use device_set_desc().
2005-01-15 16:57:00 +00:00
cognet
25f4be3332
Add the i80321 watchdog.
2005-01-15 16:56:22 +00:00
cognet
c6534d39c5
Add a driver for the i80321 watchdog.
...
Obtained from: NetBSD
2005-01-15 16:54:35 +00:00
cognet
38a99ce07d
Add support for ptrace() and gdb breakpoints.
2005-01-10 22:43:16 +00:00
cognet
08fa5669eb
Don't assume pmap_update() will cpwait for us, pmap_update will disappear soon.
2005-01-10 22:41:08 +00:00
imp
db4ca2bddc
Start all license statements with /*-
2005-01-05 21:58:49 +00:00
alc
084f91f654
Modify pmap_enter_quick() so that it expects the page queues to be locked
...
on entry and it assumes the responsibility for releasing the page queues
lock if it must sleep.
Remove a bogus comment from pmap_enter_quick().
Using the first change, modify vm_map_pmap_enter() so that the page queues
lock is acquired and released once, rather than each time that a page
is mapped.
2004-12-23 20:16:11 +00:00
cognet
2ff3dc8b93
- The IQ80321 has a jumper which changes the PCI device id from 4 to 8 for the
...
GigE controller, so handle this.
- Use the outbound window 0 if the PCI mem requested is in its range, instead
of inconditionally use the outbound window 1.
This should be enough to get FreeBSD/arm to work on the IQ80321 board as well.
Reported and tested by: Jia-Shiun Li <jiashiun at gmail dot com>
2004-12-21 11:36:09 +00:00
cognet
904ab6f62e
Update the StrongArm port to match the current code.
...
- Implement arm_mask_irqs and arm_unmask_irqs
- Provide the available physical address range after pmap_bootstrap allocated
things, instead or before, or bad things happen.
2004-12-18 17:58:49 +00:00
cognet
d188af70a7
Make sure gcc doesn't generate something such as swp r3, r4, [r3] for __swp,
...
as it has unpredictable results.
2004-12-18 17:43:01 +00:00
alc
3241f61d0e
In the common case, pmap_enter_quick() completes without sleeping.
...
In such cases, the busying of the page and the unlocking of the
containing object by vm_map_pmap_enter() and vm_fault_prefault() is
unnecessary overhead. To eliminate this overhead, this change
modifies pmap_enter_quick() so that it expects the object to be locked
on entry and it assumes the responsibility for busying the page and
unlocking the object if it must sleep. Note: alpha, amd64, i386 and
ia64 are the only implementations optimized by this change; arm,
powerpc, and sparc64 still conservatively busy the page and unlock the
object within every pmap_enter_quick() call.
Additionally, this change is the first case where we synchronize
access to the page's PG_BUSY flag and busy field using the containing
object's lock rather than the global page queues lock. (Modifications
to the page's PG_BUSY flag and busy field have asserted both locks for
several weeks, enabling an incremental transition.)
2004-12-15 19:55:05 +00:00
cognet
f5087aa887
Enable interrupts once the active ones have been masked.
2004-12-14 18:57:21 +00:00
cognet
483dfc89cc
Update the sp after popping the regs.
...
This is a good candidate for the golden pointy hat awards.
2004-12-14 18:45:05 +00:00
cognet
aaccd68d1e
Save a few more cycles in cpu_switch() and cpu_throw().
2004-12-12 19:21:58 +00:00
cognet
7b53c82fbc
Fix style.
2004-12-11 23:56:03 +00:00
cognet
2905ff21d0
Add entries to trace syscalls with KTR.
2004-12-11 23:54:03 +00:00
cognet
12b25e5922
Fix compilation with INVARIANTS.
2004-12-11 14:46:52 +00:00
cognet
7c1648f220
s/RETEQ/RETeq/.
2004-12-10 16:49:08 +00:00
cognet
d279ab4624
Include <sys/signalvar.h> for trapsignal().
2004-12-07 17:39:42 +00:00
cognet
2c5094e397
Make sure to map the whole kernel into 1MB pages. Try to use the remaining
...
memory for things such as the kernel stack.
2004-12-05 22:48:04 +00:00
cognet
682a6984b2
Reactivate the use of the minidata cache.
2004-12-05 22:47:25 +00:00
cognet
c1ab0fd5ff
Do not change the page directory and do not flush the TLB when switching to
...
a kernel thread.
2004-12-05 22:46:59 +00:00
cognet
5366759c12
Remove an unused field from the struct pv_entry.
...
While I'm there, fix style.
2004-12-05 22:46:30 +00:00
cognet
4e4dc1b317
Include <sys/signalvar.h> for trapsignal().
2004-12-02 23:31:48 +00:00