thorpej
2c4c690f14
Add the BUS_DMA_STREAMING flag.
2001-03-07 22:42:16 +00:00
tsutsui
f47d2bae91
Fix include path.
...
(mips/include/mips_opcode.h -> mips/mips_opcode.h)
2001-02-17 04:31:25 +00:00
thorpej
d85a75f583
Make sure everybody has an splvm() and equate it with splimp() (splimp()
...
is the historical name for this interrupt level, and the historical name
is going to go away in the near future).
2001-01-14 02:00:37 +00:00
ur
7701dc57be
Adapt to pci_intr_map change.
2001-01-13 10:46:18 +00:00
thorpej
58e7a6954b
Add spllock(). See spl(9) for details.
2000-08-22 19:46:26 +00:00
thorpej
23a7f255d4
Make sure we provide splsched() as described in spl(9).
2000-08-21 02:06:31 +00:00
itojun
d738f90fd7
raise MSIZE from 128 to 256.
...
- for sizeof(void *) == 8 arch, this is mandatory. MHLEN is too small
already (less than 80) and there are chances for unwanted packet loss due
to m_pullup restriction.
- for other cases, the change should avoid allocating clusters in most cases
(even when you have IPv4 IPsec tunnel, or IPv6 with moderate amount of
extension header)
portmasters: if your arch chokes with the change (high memory usage or
whatever), please backout the change for your arch.
2000-06-30 17:55:11 +00:00
kleink
e695f72a2e
Add <machine/int_types.h>, which provides namespace-pure definitions
...
of exact-width integer types.
2000-06-26 15:42:16 +00:00
simonb
889c658b5b
Change the kernel mmap interface so that the offset to map is an
...
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes. Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".
Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.
2000-06-26 04:55:19 +00:00
soda
7b3141e1fb
for DeskStation RPC44
2000-06-20 08:26:52 +00:00
soda
5175a6121b
vga/pckbc attachment for jazz internal bus of Magnum derived machines
...
(including Pica, NEC RISCstation/RISCserver).
2000-06-17 07:23:05 +00:00
soda
4412ca8455
<machine/cpuregs.h> was removed on March 30,
...
from Shuichiro URATA <ur@a-r.org>.
2000-06-12 17:01:05 +00:00
soda
e5b560a385
- NEC RISCstation 2250 (RD-94) PCI bus support,
...
contributed by Shuichiro URATA <ur@a-r.org>.
- Experimental coding for NEC RISCserver 2200 and RISCstation 2200.
(doesn't really work)
2000-06-09 05:41:56 +00:00
soda
1258a24612
NEC RISCstation 2250 (RD-94) PCI bus support,
...
contributed by Shuichiro URATA <ur@a-r.org>
2000-06-09 05:33:02 +00:00
soda
861ce3dca7
bus_space/bus_dma implementation for arc port, based on i386 port, pmax port,
...
hpcmips port, and the version contributed by Shuichiro URATA <ur@a-r.org>.
2000-06-09 05:14:42 +00:00
soda
b1438dd751
make paddr_t 64bit on arc port by introducing _MIPS_PADDR_T_64BIT.
2000-06-09 04:36:43 +00:00
soren
d8e5d1fa7d
Add rnd(4) glue for the MIPS3 cycle counter.
2000-06-06 02:24:00 +00:00
cgd
cffb580806
Implement the more flexiable `evcnt' interface as discussed (briefly) on
...
tech-kern and now documented in evcnt(9).
2000-06-04 19:14:14 +00:00
cgd
47449a63d2
kill __P in these files. (I had to look at them anyway with an eye for
...
adding some protos... and adding them with __P seems wrong, but mixing
__P and not __P in the same file seems wrong too, so...)
2000-06-01 00:04:50 +00:00
thorpej
a7d0570e67
First sweep at scheduler state cleanup. Collect MI scheduler
...
state into global and per-CPU scheduler state:
- Global state: sched_qs (run queues), sched_whichqs (bitmap
of non-empty run queues), sched_slpque (sleep queues).
NOTE: These may collectively move into a struct schedstate
at some point in the future.
- Per-CPU state, struct schedstate_percpu: spc_runtime
(time process on this CPU started running), spc_flags
(replaces struct proc's p_schedflags), and
spc_curpriority (usrpri of processes on this CPU).
- Every platform must now supply a struct cpu_info and
a curcpu() macro. Simplify existing cpu_info declarations
where appropriate.
- All references to per-CPU scheduler state now made through
curcpu(). NOTE: this will likely be adjusted in the future
after further changes to struct proc are made.
Tested on i386 and Alpha. Changes are mostly mechanical, but apologies
in advance if it doesn't compile on a particular platform.
2000-05-26 21:19:19 +00:00
soda
e06738f06f
back out previous changes as stopgap.
...
arc port still relies on MIPS_INT_MASK_CLOCK and INT_MASK_REAL_DEV.
(cpu_intr() of arc port should be rewritten completely, but not yet.)
2000-05-09 07:27:04 +00:00
soren
95f3c9498d
MIPS_INT_MASK_CLOCK and INT_MASK_REAL_DEV are deprecated.
2000-05-05 03:18:25 +00:00
thorpej
f51470a514
Require that each each MACHINE/MACHINE_ARCH supply a lock.h. This file
...
contains the values __SIMPLELOCK_LOCKED and __SIMPLELOCK_UNLOCKED, which
replace the old SIMPLELOCK_LOCKED and SIMPLELOCK_UNLOCKED. These files
are also required to supply inline functions __cpu_simple_lock(),
__cpu_simple_lock_try(), and __cpu_simple_unlock() if locking is to be
supported on that platform (i.e. if MULTIPROCESSOR is defined in the
_KERNEL case). Change these functions to take an int * (&alp->lock_data)
rather than the struct simplelock * itself.
These changes make it possible for userland to use the locking primitives
by including <machine/lock.h>.
2000-04-29 03:31:45 +00:00
soda
c56a43535d
remove following symbols which became unnecessary in recent cpu_intr() change:
...
mips_hardware_intr
MIPS3_INTERNAL_TIMER_INTERRUPT
mips3_intr_cycle_count
mips3_timer_delta
2000-04-15 22:05:51 +00:00
soda
1c5551f260
splsoftnet() should block softclock() too.
2000-04-03 11:44:19 +00:00
soda
18dbe75d6e
cancel previous change, and add a comment about it.
...
$INCS variable is introduced by cgd to export kernel headers which
are needed from userland. In other words, $INC should only have
headers for kernel <-> userland programming interface.
Headers for kernel internal implementation should not be exported
to userland.
2000-03-31 11:44:05 +00:00
soren
e204cb3eb9
machine/cpu.h includes mips/cpuregs.h.
2000-03-30 21:37:51 +00:00
soren
726573bf96
Match contents.
2000-03-30 21:33:19 +00:00
soren
573160e03b
Revert previous.
2000-03-24 23:06:03 +00:00
soren
c535ede30b
Move sysctl definitions from arch/mips to arch/foo.
2000-03-24 21:30:58 +00:00
tron
e86957458a
Install "machineendian_machdep.h".
2000-03-17 22:36:31 +00:00
mycroft
9e21b6555a
In the `MY THAT'S GROSS' department...
...
Eliminate the recursive include of machine/endian.h from sys/endian.h.
2000-03-17 00:09:18 +00:00
mycroft
02905321b2
Foolish consistency. Mainly, always use underscores and sys/endian.h.
2000-03-16 15:09:34 +00:00
soda
d4b9359964
do not install bus.h, kbdreg.h and pio.h..
...
since currently these are not useful/needed from userland.
2000-03-03 12:38:25 +00:00
soda
71f6ef9ee6
merge changes between OpenBSD-2.1 and OpenBSD-2.6
2000-02-22 11:25:55 +00:00
soda
87009692f7
OpenBSD-2.6/arc
2000-02-22 11:05:02 +00:00
thorpej
dded044fc2
Update for the NKMEMPAGES changes.
2000-02-11 19:25:12 +00:00
cgd
7d16ac338c
add __BROKEN_CONFIG_UNIT_USAGE #define, becuase these ports do very
...
wrong things with device configuration data "cf_unit" information.
2000-02-05 00:13:22 +00:00
soda
e44d6b7781
ELF*_MACHDEP_ENDIANNESS was undefined.
2000-01-31 15:51:35 +00:00
soda
7978d0205b
- _MACHINE_ARCH was undefined, MACHINE_ARCH was wrong.
...
- make "make includes" work
2000-01-27 07:50:02 +00:00
soda
39cd3507d2
make "make includes" work
2000-01-27 07:49:13 +00:00
kleink
2e7016f6ac
Add missing wrapper header.
2000-01-26 16:42:02 +00:00
soda
564df9b630
merge to NetBSD-current (DeskStation and Algor support is currently broken)
2000-01-23 21:01:48 +00:00
soda
479e34aa41
merge to NetBSD-current (DeskStation and Algor support is currently broken)
2000-01-23 20:45:01 +00:00
soda
5009ff6d63
OpenBSD-2.1/arc
2000-01-23 20:24:23 +00:00
soda
8102fac9d4
Moved from /cvsroot/syssrc/sys/arch/pica/include/ieee.h,v
2000-01-23 20:08:48 +00:00
soda
cd29fe4bb1
Moved from /cvsroot/syssrc/sys/arch/pica/include/elf_machdep.h,v
2000-01-23 20:08:47 +00:00
soda
df1404532c
Moved from /cvsroot/syssrc/sys/arch/pica/include/ecoff_machdep.h,v
2000-01-23 20:08:47 +00:00
soda
6fa8042cc3
Moved from /cvsroot/syssrc/sys/arch/pica/include/bswap.h,v
2000-01-23 20:08:46 +00:00
soda
71226b5898
Moved from /cvsroot/syssrc/sys/arch/pica/include/bsd-aout.h,v
2000-01-23 20:08:45 +00:00
soda
6431b0a81d
Moved from /cvsroot/syssrc/sys/arch/pica/include/aout_machdep.h,v
2000-01-23 20:08:45 +00:00
soda
109d2f9181
Moved from /cvsroot/syssrc/sys/arch/pica/include/Makefile,v
2000-01-23 20:08:44 +00:00
soda
84306c0d5d
Moved from /cvsroot/syssrc/sys/arch/pica/include/vmparam.h,v
2000-01-23 20:08:41 +00:00
soda
4cbf65174d
Moved from /cvsroot/syssrc/sys/arch/pica/include/varargs.h,v
2000-01-23 20:08:40 +00:00
soda
1577ff50ea
Moved from /cvsroot/syssrc/sys/arch/pica/include/types.h,v
2000-01-23 20:08:39 +00:00
soda
33e9dba342
Moved from /cvsroot/syssrc/sys/arch/pica/include/trap.h,v
2000-01-23 20:08:39 +00:00
soda
f0931ebe3a
Moved from /cvsroot/syssrc/sys/arch/pica/include/stdarg.h,v
2000-01-23 20:08:38 +00:00
soda
531913086d
Moved from /cvsroot/syssrc/sys/arch/pica/include/signal.h,v
2000-01-23 20:08:37 +00:00
soda
471def64b2
Moved from /cvsroot/syssrc/sys/arch/pica/include/setjmp.h,v
2000-01-23 20:08:36 +00:00
soda
3f59502e1f
Moved from /cvsroot/syssrc/sys/arch/pica/include/reloc.h,v
2000-01-23 20:08:36 +00:00
soda
8235b56fbb
Moved from /cvsroot/syssrc/sys/arch/pica/include/regnum.h,v
2000-01-23 20:08:35 +00:00
soda
991dcd73f5
Moved from /cvsroot/syssrc/sys/arch/pica/include/regdef.h,v
2000-01-23 20:08:35 +00:00
soda
f018928d56
Moved from /cvsroot/syssrc/sys/arch/pica/include/reg.h,v
2000-01-23 20:08:34 +00:00
soda
e0d9fee67b
Moved from /cvsroot/syssrc/sys/arch/pica/include/ptrace.h,v
2000-01-23 20:08:33 +00:00
soda
877f0260c7
Moved from /cvsroot/syssrc/sys/arch/pica/include/pte.h,v
2000-01-23 20:08:33 +00:00
soda
bd754d76b2
Moved from /cvsroot/syssrc/sys/arch/pica/include/psl.h,v
2000-01-23 20:08:32 +00:00
soda
f2ce555ca9
Moved from /cvsroot/syssrc/sys/arch/pica/include/profile.h,v
2000-01-23 20:08:31 +00:00
soda
415a7de1fe
Moved from /cvsroot/syssrc/sys/arch/pica/include/proc.h,v
2000-01-23 20:08:30 +00:00
soda
d3d90c4c01
Moved from /cvsroot/syssrc/sys/arch/pica/include/pmap.h,v
2000-01-23 20:08:30 +00:00
soda
90d7949c8c
Moved from /cvsroot/syssrc/sys/arch/pica/include/pio.h,v
2000-01-23 20:08:29 +00:00
soda
543ee51b73
Moved from /cvsroot/syssrc/sys/arch/pica/include/pccons.h,v
2000-01-23 20:08:28 +00:00
soda
90a231201e
Moved from /cvsroot/syssrc/sys/arch/pica/include/pcb.h,v
2000-01-23 20:08:28 +00:00
soda
d4440ff3a4
Moved from /cvsroot/syssrc/sys/arch/pica/include/param.h,v
2000-01-23 20:08:27 +00:00
soda
a1ebbbe7cb
Moved from /cvsroot/syssrc/sys/arch/pica/include/mouse.h,v
2000-01-23 20:08:26 +00:00
soda
bdf3b4663a
Moved from /cvsroot/syssrc/sys/arch/pica/include/mips_opcode.h,v
2000-01-23 20:08:25 +00:00
soda
b0f8addc27
Moved from /cvsroot/syssrc/sys/arch/pica/include/limits.h,v
2000-01-23 20:08:24 +00:00
soda
5412972288
Moved from /cvsroot/syssrc/sys/arch/pica/include/kdbparam.h,v
2000-01-23 20:08:24 +00:00
soda
cb536e5f02
Moved from /cvsroot/syssrc/sys/arch/pica/include/kcore.h,v
2000-01-23 20:08:23 +00:00
soda
232c36a7ff
Moved from /cvsroot/syssrc/sys/arch/pica/include/kbdreg.h,v
2000-01-23 20:08:22 +00:00
soda
467a94dc9f
Moved from /cvsroot/syssrc/sys/arch/pica/include/ieeefp.h,v
2000-01-23 20:08:22 +00:00
soda
131bb91866
Moved from /cvsroot/syssrc/sys/arch/pica/include/float.h,v
2000-01-23 20:08:21 +00:00
soda
b44ca2859f
Moved from /cvsroot/syssrc/sys/arch/pica/include/endian.h,v
2000-01-23 20:08:20 +00:00
soda
f5442a2176
Moved from /cvsroot/syssrc/sys/arch/pica/include/display.h,v
2000-01-23 20:08:20 +00:00
soda
9388143e36
Moved from /cvsroot/syssrc/sys/arch/pica/include/disklabel.h,v
2000-01-23 20:08:19 +00:00
soda
fece929833
Moved from /cvsroot/syssrc/sys/arch/pica/include/cpu.h,v
2000-01-23 20:08:18 +00:00
soda
55a5ac3e5a
Moved from /cvsroot/syssrc/sys/arch/pica/include/cdefs.h,v
2000-01-23 20:08:18 +00:00
soda
34b87233e0
Moved from /cvsroot/syssrc/sys/arch/pica/include/bus.h,v
2000-01-23 20:08:17 +00:00
soda
bd92e48823
Moved from /cvsroot/syssrc/sys/arch/pica/include/autoconf.h,v
2000-01-23 20:08:16 +00:00
soda
aa54a1ab1d
Moved from /cvsroot/syssrc/sys/arch/pica/include/asm.h,v
2000-01-23 20:08:16 +00:00
soda
935cad6cc4
Moved from /cvsroot/syssrc/sys/arch/pica/include/ansi.h,v
2000-01-23 20:08:14 +00:00