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
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
takemura
f0e427d05a
Add platid, VADEM CLIO C-1000 and C1050.
...
Note: CLIO C-1000 is identical with SHARP Tripad PV6000.
2000-06-03 08:00:42 +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
uch
c70d727504
regen.
2000-05-22 15:05:37 +00:00
takemura
6bef866101
Add two items:
...
NEC MobilePro 780 (MC/R530A)
NEC MobilePro 880 (MC/R730A)
2000-05-20 05:08:53 +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
uch
441ca96c28
sync with new mips trap.c
2000-04-11 17:57:42 +00:00
soda
1c5551f260
splsoftnet() should block softclock() too.
2000-04-03 11:44:19 +00:00
sato
126ead3471
add some events.
2000-04-03 03:48:42 +00:00
sato
7782859d5b
mips_hardware_intr is defined in <mips/intr.h>
2000-04-03 03:37:25 +00:00
jun
2c3c66ea0c
regen.
2000-03-31 12:46:23 +00:00
uch
58bae8effe
bus_dma. taken from pmax.
2000-03-25 15:04:32 +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
drochner
aa1de89bdf
explicitely #include <sys/systm.h> #if BUS_SPACE_DEBUG to get a printf()
...
prototype
2000-03-15 16:44:48 +00:00
sato
f9dc1cca42
add CONFIG_HOOK_POWERCONTROL_LCDLIGHT
2000-03-13 01:52:00 +00:00
shin
84b24dcb3a
cosmetic change.
2000-03-05 10:03:16 +00:00
takemura
303401ce32
Change bus_addr_t and bus_size_t from u_int32_t to u_long.
...
Add -Werror option to kernel Makefile.
2000-03-05 05:22:12 +00:00
takemura
2aad5afc67
Add ISA DMA support entries. (It's dummy. I don't know if it work or not.)
2000-03-05 04:34:06 +00:00
shin
26f41e8f13
support non-contiguous memory.
...
patch from Mycroft <root@ihack.net> and uch@netbsd.org .
tested hardware:
VR4121 IBM WorkPad z50 (48MB, 16MB)
VR4121 NEC Mobile Gear II MC/R730
TX3912 Compaq C-series 810 (20MB), 2010c (20MB, 16MB)
TX3922 Sharp Telios HC-AJ2 (32MB)
2000-02-21 13:46:02 +00:00
jun
2d09174cce
regen.
2000-02-14 07:19:25 +00:00
sato
ad591b78f4
CLOCK_RATE: 256-> 128.
...
reduce timer interrupts because hpcmips machines are lower cpu power.
2000-02-09 10:41:18 +00:00
takemura
06aa6ffcb9
Delete dupicated 'z50'.
2000-02-06 14:02:42 +00:00
takemura
1a8f3a2b75
Add platid_name() which retrieves the platform name.
2000-02-06 08:47:03 +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
shin
e35089652c
platid regen.
2000-01-28 06:22:53 +00:00
drochner
8eb798e603
define a "BUS_SPACE_MAP_PREFETCHABLE" flag which basically means that
...
device accesses are idempotent (but should not be cached by the CPU)
2000-01-25 22:13:17 +00:00
takemura
251cab4f98
Add platform ID of MC-R430.
2000-01-22 10:51:29 +00:00
uch
f0d09739ad
regen.
2000-01-06 18:08:54 +00:00
jun
c81c09d71b
regen.
1999-12-26 17:21:59 +00:00
shin
fbae81d242
regen.
1999-12-26 05:51:25 +00:00
kleink
11e6c54cfc
C99: Define a NAN macro in <math.h> which evaulates to a constant expression of
...
a single-precision quiet NaN; only to be defined on platforms that do support
this value.
1999-12-23 10:15:05 +00:00
takemura
98a2a24647
New button handler and power controller with configurable hooking mechanism.
1999-12-23 06:26:08 +00:00
jun
a29e89ddf6
regen.
1999-12-10 09:14:27 +00:00
jun
a565cabff0
Regen.
1999-12-09 02:48:43 +00:00
jun
2952df34ed
Regen.
1999-12-08 07:30:28 +00:00
jun
d7ec450645
regen
1999-12-08 05:27:07 +00:00
ragge
0513268399
CL* discarding.
1999-12-04 21:13:19 +00:00
takemura
b5c8739b96
Unify vr_reset and vr_powerdown.
1999-12-04 10:55:17 +00:00
sato
943c083676
PowerOff code. (not yet completely)
...
'halt -p' availavle.
not yet all power off...
cannot exit poweroff mode. (reset required..)
1999-11-28 10:59:05 +00:00
takemura
62009df24f
Add new device vrdsu, with which we can hard reset the VR41xx CPU.
...
Why don't you try shutdown comand with option '-r ?
1999-11-28 04:29:37 +00:00
shin
a16b5d0ff6
Regen.
1999-11-21 12:49:07 +00:00
takemura
3abbbd219e
Add entries for Mobile Pro 770(MC-R520A) and Mobile Pro 800(MC-R700A).
1999-11-21 07:58:49 +00:00
uch
4c747fe97d
TX3912/3922 support
1999-11-21 07:04:31 +00:00
uch
5bd99e89d8
add fb_init, mem_init member to struct platform.
1999-11-21 06:59:41 +00:00
kleink
b4f0936a8c
Per discussion on tech-toolchain, remove MIPS-specific <machine/elf.h> header;
...
all the information is available from <sys/exec_elf.h>.
1999-11-09 21:50:18 +00:00
uch
786f12a1cb
regen.
1999-10-30 10:58:33 +00:00
kleink
522cbf0248
Update to match new SVR4-style definition names in <sys/exec_elf.h>.
1999-10-25 13:55:06 +00:00
shin
5bad90bb3f
sync with i386 (MBR)
1999-10-11 05:29:04 +00:00
uch
1a59333e1b
Regen.
1999-09-25 10:52:50 +00:00
takemura
8dd0eb62ce
Add timezone info in bootinfo.
...
Delete raw writing 'OK' into frame buffer.
1999-09-23 08:30:58 +00:00
takemura
db2b0adebd
Import NetBSD/hpcmips source files from hpcmips repository.
...
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
1999-09-16 12:23:18 +00:00