matt
29fd5f0232
Use M_ZERO as appropriate. Use M_WAITOK instead of 0.
2004-04-18 19:21:06 +00:00
pk
68f30ee7af
Make inlining __cpu_simple_lock() optional. Add a version with a built-in
...
spin out counter that panics with a diagnostic.
2004-04-18 19:20:09 +00:00
matt
4531ee830e
Use M_ZERO as appropriate.
2004-04-18 19:14:42 +00:00
matt
cc11991cd5
Use M_ZERO appropriately. Change some incorrect uses of M_DONTWAIT to
...
M_NOWAIT.
2004-04-18 19:11:39 +00:00
matt
be4b6d7ee9
Use M_ZERO as appropriate. (fix an improper use of M_WAIT to M_WAITOK)
2004-04-18 18:55:57 +00:00
matt
591f26e81f
Use M_ZERO when appropriate
2004-04-18 18:54:03 +00:00
matt
9a80b8007e
De __P()
2004-04-18 18:48:03 +00:00
fvdl
07fd2b039b
Adapt for new aapic.c location.
2004-04-18 18:36:56 +00:00
fvdl
9ad68fe184
Moved here from arch/amd64/pci
2004-04-18 18:34:22 +00:00
fvdl
9a03155b3f
Move these files to x86, so that the i386 port can use them too
...
(for booting i386 kernels on amd64 machines).
2004-04-18 18:33:33 +00:00
matt
27fa4ffb42
De __P()
2004-04-18 18:30:21 +00:00
matt
8f23e3baa1
sbreserve can be called with a NULL socket, deal with it.
2004-04-18 16:38:42 +00:00
lukem
7841be775f
Consistently arrange order of definitions for each type. Specifically:
...
* move SLIST_EMPTY, SLIST_FIRST, SLIST_NEXT, SLIST_FOREACH further down.
* remove duplicate definition of SLIST_NEXT.
* move TAILQ_FOREACH and TAILQ_FOREACH_REVERSE further up.
* add more comments.
* tweak whitespace.
2004-04-18 14:25:34 +00:00
lukem
47e1db6708
consistently use '#define<TAB>'
2004-04-18 14:12:05 +00:00
dbj
dec025329f
remove code that attempts to correct superblock location. this
...
enforces an unnecessary restriction that the superblock be in the
particular expected locations. Also, the compatibility case is
handled in ffs_oldfscompat_read.
2004-04-18 03:35:16 +00:00
dbj
d7c33aeb1e
when enabling ffs compatibility in ffs_reload, use
...
sblockloc that superblock was read from
also note XXX that ffs_reload doesn't handle superblock moving
2004-04-18 03:30:23 +00:00
pk
38bdc6fab2
Remove the cache_flush() trampoline; it's no longer directly cross-called.
...
Instead, implement the MP parts in terms of cross-callable vcache_flush_range()
function.
2004-04-17 23:45:40 +00:00
matt
35b9f3ec72
If a segment is received with RST set and the segment is completely to the
...
left of the receive window, ignore it. Add some additional comments to
the code that deals with received segemnts that are completely to the right
of the receive window. If an invalid SYN is received, force an ACK and
drop it; if the other side really sent the SYN; it'll respond with a reset.
2004-04-17 23:35:37 +00:00
pk
66a6704d83
Update fast xcall interrupt event counter.
...
ft_srmmu_vcache_flush_range: adjust length for address alignment
2004-04-17 23:28:44 +00:00
cl
c705011fd6
Loader which allows booting NetBSD as domain0 guest OS.
2004-04-17 23:20:37 +00:00
pk
e68993f7e4
Add EV_COUNT.
2004-04-17 22:36:54 +00:00
pk
3c3af40e65
Add xcall event counters.
2004-04-17 22:34:14 +00:00
cl
17292d12b3
use nanoseconds since boot counter for delay routine
2004-04-17 21:49:55 +00:00
christos
e98adb3edc
remove declaration of cache_purge that has turned into a macro.
2004-04-17 15:24:22 +00:00
christos
5e6f06df85
remove obsolete comment.
2004-04-17 15:23:23 +00:00
christos
171ddb8b8b
adjust prototypes.
2004-04-17 15:22:59 +00:00
christos
90e1f431ca
adjust to the sbreserve prototype change.
2004-04-17 15:18:53 +00:00
christos
f13a3d0852
PR/9347: Eric E. Fair: socket buffer pool exhaustion leads to system deadlock
...
and unkillable processes.
1. Introduce new SBSIZE resource limit from FreeBSD to limit socket buffer
size resource.
2. make sokvareserve interruptible, so processes ltsleeping on it can be
killed.
2004-04-17 15:15:29 +00:00
cl
9a39f88e1e
add block device driver
2004-04-17 12:56:26 +00:00
cl
e688fd0596
sync with arch/i386/i386/pmap.c:
...
1.172/yamt
- keep cr3 register and its copy in TSS synchronized.
- defer LDTR loading as well as cr3.
2004-04-17 12:53:27 +00:00
cl
1cfcb16460
- microtime support
...
- don't report cpu speed in startrtclock()
2004-04-17 12:50:45 +00:00
cl
e22637e9aa
report cpu speed correctly
2004-04-17 12:47:38 +00:00
cl
8bde79bdaa
- fix event dispatching for event 0
...
- use struct trapframe instead of struct pt_regs
2004-04-17 12:46:42 +00:00
pk
89f5c8768c
When acknowledging a sun4m soft interrupt, read back the pending interrupts
...
hw register to make sure it gets through on Ross CPUs.
2004-04-17 11:55:06 +00:00
pk
1e5ff8a716
raise_ipi: don't bother fetching the cpu type from memory in order to
...
avoid one instruction.
2004-04-17 11:50:23 +00:00
pk
727a9ca138
The macro CMP_PTE_USER_READ4M now needs to consider more PTE access
...
rights combinations, since the access rights table in pmap has changed.
2004-04-17 11:26:36 +00:00
pk
66178209d2
Use fast cross calls for MP cache flush ops.
2004-04-17 10:13:13 +00:00
pk
f714ca590d
Add CPUINFO_XMSG_* symbols for use in fast xcall handlers.
2004-04-17 10:07:58 +00:00
pk
ebfb6e3b0a
Implement fast trap handlers for TLB and cache flushes.
2004-04-17 10:06:29 +00:00
pk
901271fbc8
Use a fast cross call for TLB flushes.
2004-04-17 10:04:20 +00:00
pk
4eac0385f6
xcallintr: arg3 is gone.
2004-04-17 10:01:55 +00:00
pk
8bc2760490
Add support for fast cross call handlers that execute in the trap window
...
on the destination CPU. The `fast handler' address takes the place of the
unused fourth argument to xcall().
2004-04-17 10:01:11 +00:00
matt
a6b639c3a5
Switch to using PSL_USEROK_P()
...
Use new save_fpu_lwp sematics to save or discard the fpu state appropriately.
2004-04-17 08:47:15 +00:00
matt
be6867a460
Regen.
2004-04-17 01:56:31 +00:00
matt
fd311156d1
Add devid of Marvell MV6436x System Controller
2004-04-17 01:56:10 +00:00
matt
8cd24529dc
Add a SAVE/DISCARD flag to save_{fpu,vec}_lwp. Use it appropriately.
...
Nuke struct fpu and use struct fpreg instead (except for the names, they
were identical). On MP machines, this will avoid an unneeded IPI to save
the register contents that are about to discarded.
2004-04-16 23:58:08 +00:00
fvdl
7a44f0ad1f
Make tracing work better (through interrupts, etc). Essentially a synch
...
with i386.
2004-04-16 14:21:56 +00:00
atatat
904ca21614
Prefer that kern.hostid is printed in hex, not as a signed decimal,
...
and avoid accidental sign-extension when setting it.
2004-04-16 13:25:40 +00:00
pk
f663e2397e
checkalias: pass LK_NOWAIT to vget() while holding the spechash spinlock.
2004-04-16 09:59:32 +00:00
hannken
3dc578de5e
Make it compile when PPC_HAVE_FPU is not defined.
2004-04-16 08:52:41 +00:00