Commit Graph

716 Commits

Author SHA1 Message Date
mycroft
897a8a7f29 Mark [hn]to[nh][ls]() with __const__, so they are subject to CSE. 1999-01-24 12:55:01 +00:00
mycroft
ec253b6315 Use __builtin_next_arg(). Fixed PR 6862. 1999-01-22 14:14:32 +00:00
ragge
08e32be08c Forgot copyright notice. Thanx, Jason! 1999-01-20 07:32:52 +00:00
ragge
cb2675ff12 Fix some void pointers. 1999-01-19 22:57:47 +00:00
ragge
bef0af5311 Allocate (almost) all interrupt vectors dynamically. Simplifies much
work when adding support for new machines and devices.
1999-01-19 21:04:47 +00:00
matt
8e06ef5a52 If using egcs, use -mno-pic to generate better code. 1999-01-17 19:09:00 +00:00
chuck
bef8ae1103 MNN is no longer optional 1999-01-16 20:49:12 +00:00
bouyer
f20d50fae4 Add byte_swap.h here too. 1999-01-16 02:31:54 +00:00
bouyer
dc306354b0 Move the bswap functions from libutil to libc (this bups the
minor of libc and the major of libutil). For little-endian architectures
merge the bnswap() assembly versions with nto* and hton* using symbols
aliasing. Use symbol renaming for the bswap function in this case to avoid
namespace pollution.
Declare bswap* in machine/bswap.h, not machine/endian.h. For little-endian
machines, common code for inline macros go in machine/byte_swap.h
Sync libkern with libc.
Adjust #include in kernel sources for machine/bswap.h.
1999-01-15 13:31:15 +00:00
drochner
35eeb3f1cd remove dummy "load_font" entries 1999-01-11 21:54:22 +00:00
thorpej
e598335d1c Garbage-collect `mbutl'. 1999-01-09 22:10:12 +00:00
augustss
fc5f9ee81d Add -Wpointer-arith warning since `void *' arithmetic is not ANSI C. 1999-01-08 19:26:12 +00:00
ragge
bc0985cb97 Make SCSI work on VS3100/m76 also. From "maximum entropy". 1999-01-06 14:54:45 +00:00
ragge
d0e7a99a8a Giant change: NBPG now set to 4k and CLSIZE == 1 for vax. This change
made a whole bunch of annoying bugs disappear; mostly depending on
bad use of NBPG in non-MD code. The VAX port was the only port that
used this historical "feature".

