Commit Graph

39367 Commits

Author SHA1 Message Date
matthias
2d699aa6ce Change some comment formatting. 2000-07-14 08:21:14 +00:00
matthias
0688add8e8 Take care of prototype changes for console probe and console getc. 2000-07-14 08:18:49 +00:00
jun
ceafcbd834 apply Kenji Aoyama <aoyama@nk.mcu.or.jp>'s patch
on port-hpcmips-ja@jp.netbsd.org Mon, 10 Jul 2000 21:21:47 +0900

FIX:
  Can't read CIS tuple chain:some TDK CF Flash memory card.
2000-07-14 08:02:12 +00:00
thorpej
b221909e32 Sprinkle some const. 2000-07-14 07:21:50 +00:00
thorpej
195bf5c09f - Fix the likely cause of the "ps(1) hangs machine" problem. Always
vslock the user pages for the data being copied out to userspace,
  so that we won't sleep while holding a lock in case we need to
  fault the pages in.
- Sprinkle some const and ANSI'ify some things while here.
2000-07-14 07:21:21 +00:00
thorpej
8fd9032b90 ANSI'ify. 2000-07-14 07:14:33 +00:00
thorpej
424346ba85 Const'ify string constants. 2000-07-14 07:14:03 +00:00
thorpej
ba40fcada3 Sprinkle in some const. 2000-07-14 07:12:47 +00:00
tsubai
500013914e Make timebase frequency value adjustable. 2000-07-14 05:53:31 +00:00
tv
69e557a91c Add _XOPEN_SOURCE protections. The need for these is questionable, advised
by kleink about the E* predefined namespace; we'll look into that.

Also add ENOTSUP from SUSv2 as an alias for EOPNOTSUPP.  It's used by the
SUSv2 pthreads interface, has the same meaning, and pthreads does not use
EOPNOTSUPP.
2000-07-14 00:52:02 +00:00
pk
c32ffb8447 Make physmem' an unsigned int', so it can properly represent large memory
configurations.
2000-07-14 00:02:35 +00:00
jdolecek
5942ac860b switch to sys/conf/newvers_stand.sh for generating vers.c 2000-07-13 22:25:14 +00:00
jdolecek
9c15bcabda switch to sys/conf/newvers_stand.sh for generating vers.c
sync comments in */version with i386
2000-07-13 22:18:12 +00:00
jdolecek
f6330c6500 switch to sys/conf/newvers_stand.sh for generating vers.c
sync comments in */version with i386
add a hack to ${PROG} target so that symlinks machine, pmax, mips are
  created properly even when building on NetBSD/pmax 1.4.1
2000-07-13 22:18:08 +00:00
jdolecek
432831b01b add couple of flags which can be used to avoid generating some of the
information.
Put standard TNF copyright in, since this file no longer uses the old code.
2000-07-13 22:04:44 +00:00
msaitoh
1fa850b0ef config file for Dreamcast 2000-07-13 18:11:53 +00:00
soren
e527d66d55 Fix mem_no. Pointed out by cgd. 2000-07-13 18:10:38 +00:00
msaitoh
e633c4ca18 don't initialize BSC when BSC is already initialized (e.g. Dreamcast) 2000-07-13 18:02:10 +00:00
cgd
ca051b5fb3 fix some obvious paste errors in 'uk' cdev inits 2000-07-13 17:40:34 +00:00
thorpej
75159452f1 Sync w/ kern_time.c and sys_generic.c 2000-07-13 17:39:03 +00:00
thorpej
f9ba0345f1 XXX Use of hzto() return value needs to be double-checked here. 2000-07-13 17:35:03 +00:00
thorpej
c55e09bd44 Add a comment about the hzto() return value. 2000-07-13 17:32:06 +00:00
thorpej
c0c8481a2a New hzto() function from FreeBSD and Artur Grabowski <art@stacken.kth.se>.
Stops sleeps from returning early (by up to a clock tick), and return 0
ticks for timeouts that should happen now or in the past.

