tsubai
a943e81da4
Delete kernfs.
2000-07-24 10:04:10 +00:00
scw
2688608c2b
Pass the boot partition number into the loaded kernel, in preparation
...
for doing away with __BROKEN_DK_ESTABLISH.
2000-07-24 09:25:53 +00:00
pk
1045aba51d
Define UVM_PAGE_IDLE_ZERO.
2000-07-24 09:14:56 +00:00
pk
a95d924d4d
Fix delay slot error in the SUN4_MMU3L startup code.
2000-07-24 08:48:03 +00:00
eeh
2933116823
Fix stack issues in bzero.
2000-07-24 07:40:40 +00:00
mycroft
2f13e00500
Revert the previous change for now. I don't have time to debug it tonight.
2000-07-24 06:30:34 +00:00
mycroft
ac182d9c19
Er, eliminate the -p link option as well, which just outputs huge amounts
...
of spooge.
2000-07-24 04:54:16 +00:00
mycroft
711ffefeac
Nuke lderr.
2000-07-24 04:45:49 +00:00
mycroft
0c2ad746ea
Slight rearrangement.
2000-07-24 04:39:01 +00:00
mycroft
f9f72ecf9a
Purge C++-style comments.
2000-07-24 04:28:51 +00:00
mycroft
4cbff173ea
Fix an obvious error that would cause fpu_ftoxi() to drop the upper half.
...
The compiler even emitted a warning for this...
2000-07-24 04:13:45 +00:00
mycroft
bdc8c86c9e
asm volatile --> __asm __volatile
2000-07-24 04:11:03 +00:00
sommerfeld
73b6d9485c
Drop packet, increment udps_badlen if the udp header length field
...
reports a size smaller than the udp header; defends against bogosity
detected by Assar Westerlund.
This patch and the previous ip_icmp.c change were the joint work of
assar, itojun, and myself.
2000-07-24 03:46:57 +00:00
sommerfeld
a0c29e06a3
Improve robustness of icmp_error():
...
- allow it to work when icmpreturndatabytes is sufficiently large that the
icmp error message doesn't fit in a header mbuf.
- defend against mbuf chains shorter than their contained ip->ip_len.
2000-07-24 03:32:31 +00:00
mycroft
b65d3e93c9
Make this a bit safer against errors by using some .tmp files.
2000-07-24 02:00:39 +00:00
mycroft
62fe935649
Give this a prayer of working with obj dirs.
2000-07-24 01:55:59 +00:00
mycroft
8de9ab874b
Make this at least pretend to compile.
2000-07-24 01:51:44 +00:00
mycroft
51b68e1fdd
Fix compiler warnings.
2000-07-24 01:49:37 +00:00
mycroft
bd58d06c50
Need string.h for memset() prototype.
2000-07-24 00:23:10 +00:00
mycroft
0b9155381b
#if 0 a static declaration for a function that does not exist.
2000-07-23 22:56:14 +00:00
mycroft
2f39009bda
Fix multiple problems with floating point and structure handling.
2000-07-23 21:36:56 +00:00
scw
41167b7f9a
__BROKEN_CONFIG_UNIT_USAGE is no longer required for mvme68k.
2000-07-23 20:51:18 +00:00
scw
2f194db83c
G/C cf_unit. It wasn't really being used in a meaningfull way.
2000-07-23 20:50:21 +00:00
jdc
e98c241a12
Make these work with obj directories.
2000-07-23 20:40:44 +00:00
mycroft
acbf46fbf4
Copy bzero change from libc.
2000-07-23 20:39:14 +00:00
augustss
a119131555
Be a little more explicit and careful about setting links in TDs and QHs.
2000-07-23 19:43:37 +00:00
tron
6f6272c9e9
Include "uvm/uvm_param.h" to get definition of "VM_MAX_KERNEL_BUF" as
...
suggested by Richard Earnshaw. This fixes PR kern/10649.
2000-07-23 10:41:35 +00:00
ur
aa381d4db2
Add WSEMUL_VT100 to configuration files using wsdisplay.
...
And update my current configuration. (MIMORI)
2000-07-23 10:06:43 +00:00
itojun
fec624be3f
wrap kernel function prototype by #ifdef _KERNEL.
2000-07-23 08:24:12 +00:00
eeh
999ba2b285
Give 64-bit processes access to a full 64-bit address space (90% of which
...
they can't use anyway, but that's another issue.)
2000-07-23 07:02:19 +00:00
eeh
526bc1de59
Include <machine/frame.h> to get the definition of BIAS and CC64FSZ.
2000-07-23 06:57:55 +00:00
mrg
46a7cab70a
make this usable for for userland asm, which needs CC64FSZ
2000-07-23 06:15:33 +00:00
itojun
411ff12b27
pre-compute and cache intermediate crypto key. suggestion from sommerfeld,
...
sync with kame.
loopback, blowfish-cbc transport mode, 128bit key
before: 86588496 bytes received in 00:42 (1.94 MB/s)
after: 86588496 bytes received in 00:31 (2.58 MB/s)
2000-07-23 05:23:04 +00:00
itojun
ca777cb72c
add an DIAGNOSTIC case for MCLBYTES assumption
2000-07-23 05:00:01 +00:00
jonathan
5f7778cd1e
* Add entries for older Yamaha YMF chips (724, 740) plus the
...
newer steppings (740C, 724F) which use the same microcode as the
DS-1S/DS-1E.
Regen.
2000-07-23 00:18:24 +00:00
jonathan
2169753fc5
* Add entries for older Yamaha YMF chips (724, 740) plus the
...
newer steppings (740C, 724F) which use the same microcode as the
DS-1S/DS-1E
2000-07-23 00:14:15 +00:00
bjh21
f6ce16a43b
Fix up alignment of incoming payloads. BOOTP at least now works.
2000-07-22 21:30:54 +00:00
pk
19bd1749ad
Add short device descriptions in comment lines.
2000-07-22 21:25:52 +00:00
pk
a57e77c50f
Minor comment update; remove unused code.
2000-07-22 21:23:05 +00:00
scw
87143d03cf
Include <sys/systm.h>, if only for printf() prototype.
2000-07-22 19:43:03 +00:00
soda
a86a9c61c4
better message from John Hawkinson <jhawk@MIT.EDU>
2000-07-22 17:43:36 +00:00
jdolecek
e026e76486
bump to 1.5C - lf_advlock() change
2000-07-22 16:50:39 +00:00
simonb
da251cb08f
Delete a couple of <uvm/uvm_extern.h> includes that were for
...
<sys/sysctl.h> only.
2000-07-22 16:11:02 +00:00
bjh21
9c47f8b134
Read the ECID from each podule just before we launch the kernel. This means
...
that the ROM page registers on the podules are likely to end up pointing at
the page with the ECID in it, so NetBSD can recognise the podules.
This is necessary for my i-cubed EtherLan cards, at least.
2000-07-22 15:36:15 +00:00
jdolecek
b0fb24279c
change the lf_advlock() arguments from
...
int lf_advlock __P((struct lockf **,
off_t, caddr_t, int, struct flock *, int));
to
int lf_advlock __P((struct vop_advlock_args *, struct lockf **, off_t));
This matches common usage and is also compatible with similar change
in FreeBSD (though they use u_quad_t as last arg).
2000-07-22 15:26:11 +00:00
bjh21
2e61c1bdb7
Correct spelling and capitalisation of "EtherLan".
...
Add EtherLan 100Lk (8-bit mini-podule).
2000-07-22 15:05:47 +00:00
jdolecek
776aee855f
ditch the ifndef _KERNEL around includes needed for some parts
...
of kinfo_struct - needing to include <uvm/uvm_extern> before <sys/sysctl.h>
is annoying, especially when porting external kernel stuff
2000-07-22 14:59:23 +00:00
jdolecek
166a3f16dd
ext2fs_reload(), ext2fs_mountfs(): do devvp locking same way as ffs
...
this has not shown any good or bad effect, but might help narrow
some problems people seen with ext2fs reload (hi Soren!)
2000-07-22 14:49:17 +00:00
takemura
733c04149a
Experimental MQ200 video driver. It's just copy of bivideo plus power
...
management routine.
2000-07-22 08:53:33 +00:00
takemura
d84cab3012
vrkiu_getc() will call over and over. but we want to see 'not implemented'
...
only once.
2000-07-22 08:26:00 +00:00
takemura
db17c07fd3
mb_bus_space_init() had been removed accidentally when KGDB was supported.
...
It's need for initialize system_bus_iot.
2000-07-22 06:02:46 +00:00
matt
5aba2fd87f
Add a missing include when using this in user space.
2000-07-22 05:11:27 +00:00
matt
a6f212052a
Enable emulation for everything but 7xx/8xxxx
2000-07-22 05:03:23 +00:00
matt
188363bf6a
Make gcc-2.96 shutup about trigraph ignored.
2000-07-22 05:02:24 +00:00
takemura
ecdd72f783
Overwrite color map of rasops.
2000-07-22 03:46:53 +00:00
jdolecek
21d18c459f
do bootblock versioning standard way via sys/conf/newvers_stand.sh, keep what
...
was previously called "subversion" as "build", remove old cruft from newvers.sh
XXX very lighly tested build on NetBSD/hp300 1.4.1, though could not do full
XXX build due to toolchain differences to -current
2000-07-21 22:26:19 +00:00
jdolecek
01d7296690
switch to sys/conf/newvers_stand.sh for generation of version file
...
slighly adjust the Makefile WRT vers.c and SRCS & CLEANFILES
sync the message in boot/version with other ports using newvers_stand.sh
2000-07-21 22:06:11 +00:00
jdolecek
ab07c9d5a9
switch to sys/conf/newvers_stand.sh for generation of version file
...
sync the message in boot/version with other ports using newvers_stand.sh
2000-07-21 22:02:54 +00:00
jdolecek
d89f124868
switch to sys/conf/newvers_stand.sh for generation of version file
...
slighly adjust the Makefile WRT vers.c and SRCS & CLEANFILES
sync the message in boot/version with other ports using newvers_stand.sh
2000-07-21 21:57:23 +00:00
jdolecek
0ebf73d4cf
switch to sys/conf/newvers_stand.sh for generation of version file
...
slighly adjust the Makefile WRT vers.c and SRCS & CLEANFILES
2000-07-21 21:54:54 +00:00
jdolecek
20933708ec
switch to sys/conf/newvers_stand.sh for generation of version file
...
slighly adjust the Makefile WRT vers.c and SRCS & CLEANFILES
2000-07-21 21:42:25 +00:00
jdolecek
4c97163e2d
switch to sys/conf/newvers_stand.sh for generation of version files, no
...
functional changes
2000-07-21 21:34:27 +00:00
jdolecek
911d661dad
switch to sys/conf/newvers_stand.sh for generation of version files
...
move the vers.c depend/build goo to Makefile.bootprogs and remove
explicit rules in other Makefiles
sync the message in */version files with other ports using newvers_stand.sh
XXX the new depend rules were tested to limited extend (also with obj dirs)
XXX on i386 and should be ok; the changes should not otherwise influence build
2000-07-21 21:25:18 +00:00
scw
1cce37b1f4
Make this compile again.
2000-07-21 20:18:35 +00:00
jeffs
5e822c0f84
Backout last iic change. Will work with cgd to get an i2c code we all
...
can be happy with.
2000-07-21 19:41:57 +00:00
jeffs
f7337ad9b1
Add cdev_iic_init() macro [i2c bus].
2000-07-21 18:05:57 +00:00
is
8be010f00d
- Big endianness cleanup:
...
a) use stream methods when transferring data via the MEMPORT into/out of
the chips buffer memory
b) use htole16/le16toh when interpreting 16bit values in the chips memory
Both where NOPs on i386 machines, which is why this worked before on the
test machine(s), but would break when on a big-endian machine.
2000-07-21 13:54:38 +00:00
msaitoh
17c5382dc6
compile byte_swap_2.S and byte_swap_4.S
2000-07-21 11:19:46 +00:00
msaitoh
116abff968
support "big endian", too.
2000-07-21 11:19:10 +00:00
scw
d6d63e19fe
G/C a debugging printf left over from the last commit.
2000-07-21 08:08:38 +00:00
onoe
afa5b645c2
add support for SIOCS80211NWKEY and SIOCG80211NWKEY.
2000-07-21 04:48:55 +00:00
onoe
f4aa4a560c
add following two ioctls to handle WEP key for IEEE 802.11 wireless
...
LAN drivers: SIOCS80211NWKEY and SIOCG80211NWKEY.
2000-07-21 04:47:40 +00:00
eeh
263f73d7f4
Now we're running 64-bit userland don't panic the system if a process steps
...
into the address space hole.
2000-07-20 23:29:50 +00:00
abs
c9355a957c
Add the pccard controller for a Toshiba Portege drive. No vendor ID, no
...
product ID, and in this temporary loan, no bleeding power supply so it
can only probe the controller and not the drive. Still, its something.
2000-07-20 23:20:01 +00:00
pk
43b49b2283
Missing increment on ifp->if_pcount.
2000-07-20 22:00:48 +00:00
jeffs
0e306bace6
kgdb support for the vr hpcmips machines.
...
From Ethan Solomita (ethan@geocast.com ).
2000-07-20 21:03:36 +00:00
scw
a1b8e79bb1
Take advantage of generic soft interrupts, if available.
2000-07-20 20:44:50 +00:00
eeh
0a25b480c6
Clean up disassembly of sparc v9 insns and handling of negative values.
2000-07-20 20:43:21 +00:00
scw
83e678b1a4
Implement generic soft interrupts for mvme68k.
...
Based on Jason Thorpe's Alpha implementation.
2000-07-20 20:40:34 +00:00
bjh21
bf14d56ba8
Add strtoul.c -- if_ea.c needs it.
2000-07-20 20:27:53 +00:00
bjh21
da2949153f
Disable dtide since it doesn't work (and probably never will -- the card's
...
brain-dead).
2000-07-20 20:27:11 +00:00
bjh21
6744ec9f53
Include locore.S in the main assembly mkdep.
2000-07-20 20:26:32 +00:00
bjh21
b5d3226a07
General tidying up, notably:
...
- Get the Ethernet address from the card's description string, rather than
relying on RISC OS to set it.
- Don't mention this is a SEEQ8005 -- that's all an "ea" can be.
- Use format_bytes to display the amount of buffer RAM.
2000-07-20 20:25:10 +00:00
thorpej
9c881e00cb
Add a SIOCGIFCLONERS ioctl, which fetches a list of network
...
interface cloners from the kernel.
2000-07-20 18:40:26 +00:00
jeffs
2ebdfcd251
Make pmap_prefer() use a global setting based on cache size
...
instead of assuming 64KB. This allows best fit and will
support bigger caches.
2000-07-20 18:33:40 +00:00
jeffs
c8b819c2ed
Include kgdb hooks in trap.c. Include bits of DDB code for kgdb also. Remove
...
some local prototypes that are in headers now.
2000-07-20 18:14:46 +00:00
pk
4badffe2c1
For now, alias `network' to `hme'.
2000-07-20 16:29:03 +00:00
ad
b60bcd873d
Regen.
2000-07-20 14:47:35 +00:00
ad
d3b42c18e4
Add what is apparently ESS's old vendor ID and corresponding product ID for
...
the Maestro 1.
2000-07-20 14:46:51 +00:00
pk
71169064c4
Since `intrcnt' points to an array of long ints, reserve the appropriate
...
amount of space depending on _LP64. Provide macros to load/store signed
and unsigned long ints.
Also, make the `intrcnt' and `intrpending' arrays 16 entries long, as on
sparc/v9 interrupt #15 is just a regular interrupt.
2000-07-20 13:28:39 +00:00
bouyer
6e88d58524
Make it compile when PCIIDE_AMD756_ENABLEDMA is defined. From kern/10555
...
by MURATA Shuuichirou.
2000-07-20 12:19:41 +00:00
nisimura
7d6022a0db
version[] string was const'ifed. Pointed out by Izumi Tsutsui.
2000-07-20 08:29:41 +00:00
tsutsui
83f94dc417
Regen.
2000-07-20 07:11:28 +00:00
tsutsui
4af0fbdb1a
Add PMAG-JA framebuffer.
2000-07-20 06:38:39 +00:00
deberg
0d5d0bd93a
don't define LIST_FOREACH, it's in sys/queue.h now.
2000-07-20 03:47:56 +00:00
deberg
23f2392b19
don't define TAILQ_FOREACH, it's in sys/queue.h now.
2000-07-20 03:44:46 +00:00
deberg
6d22be08eb
add *_FOREACH() and {TAILQ,CIRCLEQ}_FOREACH_REVERSE() macros from
...
freebsd. fix some of the comments up top.
2000-07-20 03:36:38 +00:00
jeffs
d8d3c52075
Move masked status and instr into jal cpu_intr delay slot.
2000-07-20 00:43:07 +00:00
mjacob
c47c527343
add some more CTIO flags
2000-07-19 22:19:23 +00:00
mjacob
0615788781
zero result queue entry when done if debugging.
...
don't do an isp_notify_ack if we're not at run state.
2000-07-19 22:19:00 +00:00
mjacob
93379fb341
fix mislabelled error case
2000-07-19 22:18:02 +00:00
jeffs
5938072101
In FPU excepton code, send SIGILL if no one claims the instruction.
...
SIGFPE is still delivered where appropriate.
2000-07-19 22:05:02 +00:00
ragge
96122c2884
Do mtpr(0, PR_TBIA), not mtpr(1, PR_TBIA). This has worked on all CPUs
...
except for KA88.
2000-07-19 21:08:06 +00:00
jeffs
64d555c075
Improve outofworld: to include the vaddr. Removed unused mips3_Set64bit
...
and an #if 1.
2000-07-19 20:46:00 +00:00
matt
b14e1fbbd4
Tpyo
2000-07-19 20:29:45 +00:00
bjh21
f079e15d48
- Remove asc driver, since it doesn't work
...
- Reduce maxusers to 2
2000-07-19 19:41:48 +00:00
jeffs
32ee71ac65
Fix stacktrace() to have an 8 byte aligned stack. On our platform previously
...
it would hang-up. logstacktrace() actually was the same as stacktrace() so
just make it an XLEAF() for now. Include some DDB code for KGDB compilation.
2000-07-19 18:56:36 +00:00
jeffs
8b8bf4501b
At the start of the kernel, keep the MIPS3_SR_DIAG_BEV setting
...
on mips3 systems, until the kernel actually hooks the vectors.
This makes it easier to debug early problems if the firmware
has provides an exception handler.
2000-07-19 18:38:41 +00:00
matt
38c659cca5
Include ELF support by default.
2000-07-19 18:29:21 +00:00
matt
8e9ff5814e
More ELF changes (a.out still works).
2000-07-19 18:15:01 +00:00
thorpej
9faf26ffb5
This file is obsolsete.
2000-07-19 17:39:57 +00:00
bjh21
8c2ce5b135
New configuration, based on GENERIC, but small enough to fit on a system
...
with 4Mb of RAM (I hope).
2000-07-19 16:39:30 +00:00
pk
f9e6c9cf42
Fixx off-by-one error in handlereset().
2000-07-19 16:07:00 +00:00
eeh
6996dd8691
Fix merge problem.
2000-07-19 15:48:25 +00:00
eeh
25f8633edd
Add an option to poll the ROM console from hardclock you can break into DDB
...
even if callouts are disabled.
2000-07-19 15:41:53 +00:00
nathanw
e72ba11928
In cpu_switch(), load value *after* checking that the base register
...
is not NULL.
2000-07-19 14:00:24 +00:00
nathanw
554019cd4b
More printf format munging for off_t: when printing as %lld, cast to long long.
2000-07-19 13:44:24 +00:00
tsutsui
5867f914e8
Add (commented out) "options TCVERBOSE".
2000-07-19 10:42:22 +00:00
mrg
e3fc09812a
make myetheraddr() work even if the clock hasn't been setup yet
2000-07-19 10:20:09 +00:00
augustss
00cafd0569
Add MIDI support. From Tatoku Ogaito.
2000-07-19 09:58:45 +00:00
onoe
0ab524f389
moved the check priviledge for SIOCS80211NWID from each driver to ifioctl().
...
it also fixes the problem that non-priviledged user can change nwid
for wi and ray drivers.
2000-07-19 06:00:39 +00:00
eeh
422e1b7236
Disable interrupt interlock using ih->ih_pending field. Seems to cause
...
more problems than it solves.
2000-07-19 04:36:42 +00:00
matt
69a9192fb8
We need strncasecmp.c now.
2000-07-19 03:56:38 +00:00
matt
237e784779
ELFify
2000-07-19 03:48:24 +00:00
eeh
625dc5189f
Miscellaneous cleanup.
2000-07-19 03:24:07 +00:00
matt
d66b7dcc2d
Switch to loadfile instead of exec. Now we can load a.out or ELF kernels.
2000-07-19 02:39:11 +00:00
matt
ad99ca5ed2
use size_t instead of u_int.
2000-07-19 01:02:52 +00:00
matt
ab5d2882a0
Move KA630 definitions from boot/boot/consio.c to here.
2000-07-19 01:01:58 +00:00
matt
15c6bb6dbd
ELFify (udiv -> __udiv, urem -> __rem)
2000-07-19 01:01:02 +00:00
matt
732a08c3c3
Put the assembly consio routines in a separate file so it can deal with
...
a.out/ELF differences.
2000-07-19 00:59:20 +00:00
matt
9b4c867626
Add support for loading a 2nd stage boot in either a.out or ELF.
...
Add support for loading a 2nd stage boot directly to it's desired address
if possible.
cleanup use of u_int/size_t.
2000-07-19 00:58:23 +00:00
eeh
067b7521b5
Fix PIC bugs.
2000-07-18 22:38:11 +00:00
lukem
b1fcf03d7f
freebsd kqueue implementation
2000-07-18 22:11:54 +00:00
jeffs
ddc66457b1
Same change in the kgdb code as was done in ddb:
...
Move platform db_trap callback from arch/mips into ddb as suggested by
jhawk. This callback is used by platform code to manage things like
watchdogs that should be disabled while in ddb. Done as a callback
for processors such as mips that support lots of different systems.
2000-07-18 21:49:08 +00:00
jeffs
9349a51d66
Provide some info on what db_trap_callback() is for in the code.
2000-07-18 20:51:07 +00:00
pk
59a7148fe9
address casts: long -> u_long
2000-07-18 20:19:56 +00:00
pk
db76bf893e
Cast pointer to `u_long' (not `long') for correct results.
2000-07-18 20:15:36 +00:00
pk
602e908589
Correct args usage comment in probeget.
...
Whitespace cleanup.
2000-07-18 20:14:45 +00:00
pk
1d14ce3842
probeget: 9 -> 0x9
2000-07-18 19:27:57 +00:00
pk
c0e91fb184
If `ih_pending' is set simply return from the trap, don't schedule another
...
soft interrupt.
2000-07-18 19:25:26 +00:00
ad
7d1b0e5b39
Use device_lookup() and ditch TAILQ sillyness.
2000-07-18 15:27:44 +00:00
onoe
47f692248f
add WEP support also for PRISM2 cards.
...
Corega works fine with WEP, but farallon doesn't work well with WEP for now..
2000-07-18 15:01:55 +00:00
itojun
65d37eff7f
correct RFC2367 PF_KEY conformance (SADB_[AE]ALG_xx values and namespaces).
...
sync from kame.
WARNING: need recompilation of setkey(8) and pkgsrc/security/racoon.
(no ipsec-ready netbsd was released as official release)
2000-07-18 14:56:42 +00:00
onoe
905b4e497f
Add support for Corega Wireless LAN PCC-11, and Farallon SkyLINE 11Mb.
...
Note that Corega card works at 3.3V only, then it requires cardbus code
for now.
2000-07-18 14:53:26 +00:00
onoe
4a2a3bf091
Add Farallon SkyLINE 11mb card as Intersil Prism2
...
vendor:product of the card is Lucent:WaveLAN, and CIS string shows
"INTERSIL" "HFA384x/IEEE"...
2000-07-18 14:48:10 +00:00
onoe
0dbbd8cec4
implement new signal syscalls in FreeBSD 4.0-RELEASE, using native syscalls:
...
sigaction, sigprocmask, sigsuspend, and sigpending.
2000-07-18 14:15:05 +00:00
pk
a49fddc9b3
openfirmware: don't lower %pil
2000-07-18 12:52:56 +00:00
matthias
9cb57a12a7
Change KERNBASE to 0xe0000000 to give more room for KVA. This is the maximum
...
amount of KVA that is supportable on the ns32532.
2000-07-18 12:45:49 +00:00
soda
36b85ab9c7
hexadecimal constant in "options" value doesn't need quotation.
2000-07-18 11:41:32 +00:00
soda
87b0dd6e6a
make PCIBIOS_IRQS_HINT patchable.
2000-07-18 11:37:56 +00:00