Commit Graph

438 Commits

Author SHA1 Message Date
phil
042a0e2c63 remove warnings in pmap.c 1995-04-27 07:19:09 +00:00
phil
83e651c4c4 scntty & reorg using softc stuff. 1995-04-27 07:18:02 +00:00
phil
a186461a00 conf.c: ptstty ...
machdep.c: setregs parameter type change, remove warnings
process_machdep.c, pmap.c : remove warnings
1995-04-27 07:16:31 +00:00
christos
de42a28a1b - added sunos_machdep.c for sun3, atari, amiga and mac68k.
- changed machdep.c and trap.c to use struct emul.
- remove ep_setup references.
- added struct emul to all emulations.
1995-04-22 20:24:40 +00:00
phil
83d1965cc0 Remove the "#if 0" around vfs_unmountall(). 1995-04-21 20:20:15 +00:00
phil
c42a783b23 Add scncnpollc. 1995-04-21 18:36:32 +00:00
phil
6fbf1113f7 Fix a mycroft typo. 1995-04-20 07:16:30 +00:00
mycroft
4439f3b5f6 Remove deprecated prober/probew/kernacc/useracc. 1995-04-11 20:01:43 +00:00
mellon
df78dbb096 Reference cninit.c as well as cons.c 1995-04-11 09:52:11 +00:00
mycroft
e25c1817cf kernel_pmap --> pmap_kernel() 1995-04-10 13:08:28 +00:00
mycroft
22cefc03bc Bring back pmap_kernel(), for now always inlined as a pointer to
kernel_pmap_store.
1995-04-10 12:41:29 +00:00
mycroft
127e0761c9 Add mmopen(), mmclose(), and mmmmap() where appropriate. Lock vmmap when
needed.  Make types consistent.
1995-04-10 11:54:47 +00:00
mycroft
d751b03236 Minor consistency nits. 1995-04-10 10:01:40 +00:00
mycroft
7e450d5085 device.h is defunct. 1995-04-10 07:50:42 +00:00
mycroft
14241df959 Update for conf.h. 1995-04-10 07:43:49 +00:00
jtc
71ab4ed9dc KERNEL -> _KERNEL 1995-03-28 18:13:48 +00:00
cgd
fa2133533d invoke ktrsyscall with (vp, code, argsize, args) as args. 1995-03-26 08:03:29 +00:00
jtc
f86410093b Changed name of __weak_reference() to __indr_reference(). They really
are indirect references, and I want to add a real __weak_reference()
macro to <machine/cdefs.h> soon.
1995-03-23 19:58:48 +00:00
jtc
d57fb977bb Added -D_KERNEL to CFLAGS alongside each -DKERNEL. 1995-03-23 19:46:18 +00:00
cgd
b8403d582b don't be so quick to cast macro arguments to unsigned; if the
arguments are really off_t's (e.g. to btodb), then you can lose
information.  This was the "> 4G file systems don't work" bug; physio
uses btodb, which was broken.
1995-03-18 07:22:43 +00:00
mycroft
2f805fa51b copy*str() should use size_t. 1995-03-09 12:05:21 +00:00
mycroft
4c34be6b52 Clean up deleted files. 1995-03-01 00:00:00 +00:00
phil
3a293934a9 Increase the VM limits and initial sizes limits. 1995-02-14 18:52:29 +00:00
phil
ef1389111f Do what it takes to make vnd a swap device :) 1995-02-12 03:53:45 +00:00
phil
5b95a4a41e Fix from Matthias for device closing. 1995-02-08 17:45:09 +00:00
phil
255317cd59 Update it! 1995-02-03 18:34:11 +00:00
jtc
830a53e394 ANSI says that <stdarg.h>'s va_end macro must expand to a void expression.
For consistancy, I'm changing <varargs.h> too.
1995-01-28 01:51:46 +00:00
cgd
b56a5f27d4 add 'maxpartitions' keyword as first 'intesting' thing in the file, to
facilitate the solution of config.new's hardcoded partition number
problems.
1995-01-25 20:45:33 +00:00
cgd
4cc138dd7a vn -> vnd renaming, for consistency 1995-01-25 05:34:51 +00:00
cgd
2ef4ca1f3d vn -> vnd renaming, for consistency 1995-01-25 04:48:07 +00:00
phil
0c91149a15 Do a shorter cache invalidate. (from Matthias) 1995-01-22 07:06:48 +00:00
mycroft
381715c52f Clean up deleted files. 1995-01-19 07:03:40 +00:00
phil
8579e47846 move nncr.c -> ncr.c, nscn.c -> scn.c 1995-01-19 07:03:35 +00:00
phil
770fe02aad change file names in clean for config.new. (nncr.c -> ncr.c, nscn.c -> scn.c) 1995-01-19 07:02:31 +00:00
jtc
9540190d45 This file, which will be included by <sys/cdefs.h>, will contain macros
such as __warn_references() and __weak_reference() which are actually
machine dependant.  This will make it easier for ports that are being
bootstraped with ELF and ECOFF based toolchains.