The CL* macros should probably go away totally, there is no reason
at all to keep them.
1999-01-01 21:43:17 +00:00
ragge
1678119a36 A little better support for 'trace' command. 1999-01-01 21:25:03 +00:00
ragge
6036a3463e Fix bufpages miscalculation. At the same time, make bufpages configurable
att compile time.
1998-12-19 20:06:36 +00:00
ragge
75c1333e8e A "return 1" should be "return 0". Caused machine to crash as soon as
it started paging.
1998-12-19 20:03:23 +00:00
kleink
1b6a24c1d4 Support for compound statements enclosed in parenthes to appear as
expressions is a GNU C extension; mark as such them with __extension__ to
suppress portability warnings.  Addresses kern/3562 and misc/6185, as suggested
by Dave Sainty <dave@dtsp.co.nz>.
1998-12-16 11:11:02 +00:00
ragge
5fb70e2fcc Use vt100 console emulation instead of sun. :-) 1998-12-10 18:24:52 +00:00
ragge
3a8728fa4f Fix deadlock bug. Pointed out by maximum entropy. 1998-12-09 19:02:31 +00:00
ragge
5ff97947fe Search for NCR controllers, but not on VS4000/60. 1998-12-06 14:33:54 +00:00
ragge
fec054bd9a Simple hack to get at least PIO functionality out of the VS2000/3100 ncr5380.
Fixed by Jens Arvid Nilsson.
1998-12-06 13:55:09 +00:00
thorpej
da572a137f Argh, fix the ANSI CPP version of the a.out WARN_REFERENCES(). 1998-12-02 21:16:46 +00:00
thorpej
a6f7e0c05a Implement WARN_REFERENCES(). 1998-12-02 00:58:42 +00:00
ragge
6e9aa26bb0 Fix disk size identifier bug. 1998-11-30 22:27:32 +00:00
ragge
133ae4e0b7 Wall fix. 1998-11-29 15:12:57 +00:00
ragge
b5c0d58042 vm_offset_t -> vaddr_t. Count up memory here. 1998-11-29 15:12:23 +00:00
ragge
09cbabdb40 Don't map in unnecessary pages. 1998-11-29 15:09:10 +00:00
ragge
6c5df58799 Protect against multiple inclusion. Struct needs at least one argument. 1998-11-29 15:06:02 +00:00
ragge
dbcd5013d0 blkclr -> memset. 1998-11-29 15:04:56 +00:00
ragge
3fec5558a2 uvm_km_alloc -> uvm_km_zalloc. 1998-11-29 15:04:36 +00:00
ragge
a2d54053dc Fix (small) segv bug. Recognize in-kernel trace and breakpoint traps. 1998-11-29 15:04:05 +00:00
ragge
2298227965 Remove support to execute reno/ultrix binaries. It doesn't work, and
must be done in another way to work.
1998-11-29 15:01:49 +00:00
ragge
015d31ae8d - Save R/M bits after a page is unmapped.
- Keep track of mapping count (for statistics).
- vm_offset_t -> vaddr_t/paddr_t.
- Move away counting of available memory.
1998-11-29 14:55:04 +00:00
ragge
f07a586dc6 the btoc/ctob/btop macros must use CLBYTES, not NBPG. How this should
work in the long run is an open issue; some parts must be reworked
in a MI way.
1998-11-29 14:48:51 +00:00
ragge
c738e45cd6 Memory disk support. 1998-11-29 14:31:53 +00:00
ragge
237ff74c36 Fix kcopy fault-handler saving.
Get kernel last address from boot instead.
1998-11-26 21:21:06 +00:00
hwr
59acb69be1 Add (commented out) 'gre' pseudo device line. Feedback is welcome.
Inspired by Klaus Klein.
1998-11-25 20:30:44 +00:00
thorpej
5f0577babc Adapt to the new scsipi_adapter interface. 1998-11-19 21:43:00 +00:00
mrg
db3051d720 fix problems in many d_mmap routines:
- returned EOPNOTSUPP rather than -1.
	- no check for negative offset.
many of these fix potential security problems in these drivers.


XXX XXX XXX
the d_mmap cdev routine should be changed to have a prototype like:
	paddr_t (*d_mmap) __P((dev_t, off_t, int));

by someone!
1998-11-19 15:38:20 +00:00
oster
cf5710c839 Added a (commented out) configuration line for the RAIDframe device driver. 1998-11-16 16:44:55 +00:00
mrg
ae0c22f1b1 move vax "options UVM" from GENERIC to std.vax 1998-11-16 04:32:56 +00:00
oster
c74d32c5fc Updating of bdev's and cdev's to support RAIDframe. 1998-11-13 04:47:03 +00:00
matt
3e6d4553d9 Make DHCP/BOOTP the default for VAX net booting 1998-11-11 15:49:02 +00:00
thorpej
cabecee13c Changes to support fork_kthread():
- cpu_set_kpc() now takes void *arg third argument, passed to the
  entry point.
- cpu_fork() allows parent to be non-curproc iff parent is proc0.
  When forking non-curproc, assume its state has already been saved.
- Adjust various pieces of machine-dependent code to account of all of this.
1998-11-11 06:43:49 +00:00
ragge
f040374f11 Support for KA820 console RX50. From 4.4, ported to NetBSD by Sergey Svishchev. 1998-11-07 20:58:09 +00:00
ragge
b6158fa5e3 EGCS fixes. Implement htons as a C macro instead of asm; generates as
good code as the asm implementation _and_ can be optimized.
1998-11-07 17:22:58 +00:00
ragge
fbed93d50d EGCS fixes. 1998-11-05 19:48:04 +00:00
ragge
bee167375f EGCS fixes + TU81 fix. 1998-11-05 19:47:20 +00:00
ragge
3467859667 EGCS fixes. 1998-11-05 19:46:18 +00:00