Returning 0 is different from the legacy hzto() interface, and callers
need to check for it.
2000-07-13 17:06:15 +00:00
pk
9da8631e2b printf() format for 64-bit integers tf_pc' and tf_npc'. 2000-07-13 16:44:03 +00:00
simonb
b10a1b69be Add a KERN_CONSDEV sysctl that returns cn_tab->cn_dev (if cn_tab is not
NULL).
2000-07-13 14:26:43 +00:00
itojun
20964b0c23 fatal bug fix from kame (rtentry refcnt goes negative if we play with IPv6
address/routing table too much).

in6_ifloop_request()
  not to request rtrequest to return an rtentry except for the ADD
  operation, in order to avoid misdecreasing the refcnt (which might
  cause leak of rtentry)
2000-07-13 09:56:20 +00:00
mjacob
c9f691d778 Correct omissions inadvertantly introduced when the non-debug
version (macro) was updated in exec.h.
2000-07-13 09:34:23 +00:00
jeffs
ef9531850e Add comment that overriding the sysctl defines in machine/cpu.h
breaks userland binary compatiabiltiy between mips ports.  Move
check down so common values are always defined here.
2000-07-13 07:37:11 +00:00
mrg
c0f74e1bda remove memreg.h. 2000-07-13 06:30:16 +00:00
mrg
22820972ac remove vaddrs.h 2000-07-13 06:25:55 +00:00
mrg
81ec8bef47 remove old (bogus) comment. 2000-07-13 06:23:07 +00:00
thorpej
3eedcb3009 Whitespace police. 2000-07-13 05:47:39 +00:00
mrg
d5a1bec37e bump some system values. 2000-07-13 05:40:51 +00:00
itojun
f5211e847a remove m_pulldown statistics code. it is highly experimental and belong
to kame tree only (not for *bsd).
2000-07-13 05:34:21 +00:00
matt
cb551c438d Reflect the new reality. 2000-07-13 03:18:22 +00:00
matt
841f05f1b2 Use <machine/asm.h> 2000-07-13 03:17:21 +00:00
matt
20b3698aee Include libkern.h 2000-07-13 03:13:40 +00:00
matt
98ffc615b2 Use <machine/asm.h>. (e.g. prepare for ELF) 2000-07-13 03:13:05 +00:00
matt
b4c1bfd1f3 modify load_file to load at relative vms'a as specified in the phdr's. 2000-07-13 02:35:25 +00:00
matt
84bbae583c remove a debugging printf. 2000-07-13 02:33:36 +00:00
thorpej
ccb90e6fe9 When select(2)/poll(2) is awakened by a collision, recalculate the
timeout value for tsleep().  From Artur Grabowski <art@stacken.kth.se>.
2000-07-13 01:32:33 +00:00
matt
81ce10aa1f Extend the vmcmd stuff a bit. Add a flags field and define
VMCMD_BASE & VMCMD_RELATIVE.  This allows one to add vmcmds
which are relative to previous entries.  This is needed for
loading the VAX ld.elf_so
2000-07-13 01:24:04 +00:00
soren
c675def443 Update comment. 2000-07-12 23:14:09 +00:00
thorpej
5cae63e123 NetBSD -> __NetBSD__ in an #ifdef, and nuke sc_bpf; there's one in
the ifnet already.
2000-07-12 23:02:38 +00:00
thorpej
1a82fc879b Regen. 2000-07-12 22:59:54 +00:00
thorpej
16a4fd2bff Add DEC DE422 Ethernet. 2000-07-12 22:59:23 +00:00
thorpej
c0708e9ff1 Clean up bios_reg a little, and add support for accessing
the byte variants of the registers (e.g. %ah, %al, etc.).
2000-07-12 22:58:12 +00:00
jdolecek
b46e691b98 make bootprog_* const (pointed by Simon Burge) 2000-07-12 22:19:57 +00:00
pk
7e8f67ad97 No need to fetch the psycho's own registers as thet are already passed
down from the parent bus.  Also account for the difference in `reg'
properties in psycho vs sabre chips.
2000-07-12 21:49:44 +00:00
thorpej
b2a5b02fc9 Fix a couple of LP64 problems (long -> int32_t). 2000-07-12 21:15:33 +00:00