This change also introduces a new macro, _C_LABEL(x).  _C_LABEL expands
its argument, an identifier, to a character string of the identifier
name as it is represented in an object file.

For most ports, _C_LABEL(x) will expand to "_x", for ELF based ports
_C_LABEL(x) will expand to "x".
1995-01-19 01:38:36 +00:00
phil
3b18e56333 Add the fast console ram disk config. 1995-01-18 22:18:00 +00:00
mycroft
16489b2c3a Clean up deleted files. 1995-01-18 08:17:23 +00:00
phil
9ac887e591 Move to config.new (get ram disk working correctly), add lpt driver. 1995-01-18 08:14:29 +00:00
phil
dcb56cc3c5 Move to config.new, add lpt driver. 1995-01-18 08:13:29 +00:00
jtc
d7a8b2964f Only define sig_atomic_t when _ANSI_SOURCE is defined. 1995-01-10 19:01:00 +00:00
phil
053d0c603b add xs->resid = 0; to ncr5380_scsi_cmd(). 1995-01-09 08:18:43 +00:00
phil
4372c10cea Fix the inittodr bug. 1995-01-02 04:20:58 +00:00
phil
191f87cc1e the lpt driver by Matthias Pfaller. 1994-12-30 07:31:27 +00:00
phil
f082f22fee type on microtime and remove printf in dk_establish. 1994-12-30 05:09:00 +00:00
phil
7fd629ada2 First try at catching up with generic scsi code. 1994-12-30 01:40:01 +00:00
phil
0ad6b56de9 Fix it to work correctly with weird structures. 1994-12-29 19:43:52 +00:00
phil
befb0a21f3 add tun device. 1994-12-22 08:33:41 +00:00
phil
87efeb2886 cache flushing changes, core dump changes 1994-12-22 03:24:07 +00:00
phil
83c5692e19 Move to config.new, genassym static 1994-12-22 03:23:20 +00:00
cgd
e5049f4d59 make the definition of _JBLEN mach. dep. header-dependent. 1994-12-20 10:36:27 +00:00
phil
2fc0cde6e2 get "make depend" working. 1994-12-16 18:00:36 +00:00
mycroft
d42a8b725e Remove extra arg to d_open. 1994-12-14 19:10:08 +00:00
phil
cef7e3d0dc Changes from Matthias P. 1994-12-09 21:04:40 +00:00
phil
008d895ed1 config.new changes and sendsig change. 1994-12-05 19:27:38 +00:00
phil
51aa2cad2b USPACE change. 1994-12-05 19:27:20 +00:00
phil
dedd59e3c2 Twiddles to ge config.new working. 1994-12-05 19:26:56 +00:00
phil
0503a7c8a8 Fixed a bug in resettodr that set the month to 13 in the hardware clock! 1994-12-05 19:14:27 +00:00
christos
40abc70ce2 changed open prototype 1994-11-14 05:55:23 +00:00
cgd
dafacba9d5 new RCS ID format. 1994-10-26 08:23:50 +00:00
phil
97ad3ec4b8 fixes from Matthias. splimp and other stuff. 1994-10-21 07:03:57 +00:00
cgd
d4bf824ec2 update for new syscall args description mechanism 1994-10-20 05:17:21 +00:00
phil
20cb927177 add timezone support to inittodr (thanks to Phil Budne)
add a working resettodr (ditto)
rcs header
1994-10-19 17:15:16 +00:00
jtc
8c34217adb The ns32k uses IEEE, not vax, floating point arithmetic.
Adjusted constants appropriately.
1994-10-18 00:25:27 +00:00
cgd
f501e4e128 make <stdarg.h> a symlink, and clean up ports' stdarg.h and varargs.h files. 1994-10-15 04:57:29 +00:00
cgd
49c34d3337 move arch dependence to archs. clean up a bit. deal with weird MAXPARTITONS. 1994-10-14 18:26:22 +00:00
phil
a412f1e2db Get it to compile again. (agree with sys/ptrace.h) 1994-10-06 06:07:28 +00:00
jtc
badcc17a6d Add constants required by XPG3 1994-10-05 17:16:29 +00:00
phil
e4cfedf094 *SIGH* use the netinet version of in_cksum.c. Now tcp works on the pc532. 1994-09-25 04:23:17 +00:00
jtc
47b84c16db asm -> __asm (PR #463). 1994-09-10 01:19:45 +00:00
cgd
cefdccbf31 changes for the new sys_process.c, and some cleanup 1994-08-15 16:37:04 +00:00
phil
76987b5103 Clarify author and state of source. 1994-08-08 18:42:53 +00:00
phil
c343ac2001 It is about time to add this. 1994-08-08 04:51:03 +00:00
mycroft
558c00c001 Fix spelling of `STEREO'. 1994-08-05 22:56:19 +00:00
phil
000c57f728 fixed cdev vn config. *sigh* 1994-08-02 23:39:59 +00:00
phil
11bf31e8d7 add vn 1994-08-01 23:44:08 +00:00
phil
f9b2f20e7d proc_machdep.c => process_machdep.c 1994-08-01 22:58:42 +00:00
mycroft
f21e020e59 Clean up deleted files. 1994-08-01 22:57:01 +00:00
phil
787f57c486 name change. 1994-08-01 22:56:59 +00:00
phil
3ef27456a5 patches from Matthias Pfaller. 1994-08-01 19:32:52 +00:00
phil
9ef2196623 missed a f. 1994-07-31 15:50:52 +00:00
phil
1b0b6abb28 add target install to Makefile 1994-07-24 20:29:45 +00:00
phil
022d9d6300 Fix my sync() error in boot(). 1994-07-20 20:50:39 +00:00
cgd
3fbc338a62 define __BIT_TYPES_DEFINED__ for compatibility with things like BIND and nvi 1994-07-20 05:44:19 +00:00
phil
eaaed0e51e removed a "debugging" printf in pagemove. 1994-07-13 15:09:15 +00:00
phil
741394dc40 Fixing the dumb swapdev bug. 1994-07-13 07:08:18 +00:00
phil
6d82a5754b I missed this change a while ago. 1994-07-10 17:21:56 +00:00
phil
bfeb27c384 state save for config.new stuff 1994-07-01 04:25:48 +00:00
phil
9ccf79aae9 param.h: make #include conditional on KERNEL
vmparam.h: remove MINFREE ...
1994-07-01 04:25:20 +00:00
phil
ec163683a8 State save on work to get config.new working. It is close. 1994-07-01 04:23:57 +00:00
phil
8c1fd46d99 <scsi/xxx.h> => "../../scsi/xxx.h" for use with old conf and "pc532 special
scsi."  As soon as config.new is working on the pc532, pc532/scsi should
disappear.
1994-06-30 01:12:44 +00:00
deraadt
50b13742e4 _MACHINE_VARGS_H_ 1994-06-29 00:45:01 +00:00
phil
55485b69fe Checkpoint: closer to having config.new working with the pc532 1994-06-26 15:00:39 +00:00
phil
e64c23ff7e Checkpoint: closer to having config.new working with the pc532
These files should go away some day, but for now, to allow both
config and config.new to work at the same time ...
1994-06-26 15:00:06 +00:00
phil
2f40172e20 Checkpoint: closer to having config.new working with the pc532 1994-06-26 14:58:53 +00:00
phil
c0c42e4703 Makefile: fs changes
others: Start move to config.new
1994-06-17 07:09:39 +00:00
mycroft
90c519034d Clean up deleted files. 1994-06-05 06:37:50 +00:00
phil
c6d9e1ae96 Blow away last bits of icode. 1994-06-05 06:37:34 +00:00
phil
1c6336eec1 conf.c: new style
others: new init && clean up
1994-05-31 21:54:31 +00:00
phil
dc474fc5fe new init 1994-05-31 21:53:31 +00:00
phil
3e6203f54d boot from ufs program from Phil Bunde. 1994-05-30 19:58:42 +00:00
phil
237b9f1381 We need one. 1994-05-26 23:48:00 +00:00
phil
80678da8e7 4.4 integration (VM and others) and cleanup. 1994-05-25 00:03:06 +00:00
phil
9a848c126d 4.4 integration 1994-05-25 00:02:24 +00:00
phil
0c2481bc69 Kill maxfdecs. 1994-05-25 00:00:48 +00:00
phil
42fb05a042 Various ... reg.h changes, bug fixes, cpu_switch, ... 1994-05-20 06:44:26 +00:00
phil
a69b1b6104 Change defines so they won't conflict with other things. 1994-05-20 06:43:46 +00:00
phil
7b9d057505 Yet another one. 1994-05-20 06:43:12 +00:00
mycroft
08ac489a9e Clean up deleted files. 1994-05-17 17:31:43 +00:00
phil
54b24193e2 The "kitchen sink" update ... proc.h, signals, profile, setrq=>setrunqueue ... 1994-05-17 17:31:03 +00:00
phil
7d7d0eedfe moved pc532/pc532/icu.h to pc532/include. 1994-05-17 17:29:34 +00:00
phil
b4d3cf9bc2 Removing minix hack. 1994-05-17 17:28:36 +00:00
cgd
dd37e7f51f copyright foo 1994-05-17 02:17:17 +00:00
cgd
9b78e48fcf (almost) upgrade to latest versions, for phil 1994-05-17 02:12:16 +00:00
phil
4e523f8ddb clock.c/mem.c: real time clock detection fix/config change
pmap.c: zap mmap
1994-05-03 07:30:30 +00:00
phil
cbe2aab3b2 changes for shared libs and fast ntoh*/hton* routines. 1994-05-03 07:29:37 +00:00
mycroft
650e19b16d Clean up deleted files. 1994-05-03 07:27:06 +00:00
phil
4cf1fbc402 configuration name changes, cleanup on the Makefile 1994-05-03 07:26:59 +00:00
phil
128ceab54f Sigh .. forgot to kill one .globl 1994-04-26 20:47:46 +00:00
phil
fe9c815e20 using the "autoboot rom", the pc532 will now actually reboot ... locore.s can
now stop mapping and rerun the monitor as if the machine just had power
applied.
1994-04-26 20:46:40 +00:00
phil
6275189adf locore.s: attempts to get back to the pc532 rom monitor
machdep.c: debug cleanup and queues change
1994-04-25 18:13:41 +00:00
phil
8c0d7c128f Squash! Got that bug!
scn.c -- removing debugging on line 1
scnreg.h -- don't turn off the other line's interrupts!!
1994-04-21 22:31:32 +00:00
phil
ac0d47bf4e Forgot the copyright. 1994-04-19 17:18:31 +00:00
phil
da19ea4f05 changes for shared libs, new vm code, and debugging stuff for the
machdep.c routine that runs unmapped at the start of boot.  (The debugging
stuff should go away, but this is the 2nd time I had to write umprintf.c, so
I want it saved.)
1994-04-19 17:14:13 +00:00
phil
b7685a8087 changes for shared libs ... now saving sb register (as I should have all along) 1994-04-19 17:11:16 +00:00
phil
6c6a8ee7de minor clean up. 1994-04-19 17:10:34 +00:00
phil
a27d75afd8 patch to get sverre's disk working (Old scsi code) 1994-04-17 07:53:54 +00:00
phil
e983a66a6c New format for shared libs. 1994-04-17 07:53:25 +00:00
phil
08cc626223 first (incomplete) attempt to get cts/rts working 1994-04-17 07:52:15 +00:00
mycroft
bfe2b586a2 Clean up deleted files. 1994-04-17 05:45:47 +00:00
phil
a30a1056dc Cleanup of configs and adding COMPAT_09 1994-04-17 05:45:40 +00:00
phil
374d83bd64 KTRACE and syscall debug clean up. 1994-04-06 06:33:21 +00:00
phil
951784dda0 genassym.c: %c => %d
trap.c: added __syscall
1994-04-05 17:37:41 +00:00
phil
76be62770b Old scsi code until the pc532 port can be made to use the new scsi code 1994-04-01 23:18:05 +00:00
phil
f58e820881 autoconf.c,locore.c: changes for setroot()
disksubr.c: removing some debugging code
machdep.c: changes to boot() for file syncing (uncommenting an #if 0)
1994-04-01 23:16:54 +00:00
phil
3626d9a416 Makefile.pc532: removing work-arounds for minix
files.pc532: adding pc532/scsi to get temporary access to old scsi code
1994-04-01 23:14:54 +00:00
phil
5641eba25c various and sundry changes
bcopy.s: added ovbcopy / made bcopy same as ovbcopy
in_cksum.c: completely new (sparc version)
1994-03-22 00:18:25 +00:00
phil
130bf68fa5 ncr: try to get it to recognize slower devices
scn: mode it closer to i386 version
1994-03-22 00:15:21 +00:00
phil
1c6250a371 Small changes to get them current and useful. 1994-03-22 00:12:40 +00:00
phil
9c07c19e94 Adding a delay in the check processing that lets it find some slower devices. 1994-03-17 01:02:34 +00:00
cgd
f5a57afb87 add basic integral types (a la sparc port) that new nvi wants. 1994-03-14 02:11:32 +00:00
mycroft
dbe6344515 Clean up deleted files. 1994-03-10 21:40:07 +00:00
phil
41217f580c adding ovbcopy to bcopy.s and new random.c for network support.
disksubr.c removed dos type disklabel check, icu.h - splimp change
locore.s -- network changes
1994-03-10 21:39:56 +00:00
phil
92f7fca836 Allowing pseudo_dma and cosmetic changes. 1994-03-10 21:35:48 +00:00
phil
573413edb2 Various changes ... new file pc532/random.s, minor updates to config files 1994-03-10 21:35:14 +00:00
ws
ce516ff13d Make FFS optional 1994-03-09 21:21:37 +00:00
phil
28a4cae003 Changes to add a real console driver. 1994-03-08 19:47:51 +00:00
phil
46dccadb76 Little changes ... locore => fixed a setrq bug that was causing kernel panics. 1994-03-01 22:23:15 +00:00
phil
e082e0b31d Changes to get the first working scsi driver (ncr.c) for the pc532. 1994-02-23 07:59:03 +00:00
phil
08a88e813d Changes to get the "ncr" driver in the tree. Still trying to get a working
scsi driver.
1994-02-22 22:54:42 +00:00
phil
bb05aff977 One more attempt to get the end of DMA stuff right for the dp driver. 1994-02-21 06:44:14 +00:00
phil
d3751424a3 New snapshot of the dp files, scn changes due to change in ttioctl call. 1994-02-21 06:43:27 +00:00
phil
df19e97b98 Changing the calls to hardclock and softclock to send pointers. 1994-02-02 08:04:30 +00:00
phil
8fbd63c63c Twiddles to keep the pc532 port compiling. 1994-02-02 08:02:45 +00:00
jtc
5235180083 Fix spelling error in Copyright notice 1994-01-28 23:43:26 +00:00
phil
fe7f9b549e pmap.c: Fixing a pmap bug in that not enough page table directories were
allocated.
proc_machdep.c: catching up with current.
1994-01-28 03:47:57 +00:00
phil
cb8ca38d99 Catching up with current. Basically a new file. 1994-01-28 03:44:07 +00:00
pk
24e4cb4bad move varargs stuff to arch/<machine>/include. 1994-01-27 00:18:18 +00:00
phil
951bc35247 added the missing semicolon. 1994-01-14 09:03:59 +00:00
phil
0e490a71f1 New file for ptrace support. Will be corrected for the pc532 soon. 1994-01-14 08:12:29 +00:00
phil
3a66f5a68b New file for ptrace support. Will have something in it someday. 1994-01-14 08:12:05 +00:00
phil
22b6f1e7f1 Changes to catch up with current. 1994-01-14 08:09:42 +00:00
phil
06a5cd70ad Changes for quad library and new ptrace stuff. 1994-01-14 08:09:15 +00:00
phil
eb5b7eb72c Adding line for file proc_machdep.c (will become process_machdep.c when
NetBSD/532 is self hosting.)
1994-01-14 08:08:36 +00:00
phil
424b944426 Adding MACHINE_ARCH and changing MACHINE. 1993-12-05 06:50:39 +00:00
phil
dacaea391c Updating for changes removing rtc from the pseudo devices. 1993-12-03 00:18:30 +00:00
phil
4e1f2bee45 Fixed documentation. 1993-11-04 07:58:55 +00:00
phil
f3b1236dc8 State update, still not working. 1993-11-04 07:58:29 +00:00
phil
1859a602ad Adding extra relocation information for the pc532. 1993-11-02 21:14:10 +00:00
phil
2801e221f5 Final changes for RD_SIZE -> RAMD_SIZE. 1993-10-27 06:31:06 +00:00
phil
a7a10ca319 Dealing with the "broken" _VA_LIST_ stuff. 1993-10-26 07:15:56 +00:00
phil
a47d7aceed Adding the proper stuff that I forgot. (POSIX/ANSI) 1993-10-25 06:18:47 +00:00
phil
493236e982 making the "#ifndef _MACHINE_FILE_H_" more complete and consistent. 1993-10-25 06:11:58 +00:00
phil
d5540a64d1 Added support for making libkern.a. 1993-10-20 23:53:26 +00:00
pk
14e6ea89aa Put definition of __LDPGSZ and `struct relocation_info' where they belong:
in <machine/exec.h>.
1993-10-18 09:46:56 +00:00
phil
5df59aabeb Changes for ram disk specification. 1993-10-15 22:46:46 +00:00
phil
b43476d41c Changing a bsd => bsr. 1993-10-11 18:23:17 +00:00
phil
61a498a571 Fixing the SCSI DMA EOP problem. 1993-10-05 21:37:02 +00:00
phil
46cc20d10e Fixed bug in calculation of nbuf and bufpages. 1993-10-04 16:09:28 +00:00
phil
b8234df3d9 Catching up with NetBSD current. 1993-10-01 23:01:01 +00:00
phil
404b011213 Updating to current versions. Still not working. 1993-10-01 22:59:31 +00:00
phil
893cab1278 Adding ../libkern.a to the link phase. 1993-09-23 18:25:14 +00:00
phil
3b4c805248 Various changes, including new ptrace support and modified exec support.
Some clean-up of code is done.
1993-09-13 07:26:47 +00:00
phil
5e277797c4 A change for new ptrace support. 1993-09-13 07:25:44 +00:00
phil
663f916d6d Getting past a bug that caused a "free: multiple frees" panic.
This should not be final code.
1993-09-13 07:25:06 +00:00
phil
d3da2305a5 following changes in ????pager stuff. 1993-09-13 07:23:45 +00:00
phil
23830f084c Getting the correct MID value. 1993-09-12 06:26:13 +00:00
phil
b8dd804aaf Changed MID_NS32K to the correct MID_PC532. 1993-09-10 20:02:11 +00:00
phil
e401483244 Adding the src/sys/arch/pc532 tree. 1993-09-09 23:53:45 +00:00