Commit Graph

4638 Commits

Author SHA1 Message Date
phil
022d9d6300 Fix my sync() error in boot(). 1994-07-20 20:50:39 +00:00
pk
94c3db28ba Make it work for V0 proms.
First cut at two stage bootstrap.
1994-07-20 20:47:02 +00:00
mycroft
6436952bbc Fix a null pointer dereference during rename(2). 1994-07-20 07:37:25 +00:00
mycroft
dd628fd6d9 Fix potential infinite loop on empty directory blocks (not that this should
ever happen).
1994-07-20 06:09:38 +00:00
cgd
3fbc338a62 define __BIT_TYPES_DEFINED__ for compatibility with things like BIND and nvi 1994-07-20 05:44:19 +00:00
mycroft
24f8e9187d Fix a problem with write-behind causing processes to be killed occasionally.
From Rick Macklem.
1994-07-20 04:16:01 +00:00
paulus
ce6d680c66 The ppp interface now retries the mbuf allocation when it receives
a character and it doesn't already have enough space allocated.
It still needs cluster mbufs to be able to decompress VJ-compressed
packets.  It drops packets if it can't allocate mbufs rather than
taking the interface down.
1994-07-20 01:49:20 +00:00
paulus
09264a28ec Due to popular revulsion, the ppp interface now drops packets if 1994-07-20 01:40:11 +00:00
mycroft
988d22662a Implement pathconf(2). 1994-07-19 23:33:59 +00:00
mycroft
2b3a0d92f6 MDP_AST is deprecated. 1994-07-19 21:43:57 +00:00
mycroft
8e8b6c5b10 Not that it matters, but don't assume we're two's-complement. 1994-07-19 15:27:40 +00:00
mycroft
fa062570f9 Fix two more typos (identical). 1994-07-19 15:14:07 +00:00
mycroft
ffbc3c6a24 Fix typo. 1994-07-19 15:10:50 +00:00
mycroft
f8fae0f555 More redux. 1994-07-19 15:07:36 +00:00
mycroft
1656a89476 Clean up a bit:
Implement cd9660_blkatoff() and use it.
Reduce lots of multiplies and divides to shifts.
Make some macros look more like UFS.
Make isodirino() return the inumber rather than poke it into the abyss.
1994-07-19 14:14:08 +00:00
mycroft
e5fad6ece4 Remove things which are already done. 1994-07-19 11:34:48 +00:00
ws
31484b8fb4 Fix for new dirent structure 1994-07-19 11:20:40 +00:00
mycroft
f2d6bac657 Fix various bugs, from Duncan McEwan and John Kohl. 1994-07-19 05:08:55 +00:00
mycroft
901f3bbe9f Give some flags longer and more mnemonic names. 1994-07-19 04:29:55 +00:00
gwr
a5d981ea62 Conditionalize some more debugging code.
(Don't need to drop into DDB on each COW fault :-)
1994-07-19 02:45:55 +00:00
gwr
eb09e89755 Answer a silly question in a comment. 1994-07-19 02:39:18 +00:00
gwr
dc718c003d Fix the conditionally compiled code inside #ifdef NFS_BOOT_GATEWAY
and make some printf args use host byteorder.
1994-07-19 02:23:27 +00:00
paulus
e7ba8f6b5a If we can't get mbuf clusters, take the ppp interface down instead
of writing beyond the end of ordinary mbufs.
1994-07-18 23:45:33 +00:00
cgd
fb6819f643 finish updating to new vnode interface, from ws. 1994-07-18 21:38:08 +00:00
pk
fc5405fc33 do echo. 1994-07-18 18:42:06 +00:00
pk
8e2c980509 Avoid descriptor leakage. 1994-07-18 18:41:12 +00:00
gwr
f16450708d Kill some over-zealous debugging checks.
Make sure kernel maps DVMA space non-cached.
1994-07-18 15:07:18 +00:00
gwr
23e5b7b70a Add mising dependency 1994-07-18 14:59:47 +00:00
mycroft
0dd02c82cf Fix inode number generation in readdir(). 1994-07-18 13:13:46 +00:00
pk
b4a094da43 Include ffs_oldfscompat() from ffs_vfsops.c; enables booting from pre-44
filesystems (on big-endian machines).
1994-07-18 13:08:09 +00:00
mycroft
698fdf82c5 Add various and sundry options. 1994-07-18 08:34:59 +00:00
mycroft
258fcca13b For VOP_VGET(), pretend that relocated directories don't exist, for now. 1994-07-18 08:07:50 +00:00
chopps
df7dd07ad3 fix so it compiles without DEBUG. 1994-07-18 08:06:40 +00:00
chopps
f5bedfe5e9 enable CD9660, and remove DEBUG. 1994-07-18 08:05:36 +00:00
chopps
9f3700198d increase nswbuf to 3/4 nbuf instead of 1/2 nbuf. 1994-07-18 08:04:32 +00:00
cgd
8ee00127c9 deal properly with 'obj' dirs, when making boot blocks, etc. 1994-07-18 08:03:20 +00:00
cgd
17f610ec8a prototype for madvise(). it's not really implemented yet, but there's
a stub for it in the kernel.
1994-07-18 07:22:07 +00:00
mycroft
560cc3b8bb Invert the button logic. (Oops.) 1994-07-18 07:18:57 +00:00
mycroft
993ebf5d8d Clean up deleted files. 1994-07-18 07:15:50 +00:00
mycroft
07a265f1c0 Add some missing options to GENERIC, and rename. 1994-07-18 07:15:45 +00:00
cgd
511df844bb add COMPAT_44 1994-07-18 07:07:17 +00:00
mycroft
3451593ece Dorothy, I don't think we're in Utah any more... 1994-07-18 06:27:12 +00:00
deraadt
d8a9dcab90 ndqb() was broken for full ring buffers! fix from paulus. 1994-07-18 03:38:31 +00:00
chopps
fd7e6f6a49 don't hang if no floppy in system. 1994-07-18 01:37:48 +00:00
cgd
be81092ac3 fix RCS ID. *sigh* 1994-07-17 23:52:09 +00:00
mycroft
10e27106d0 Minor cleanup. 1994-07-17 19:35:32 +00:00
mycroft
ee120821cf Updated to match other drivers, and three bugs fixed. 1994-07-17 19:24:40 +00:00
cgd
c750222ef4 reenable MSDOSFS 1994-07-16 21:46:44 +00:00
cgd
ea3d9333af add MSDOSFS, DIAGNOSTIC, DEBUG 1994-07-16 21:41:11 +00:00
cgd
67f5c87f44 update from ws. make it work again 1994-07-16 21:32:06 +00:00
chopps
b655a15c00 fix a couple things pointed out from Michael. 1994-07-16 19:45:32 +00:00
mycroft
cc9da7d69f Fix failed probe message. 1994-07-16 13:45:59 +00:00
mycroft
cf21bbfd5e Make grf truly optional. 1994-07-16 13:15:03 +00:00
mycroft
45c4c93dff Clean up deleted files. 1994-07-16 11:46:43 +00:00
paulus
a02a99e328 If we don't have ethernet, nfs_boot_init reduces to just a panic.
This is so I don't get an undefined symbol compiling a kernel with
NFSCLIENT but no ethernet.
1994-07-16 11:43:12 +00:00
paulus
988b7f5158 Support for block special files with sector sizes other than DEV_BSIZE -
if the device has a disklabel with a non-zero sector size value, that
value is used instead of DEV_BSIZE.
1994-07-16 11:40:56 +00:00
cgd
b4dc71d3d9 on COMPAT_44, allow execution of 4.4BSD binaries 1994-07-16 06:43:00 +00:00
cgd
ef8de0130b move the inclusion of <machine/exec.h> 1994-07-16 06:32:47 +00:00
cgd
a7ec46ab8f use NetBSD (defined in param.h) not __NetBSD__ to allow x-compilation
with native compiler.
1994-07-16 06:26:28 +00:00
cgd
930318d5aa get device.h from the right place 1994-07-16 06:24:46 +00:00
chopps
c1771a89c3 add ed0 to GENERIC config. 1994-07-16 02:29:24 +00:00
chopps
d4d4e26055 ed driver for 8390 based ethernet boards (currently only hydra supported)
original code from Timo Rossi <trossi@bedivere.cc.jyu.fi>, some major
style changes (KNF, pull i386 comments in, et al.) plus converting to
config.new by me.
1994-07-16 02:26:05 +00:00
cgd
d7fc64af84 don't use inline, use __inline, like cdefs intends (so it can kill it if nongcc 1994-07-15 22:29:22 +00:00
cgd
17c3553caf kill bogus external declaration of time 1994-07-15 22:27:46 +00:00
mycroft
e88e13f3bb Fix a bogon relating to >16-bit addresses that I introduced. Fix up BPF
support for received packets.
1994-07-15 21:20:48 +00:00
mycroft
22b754f8e7 Fix disassembly of bit test instructions with an immediate shift count. 1994-07-15 21:11:34 +00:00
mycroft
551f7bc780 Since we're no longer using xchg instructions, there's no reason to prefer
a q reg over and other.  Also, fix some types in the case of _POSIX_SOURCE.
1994-07-15 21:10:21 +00:00
cgd
f2a351e187 make it valid C 1994-07-15 21:09:38 +00:00
mycroft
cb07d61edf Fix a fencepost error. 1994-07-14 20:58:28 +00:00
mycroft
da89cc4547 Remember to clear d_type. 1994-07-14 01:43:42 +00:00
gwr
776aa7931b Oops, I inserted that last patch in the wrong place. 1994-07-14 01:24:19 +00:00
gwr
f487cb907c Avoid trying to unmap DVMA space from pv_remove_all(). 1994-07-14 01:18:46 +00:00
gwr
357f0db25c Add "evil empire" copyright to avoid a fight. 1994-07-14 01:17:40 +00:00
mycroft
0c2e843ee1 Implement cd9660_vget(). Clean up a bit. 1994-07-13 22:30:07 +00:00
gwr
a578a56105 Remove some stupidity pointed out by Adam. 1994-07-13 18:04:46 +00:00
phil
eaaed0e51e removed a "debugging" printf in pagemove. 1994-07-13 15:09:15 +00:00
pk
35dc4aefc8 Remove debugging code. 1994-07-13 07:52:01 +00:00
phil
741394dc40 Fixing the dumb swapdev bug. 1994-07-13 07:08:18 +00:00
ws
2db64ab48d Try to pick myself up from the floor where I fell laughing. 1994-07-12 22:20:46 +00:00
cgd
65855280c7 minor cache consistency fix 1994-07-12 21:03:14 +00:00
mycroft
a28c342dee Bug fix from Rick Macklem for a problem with linking to an open file. 1994-07-12 19:46:36 +00:00
gwr
32ec36897f Fix two more bugs. Seems to work now! 1994-07-12 05:18:53 +00:00
gwr
ba188a61a0 Avoid some macro redefinitions that have appeared since exec.h
now includes exec_aout.h
1994-07-12 00:34:31 +00:00
paulus
cac095f0d0 up and running! 1994-07-11 05:37:02 +00:00
chopps
183bffdf36 fix a `bug' actually just an interface issue, cache last indirect block
to avoid geometrically increasing access time when reading files.
1994-07-11 05:07:38 +00:00
gwr
72d730bdc9 miscellaneous cleanup 1994-07-11 03:41:28 +00:00
gwr
c1e4c90429 Yes!!! Fix use of uninitialized variable in pmap_remove_range_mmu()
Add even more paranoid debugging checks (it's still sick )-:
1994-07-11 03:38:11 +00:00
gwr
7b4643faf3 Add Theo's fix for "must be one" bits in tdr2. 1994-07-11 03:31:17 +00:00
chopps
bea44f01a5 bring up to date with siop.c 1994-07-10 23:00:29 +00:00
cgd
2e82a93f57 the trunk now carries the revision 1.0A (i.e. the first revision after
1.0), because the release branch is 1.0, and when the trunk again becomes
-current, it's 1.0A.
1994-07-10 22:26:30 +00:00
mycroft
db0e00db86 Clean up a bit. 1994-07-10 17:53:12 +00:00
phil
6d82a5754b I missed this change a while ago. 1994-07-10 17:21:56 +00:00
briggs
5ec3485979 Be somewhat better at machine dependence, clean up a hair, and get rid
of addupc.
1994-07-10 16:58:05 +00:00
briggs
f8d560f187 Be somewhat better at machine dependence. 1994-07-10 16:55:53 +00:00
cgd
f3dc337d8a fix done in rev. 1.23 over again. it was clobbered, and problem masked 1994-07-10 05:53:25 +00:00
briggs
cacf1a1b0a Cleanup a printf, raise the probe timeout, and notice if the probe
does time out.
1994-07-09 17:21:13 +00:00
briggs
a933ab5ed1 Some cleanup and get rid of some compiler warnings. Needs more work. 1994-07-09 07:28:22 +00:00
briggs
2ff5938343 Minor hacks to get this to compile for now. ite.c now uses the proper
consdev structure to keep itself from crashing...
1994-07-09 06:49:34 +00:00
briggs
6cd891192f Move a function here from the old console.c. 1994-07-09 06:38:55 +00:00
briggs
3266a82b9f Switch to using sys/dev/cons.? instead of old hp-derived generic console. 1994-07-09 06:36:11 +00:00
briggs
687c7563fe Comment out macserinit and macinit until we can replace them. They're
for debugging before we have an initialized console, primarily.
1994-07-09 06:33:46 +00:00
briggs
0979a3d7ef Add some macros for new adb stuff from Brad Grantham. 1994-07-09 06:32:12 +00:00
briggs
d3bc60c2c5 Add ite0. 1994-07-09 06:28:16 +00:00
briggs
eaca1c00bb Rearrange to alphabetize some. Nuke old console, add new console and
ADB code from Lawrence and Brad.
1994-07-09 06:27:53 +00:00
briggs
2bb2aa0788 Nuke pseudo-device con. 1994-07-09 06:26:24 +00:00
paulus
c4006c3d35 close to working 1994-07-08 12:01:50 +00:00
briggs
4b3d50f976 Oops... Forgot to check in w/ FPSP support. 1994-07-08 11:47:10 +00:00
briggs
8afa3a3b98 Just a checkpoint. Still not close to working, but TUR works--more docs
coming today...
1994-07-08 11:38:48 +00:00
briggs
c99467f6d1 Add a constant for masking off the scsi phase from the status register. 1994-07-08 11:36:59 +00:00
deraadt
e25b08cfa8 few more things i need/want.. 1994-07-08 09:15:06 +00:00
lkestel
e934f668f1 autoconf.c: added ite.
conf.c: added ite and adb.
cons.c: replaced mac* functions with itecn* functions.
machdep.c: ditto.
1994-07-08 07:57:48 +00:00
lkestel
29f12f9bc6 6x10.h: shifted font over by two pixels.
keyboard.h: added constants for commonly used keys and reformatted
  array so that gcc would be happy.
adbsys.c: new adb system.
bounds.h: bound-checking macros.
ite.c: new built-in mini-console.
8x14.h: no longer used by built-in console.
adb.c: replaced by adbsys.c
1994-07-08 07:55:46 +00:00
mycroft
7fdb1ca08c Swap comment lines. 1994-07-07 19:31:31 +00:00
chopps
4ca4be7f46 fix typo that was blowing away MMU table root pointer on A3000's :) 1994-07-07 16:56:21 +00:00
mycroft
03ff2f15e7 Add copyright; clean up a bit. 1994-07-07 07:29:07 +00:00
mycroft
48f0b8e554 .ascii'd version of the copyright. 1994-07-07 07:28:49 +00:00
mycroft
4ebdb629aa Simplify, speed it up, and do the right thing for floating point constants. 1994-07-07 01:51:18 +00:00
mycroft
d5b1b6a1cd Rewrite an odd instruction. 1994-07-07 01:49:58 +00:00
briggs
ebefb5b706 Whoops. Forgot to make rei globl in this copy. 1994-07-07 01:46:44 +00:00
mycroft
60b6c8c0fe This #endif got truncated... 1994-07-07 01:31:00 +00:00
briggs
938fc1f67d Apparently the registers for the NCR 53c96 in the mac are laid out
the same as they arefor the 5380--15 bytes of padding between each
reg.  Define a structure for that here, now.
1994-07-07 00:29:37 +00:00
briggs
f310747381 Cast vmmap in call to pmap_enter() to satisfy compiler. 1994-07-07 00:28:14 +00:00
briggs
9e2e924213 Use newer fpsp code. Nuke lots of glue in locore.s, change vectors
directly if FPSP and move back to HP numbering for mmutype which is
used as cputype for FPSP.
1994-07-07 00:27:12 +00:00
briggs
497a776ba6 Add MMU constants. 1994-07-07 00:25:10 +00:00
briggs
b144a7a279 Revert back to old HP MMU defines so we can use fpsp w/o changes. 1994-07-07 00:24:10 +00:00
chopps
a874624a13 make disklabel code more sane 1994-07-06 20:51:14 +00:00
chopps
d4688f7275 remove stranded .globl's 1994-07-06 05:25:25 +00:00
chopps
047231b39c similar changes as the hp300 for FPSP. 1994-07-06 04:33:31 +00:00
chopps
ce933c6d23 update for FPSP changes (taken from hp300) 1994-07-06 03:56:44 +00:00
gwr
6ea87b0150 Add a fix for slow devices from Phil Nelson. 1994-07-06 02:53:39 +00:00
mycroft
f810838a9c Speed this up a bit, do multiple transmit buffers, etc. 1994-07-06 01:36:23 +00:00
glass
c06d6459bb fix cpu architecture. 1994-07-05 21:25:07 +00:00
mycroft
668c4747b3 Rename flags; clean up a bit. 1994-07-05 21:20:20 +00:00
cgd
c5bedb0aa6 fix for kern/322, pointed out by osymh@gemini.oscs.montana.edu. Neither
suggested fix was correct: the suggested change to cache_lookup would cause
the counters to be incremented when doingcache was zero, and the suggested
change to cache_enter was prone to a race condition (e.g. if doingcache
became 1 between the cache_lookup and cache_enter).
1994-07-05 19:09:32 +00:00
mycroft
923bab6d40 HPFPLIB --> FPSP 1994-07-05 18:16:43 +00:00
mycroft
eddb30ab43 Port to NetBSD, with some bug fixes and minor performance tweaks. 1994-07-05 17:56:52 +00:00
mycroft
716b96f660 Clean up deleted files. 1994-07-05 17:56:19 +00:00
mycroft
22ef5fa9e9 Import the Motorola 68040 Floating Point Software Package. 1994-07-05 17:50:24 +00:00
mycroft
8133f8819b Clean up deleted files. 1994-07-05 17:22:09 +00:00
mycroft
df5fb04d0c Remove fpsp.U. 1994-07-05 17:12:45 +00:00
mycroft
53dacdcce5 Add FPSP magic. 1994-07-05 17:11:21 +00:00
mycroft
fc6b5fa682 Redo the interface to FPSP, using the supplied glue code. 1994-07-05 17:08:51 +00:00
mycroft
1d45aaf9e2 Fix a compiation problem. 1994-07-05 17:08:16 +00:00
glass
f8fa8176cf another bad include 1994-07-05 04:24:14 +00:00
briggs
782af154d0 Need the extra byte in the temp buffer to avoid overrun in scrollup on
wide screens.
1994-07-05 03:48:56 +00:00
gwr
f4e2e49ef3 Add yet more debugging code... (but still not enough). 1994-07-05 03:45:14 +00:00
glass
a957351354 multiple include of exec.h 1994-07-05 03:26:34 +00:00
gwr
e97507bf44 Fix uninitialized local variable in get_pte_pmeg which caused
random physical pages to be unmapped, etc.
1994-07-05 03:00:37 +00:00
glass
fdbee87708 returning a gift 1994-07-04 23:25:12 +00:00
mycroft
628f44ceb3 Kill addupc(). 1994-07-04 23:20:44 +00:00