Commit Graph

5257 Commits

Author SHA1 Message Date
mycroft
537ac5465f Convert hash tables. 1994-08-19 11:25:29 +00:00
mycroft
f7c13d44bd More LIST/CIRCLEQ migration. 1994-08-18 22:47:43 +00:00
cgd
92da9d2f33 can't do ptr math on void * 1994-08-18 22:09:35 +00:00
mycroft
1785232aa9 vn --> vnd 1994-08-17 20:16:16 +00:00
mycroft
c809e30fcb No COMPAT_HPUX at the moment. 1994-08-17 20:16:07 +00:00
mycroft
24381e7f01 Validate unit number correctly. 1994-08-17 19:14:53 +00:00
mycroft
8743009944 Convert some more lists and queues. 1994-08-17 14:43:47 +00:00
mycroft
7b8734f3e8 Use LIST and TAILQ for hash chain and LRU chain, respectively. 1994-08-17 12:34:12 +00:00
mycroft
dbd174a5da Change the reply list to a TAILQ. 1994-08-17 11:41:36 +00:00
mycroft
9db57a0aa0 Fix typo. 1994-08-17 11:03:07 +00:00
deraadt
c121e1da16 add pseudo-device kbd 1994-08-17 06:22:10 +00:00
deraadt
256353ef62 multicast 1994-08-17 06:04:49 +00:00
deraadt
9f6d99b3e2 get ether_type byte order correct 1994-08-17 01:33:15 +00:00
ragge
6943478ff7 Lots of bug fixes. Generic console support added. Major changes in machdep.c.
pmap.c now supports user process mapping. Page faults handles correctly.
1994-08-16 23:47:25 +00:00
ragge
186e16d63e Minor updates of some errouneous parameters. 1994-08-16 23:41:53 +00:00
ragge
7fffc9426f genconf.c added to files.vax.newconf 1994-08-16 23:41:11 +00:00
ragge
060db389e9 Update of vax port. 1994-08-16 23:39:52 +00:00
mycroft
0c5a342fde Add vnd. 1994-08-16 19:20:14 +00:00
mycroft
da534b691a Reran makesyscalls.sh. 1994-08-15 23:49:28 +00:00
mycroft
e8b01ef8dc Add missing line. 1994-08-15 23:48:41 +00:00
mycroft
3481b6aa87 Add iBCS2 files. 1994-08-15 23:33:59 +00:00
mycroft
2b2c64b4e2 Need prototype of exec_svr4_elf_makecmds(). 1994-08-15 22:54:51 +00:00
mycroft
a82f727857 Clean up deleted files. 1994-08-15 22:47:27 +00:00
mycroft
ea999cdda2 Rename this for consistency. 1994-08-15 22:47:24 +00:00
mycroft
e2122143e9 Don't reread the blasted header. 1994-08-15 22:47:00 +00:00
mycroft
82ccfef767 Remove misplaced SVR4 dispatch. 1994-08-15 22:38:39 +00:00
mycroft
77dee53b00 Move the SVR4 dispatch here. 1994-08-15 22:36:40 +00:00
mycroft
1ec65d2465 Add iBCS2 glue. 1994-08-15 22:24:22 +00:00
mycroft
01c2a3243e Add flags for iBCS2 compat. 1994-08-15 22:19:44 +00:00
mycroft
ace234dade Add iBCS2 COFF loader. (Eventually there should be a sys/exec_coff.h.) 1994-08-15 22:17:16 +00:00
mycroft
9c4c84c97e Need ofstat() for iBCS2 syscall conversion. 1994-08-15 22:08:55 +00:00
mycroft
4566d7f5ba Need ostat() and olstat() for iBCS2 syscall conversion. 1994-08-15 22:06:47 +00:00
mycroft
d87fa72a16 Need extra stack space for iBCS2 syscall conversion. 1994-08-15 22:04:47 +00:00
mycroft
b0d890f90a EMUL_IBCS2 --> EMUL_IBCS2_ELF 1994-08-15 22:03:12 +00:00
mycroft
1147bc974e Add EMUL_IBCS2_COFF, and rename EMUL_IBCS2 to EMUL_IBCS2_ELF. 1994-08-15 22:02:20 +00:00
mycroft
77fe78350b Minor update to a comment. 1994-08-15 16:45:14 +00:00
cgd
cefdccbf31 changes for the new sys_process.c, and some cleanup 1994-08-15 16:37:04 +00:00
cgd
97bdeab31e replace with a completely rewritten version, based around the 4.4BSD
procfs.  Now the author of the old version will stop complaining that
we're using his code.
1994-08-15 16:32:41 +00:00
cgd
b48d84b629 replce with virgin copy from 4.4-Lite 1994-08-15 16:29:22 +00:00
mycroft
d980c59b98 Better fix for the previous. 1994-08-15 15:19:55 +00:00
mycroft
05c7d6e9c7 Kill stupid compiler warning. 1994-08-15 15:17:07 +00:00
mycroft
5f27568164 Eliminate struct pte and struct pde. 1994-08-15 14:46:45 +00:00
mycroft
36975ff354 Don't use altsts. Sigh. 1994-08-15 08:22:20 +00:00
mycroft
8f2482ff3d Fix `make depend' error. 1994-08-15 06:42:04 +00:00
gwr
486ad2cc03 Correct bad memory reference when dumpdev == NODEV (i.e. DISKLESS). 1994-08-14 22:47:28 +00:00
gwr
8a15866490 Just like GENERIC but gets root/swap from NFS. 1994-08-14 22:38:54 +00:00
mycroft
a618f9d915 Slight optimization, and don't go bonkers if one of the sub-devices is not
configured.
1994-08-14 14:13:25 +00:00
mycroft
a570fcd929 Re-enable EISA reset. 1994-08-14 09:43:59 +00:00
mycroft
cd2f7cc8a0 Clean up a little. 1994-08-14 09:24:55 +00:00
mycroft
06476a4e53 ccdevsw --> cdevsw 1994-08-14 07:41:08 +00:00
gwr
f23d6f0929 Add the option NFS_BOOT_RWSIZE to allow diskless boot configuration
to start with a reduced NFS read and write size (need for wd8003).
1994-08-14 03:35:27 +00:00
cgd
9561cfe8fe add a new p_emul value, clean up slightly. 1994-08-14 00:55:09 +00:00
deraadt
35ff4b995a needed for X 1994-08-14 00:13:20 +00:00
deraadt
bdf0a4caf3 fix for bug #403 from <grossman@informatik.tu-muenchen.de> 1994-08-13 08:53:38 +00:00
pk
4e501cd0bf Files with > 1 links can always be removed on the server, even if a
"silly name" exists.
1994-08-13 08:46:53 +00:00
pk
8f36af34c9 Introduce new flag. 1994-08-13 08:36:11 +00:00
pk
1b07d18247 Keep those pointers moving. 1994-08-13 08:33:51 +00:00
pk
820532e4cf Remove bogus fsstat(). 1994-08-13 08:33:08 +00:00
mycroft
4a8bf3976b Fix a problem in sync() where we might keep a stale pointer to the next mount
entry.
1994-08-13 07:05:53 +00:00
mycroft
60280d9735 Don't allow VM86 mode, for now. 1994-08-13 06:55:47 +00:00
deraadt
790f70650e add lduha & stha 1994-08-12 09:52:40 +00:00
deraadt
692c724215 un-aligned access is not cool on some processors 1994-08-12 08:57:18 +00:00
cgd
c4b592cd82 fix typo 1994-08-12 04:31:51 +00:00
cgd
8814bea1a6 kill two errant spaces. 1994-08-12 03:49:24 +00:00
deraadt
1b70fad2a5 document why this exists 1994-08-12 01:19:12 +00:00
deraadt
549e3f356d option GDB isn't valid
disable KGDB because we do not have (userland) support for it
1994-08-12 01:16:26 +00:00
mycroft
da79c879cd On probe or open, retry the READ CAPACITY once if the drive reports NOT READY. 1994-08-11 23:51:26 +00:00
mycroft
1f532b06bd char * --> caddr_t, where appropriate. 1994-08-11 23:47:51 +00:00
gwr
38cca96798 Diskless boot will now bind the local socket to a reserved port to
satisfy picky servers.  Also fix some missing initializations.
(Thanks to Chuck Cranor for PR#394 -- now fixed.)
1994-08-11 22:25:32 +00:00
cgd
5009183daf make output a bit cleaner, to satisfy mckusick. 1994-08-11 21:57:38 +00:00
mycroft
3c3258eb6d Make this work. 1994-08-11 04:54:13 +00:00
mycroft
55b11feb0a Update some comments. 1994-08-10 04:37:52 +00:00
mycroft
e079a8f355 Add ncr0. 1994-08-09 22:31:45 +00:00
mycroft
d291808d92 Add NCR and PCI files. 1994-08-09 22:24:29 +00:00
mycroft
8dbfcf9e2e Add NCR 53c8XX driver, originally from Wolfgang Stanglmeier. 1994-08-09 22:20:44 +00:00
deraadt
70a55969a1 tiny error 1994-08-09 19:55:09 +00:00
mycroft
3e685aec5c Change ST_Q_NEEDS_PAGE_0 to something more generic. 1994-08-09 18:50:17 +00:00
ws
872b3e89e0 Fix rename bug found by vdlinden@fwi.uva.nl 1994-08-09 18:44:12 +00:00
ws
865d38c0e2 Fix one of these famous off-by-one errors. 1994-08-09 17:51:29 +00:00
pk
ff05bd4bc1 Echo terminating NL too. 1994-08-09 14:00:06 +00:00
mycroft
199e2eea6a Fix handling of M-RET with PCVT_META_ESC defined. 1994-08-09 13:56:25 +00:00
mycroft
6df721be97 Add PCI autoconfiguration support. 1994-08-09 00:47:46 +00:00
gwr
dac6268e7d Added for X11 (at Theo's suggestion). 1994-08-08 21:14:15 +00:00
pk
a9b7ea6607 Only use doflush' when perftest' is #defined, as was probably intended. 1994-08-08 20:52:29 +00:00
deraadt
0e5ad5faf5 delete unused extern decl 1994-08-08 19:29:29 +00:00
phil
76987b5103 Clarify author and state of source. 1994-08-08 18:42:53 +00:00
mycroft
061c42c22d Minor update. 1994-08-08 07:09:31 +00:00
deraadt
c6a626e130 first cuts 1994-08-08 05:43:56 +00:00
phil
c343ac2001 It is about time to add this. 1994-08-08 04:51:03 +00:00
lkestel
e0b83d37fb Added Sysseg as argument to remap_MMU() so it can map the ROMs. 1994-08-08 00:14:42 +00:00
lkestel
ddd8267edb Some machines (e.g., IIcx) have '030 and map all of memory (4 gigs) with
the MMU.  Added sanity checking in the get_mapping() call to catch this
and stop at the end of RAM.  Now available RAM is min of booter-specified
amount and what the MMU maps.

Also added remap_rom() ifdef'ed out which uses early termination pte's
to map 8 megs of ROM.
1994-08-08 00:11:40 +00:00
lkestel
acb0c1ec5f Added ifdef'ed out code to map the ROM in pmap_init(). Might be enabled
later if we decide to use the ROM's for anything.
1994-08-08 00:08:47 +00:00
mycroft
59de58a39b Count up the silo overflows and only log a warning at most once per minute. 1994-08-07 11:27:51 +00:00
mycroft
9c8afcf191 Avoid using DFIFOHF, which doesn't exist on 6260 chips. Turn off
AIC_USE_DWORDS by default.
1994-08-07 10:51:40 +00:00
mycroft
b0db502d9c Remove diagnostic. 1994-08-07 10:49:06 +00:00
mycroft
d9a996a92e Add multiplexer for RT 4-port serial cards. 1994-08-07 10:45:53 +00:00
mycroft
70cc90a193 Add rtfps. 1994-08-07 10:43:56 +00:00
mycroft
b6e9bf14c8 Simplify the DEPCA memory test, and fix a problem with using the alternate
PROM address.
1994-08-07 00:56:04 +00:00
deraadt
ebd23fe5e0 cleanup 1994-08-06 23:19:39 +00:00
deraadt
4bb1df3001 maintain resident_count and wired_count 1994-08-06 22:08:32 +00:00
chopps
e18ca7a71a use tar for now until problem with pax can be solved. 1994-08-05 23:34:58 +00:00
chopps
37330ed064 mama always said to protect those macro args.. 1994-08-05 23:21:31 +00:00
mycroft
eade2eabf4 Clean up deleted files. 1994-08-05 23:16:10 +00:00
mycroft
558c00c001 Fix spelling of `STEREO'. 1994-08-05 22:56:19 +00:00
deraadt
cefefb25ca cleanup, working 32 bit IO on the 3c579, and memory alignment of insl/insw
for better performance.
1994-08-05 21:16:33 +00:00
briggs
183f4c6128 Lots of cleanup. Add functions for serial console--just stubs for now.
Fix initialization (for good this time?).
Little things.
1994-08-05 01:27:58 +00:00
brezak
62a05786ea Use installboot.sh from 4.4 instead of installboot.c 1994-08-04 19:42:16 +00:00
brezak
c2e9be0873 Make libsa compile again by not including sys/errno.h 1994-08-04 19:39:32 +00:00
ws
70b7bfcf94 Fix for endless loop on nearly full disk 1994-08-04 16:32:29 +00:00
mycroft
b5c5c47f92 Obey the command queue size for the controller. 1994-08-04 09:52:47 +00:00
mycroft
74d29b909d Disable most of the Cyrix-specific code by default; just turn off aching of
the ISA hole.
1994-08-03 22:35:02 +00:00
mycroft
3882663a9f Don't mess with Cyrix configuration bits that are hardware-specific. Move
all of the cache-enabling junk into an #ifdef.  Print a warning even if the
cache is enabled.
1994-08-03 22:11:53 +00:00
deraadt
ffb9d6e173 document cyrix configuration registers 1994-08-03 21:39:16 +00:00
mycroft
9d7eefb176 Change iosize to 16. 1994-08-03 09:17:12 +00:00
mycroft
a17171c0a2 Add a missing splx() and increase the reset delay during probe, as suggested
by Juergen Keil.  Add a diagnostic message if the controller info is not what
we expect.
1994-08-03 08:57:59 +00:00
mycroft
50a6dfb61a Actually, preserve PSL_T for debugging. 1994-08-03 06:28:10 +00:00
mycroft
0cdf874ccb Reset eflags on exec. 1994-08-03 06:26:00 +00:00
grantham
703df009b8 Multiply GMTBIAS by 60; it's in minutes, time is in seconds. 1994-08-03 06:23:10 +00:00
mycroft
5cd29a7fce Kill IOPL, dead, dead, dead. 1994-08-03 06:22:26 +00:00
mycroft
0372e53d79 Mild nits. 1994-08-03 06:03:12 +00:00
mycroft
d4a420650a Make sure CS8 is set if RAW is on. 1994-08-03 03:41:34 +00:00
briggs
d9e2b087ef Clean up a bit. Move ite to 11, generic console to 0. Add lkm stuff
to at least give it a prayer of working...
1994-08-03 02:53:36 +00:00
phil
000c57f728 fixed cdev vn config. *sigh* 1994-08-02 23:39:59 +00:00
ragge
8026fb53f2 Initial VAX port merging. 1994-08-02 20:18:46 +00:00
ragge
3fd2818a03 Added bcopy.s 1994-08-02 18:43:00 +00:00
briggs
08d96f103f Nuke holdovers from old HP300 console code. Get rid of any reference
to serial_boot_echo stuff here.
1994-08-02 17:55:24 +00:00
grantham
aa804576eb To get Greenwich Mean Time, *subtract* the GMTBIAS from our time,
passed in from Booter.  (Among its many features, MacBSD provides
time travel.)
1994-08-02 16:39:57 +00:00
ws
55211b963a Unmount the first dir, too. 1994-08-02 12:27:10 +00:00
mycroft
078c594c69 Fix this numerous bugs, including loss of OPOST mode. 1994-08-02 08:47:54 +00:00
mycroft
743c8ea38e Clear t_flags on first open. 1994-08-02 08:45:46 +00:00
paulus
da587a132a Use ld -N for linking the kernel instead of ld.old -n -P 1000. 1994-08-02 03:54:05 +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
deraadt
24a23eab66 make work 1994-08-01 19:26:27 +00:00
pk
6c9ba984e5 See to it that vm_tsize' and vm_dsize' get set up properly for
OMAGIC binaries, so obreak(2) doesn't get confused.
1994-08-01 18:49:49 +00:00
glass
7ea51310a8 add ultrix_{get,set}sysinfo() from Arne H Juul <arnej@dsl.unit.no> 1994-08-01 14:16:24 +00:00
glass
32d2a27836 ultrix_{get,set}info from Arne H Juul <arnej@dsl.unit.no> 1994-08-01 14:15:06 +00:00
glass
a3cc8f5e8d fix for obreak problem from Arne H Juul <arnej@dsl.unit.no> 1994-08-01 14:04:47 +00:00
lkestel
6f4140797f We used to disable the MMU before jumping to the ROM routine to
reset the machine.  This doesn't work on some '030s because maybe
not PA == VA where PC is.  Now if '030, don't disable MMU, just
use tt0 register to map ROM segment transparently.  Also removed
superfluous @ from new get_pte code.
1994-08-01 04:50:03 +00:00
chopps
02a49c0a18 GENERIC has AGA, otherwise some people can't run (i.e. monitors do not sync
at 15KHz).
1994-07-31 19:57:11 +00:00
briggs
22c202031c Make this assemble... pte_tmp1 -> pte_tmp and remove ref to
serial_boot_echo.
1994-07-31 19:25:11 +00:00
mycroft
45b0217c1e Fix up u14_find() a bit; mainly, don't include a DRQ for the 34f. 1994-07-31 19:21:40 +00:00
chopps
7f079c3dea fix default frequency so that normal VGA monitor types don't puke. 1994-07-31 18:42:06 +00:00
mycroft
a00c5fdb91 Add some missing newlines in the attach messages. 1994-07-31 18:25:50 +00:00
phil
9ef2196623 missed a f. 1994-07-31 15:50:52 +00:00
briggs
db27060127 serial_console passed in from booter. 1994-07-31 14:50:27 +00:00
briggs
22a76ec031 Fixup constab. 1994-07-31 14:23:33 +00:00
briggs
60df0b6e97 Add a serial console flag that's passed in from the booter. 1994-07-31 14:03:58 +00:00
mycroft
8a9df6389d Bug fixes from Mark Weaver. 1994-07-31 11:34:38 +00:00
mycroft
fc66b93a38 Fix for Cirrus Logic 542x boards, from Onno van der Linden. 1994-07-31 09:44:50 +00:00
mycroft
732acaee99 Add MAP_FILE as 0x0000, for compatibility, and to make some explanations of
how this all works a bit easier B-).
1994-07-31 08:47:46 +00:00
lkestel
1c22264669 Make internal video look like a grf device so that desktop and X can use
it.  GRFIOCMAP modifies addr to include the offset into the screen where
the first pixel is.  Not a very clean way to do it -- we should add a
field to grfinfo for offset.
1994-07-31 08:32:47 +00:00
lkestel
46bfdab4f8 Removed two useless variables. (hole_start, hole_end) 1994-07-31 08:28:32 +00:00
lkestel
ab2bb871e3 Added support for MACHINE_NONCONTIG for IIsi and IIci machines. Similar
to i386's, but more flexible to handle awkward MacOS maps.  pmap_collect()
is noop'ed out for now.
1994-07-31 08:27:38 +00:00
lkestel
a1dd8b3bd3 Added get_physical() to get physical address from logical address according
to MMU; get_mapping() to figure out how RAM and NuBus space is mapped;
remap_kernel() to remap the kernel page tables in case they were split
across memory banks; remap_nubus() to map internal video into NuBus space
where MacOS had it; and remap_MMU() to call the above.
1994-07-31 08:22:31 +00:00
lkestel
f81b696a46 Added get_pte() routine to get a pte from a logical address using ptest.
Cleaned up startup code in a big way.  Now calling get_mapping() if
'030 and MMU is on, and post-processing our page tables with remap_MMU().
1994-07-31 08:19:46 +00:00
lkestel
f6e6044227 Make GENERIC be MACHINE_NONCONTIG. 1994-07-31 07:31:45 +00:00
lkestel
82dcea7759 Fixed bug with bcopy()'ing more than 65535 bytes; initialize d_ttys and cn_tp
on itecnprobe(); other minor bug and warning fixes.
1994-07-31 06:45:50 +00:00
chopps
5903452aef remove hardcoded targets for sd0-7 now use sd*. 1994-07-31 06:41:01 +00:00
lkestel
faf8faf32f Added a few macros for keys; cleaned up; only define key array
ifdef KEYBOARD_ARRAY, else just declare it.
1994-07-31 06:33:41 +00:00
lkestel
ce200f2f92 Different pa_index() ifdef MACHINE_NONCONTIG. 1994-07-31 06:26:34 +00:00
mycroft
01d7a6c28b 0 --> NODEV 1994-07-31 04:59:36 +00:00
mycroft
6990b98c64 Patch from Onno var der Linden to fix reading and writing of 360K floppies
in 1.2MB drives.
1994-07-31 01:20:52 +00:00
mycroft
3436a4a65b Remove DIOCSDINFO completely; disklabel(8) will deal. 1994-07-31 00:47:52 +00:00
chopps
5838bf1a48 amiga boot floppy binaries 1994-07-30 19:30:30 +00:00
pk
cb1f841e18 Use PROM node properties to determine device type. 1994-07-30 14:22:11 +00:00
lkestel
f3c8dbbd87 Moved adbsys.h grfioctl.h and keyboard.h to include to make desktop
and X compile more cleanly.
1994-07-30 04:21:58 +00:00
mycroft
639939abca Clean up deleted files. 1994-07-30 04:21:48 +00:00
lkestel
774ef66058 Moved adbsys.h grfioctl.h and keyboard.h to include to make desktop
and X compile more cleanly.
1994-07-30 04:21:42 +00:00
gwr
ad138901b9 My config file for testing. 1994-07-29 04:19:59 +00:00
gwr
06d1ca40f1 Remove some overly paranoid and incorrect debugging tests. 1994-07-29 04:04:31 +00:00
mycroft
1d2563f804 Use `swap generic'. 1994-07-29 01:16:35 +00:00
grantham
cf1aabfe57 Use values from Booter to initialize time correctly for machines
without readable PRAM.  (IIvx users should be pleased.)
1994-07-29 00:52:18 +00:00
mycroft
3ed3679b67 Make this work. 1994-07-28 21:40:27 +00:00
mycroft
53f3b61cdc Redux. 1994-07-28 19:57:31 +00:00
mycroft
c405e84a24 port --> iobase 1994-07-28 09:50:33 +00:00
mycroft
e17799897e Clean up deleted files. 1994-07-28 09:05:04 +00:00
mycroft
d02e11d543 Make the EISA reset code like the other drivers. 1994-07-28 08:44:47 +00:00
mycroft
fb500c4d07 Redo some of the EISA config stuff. 1994-07-28 02:39:21 +00:00
mycroft
c1a5741a3b Remove unused macros. 1994-07-27 15:02:59 +00:00
mycroft
aeac43f556 Use the automatic IRQ/DRQ detection. 1994-07-27 14:46:34 +00:00
mycroft
5e04cfb942 Fix typo. 1994-07-27 13:24:17 +00:00
mycroft
4ac4810048 Normalize. 1994-07-27 13:14:14 +00:00
mycroft
1939acdbd2 Fix the DMA setup. 1994-07-27 13:10:33 +00:00
mycroft
1a9c6d05a3 Enable IRQ probing, and fix the DMA setup. 1994-07-27 12:57:02 +00:00
mycroft
f21c4cc68a Fix byte-order bug in printf() statement. 1994-07-27 12:36:09 +00:00
deraadt
14fe202dc4 cleanup 1994-07-27 09:57:55 +00:00
deraadt
23d08dc0be cleanup 1994-07-27 09:13:54 +00:00
deraadt
fb42f63898 bug 367. paulus says the fix is right & critical. 1994-07-27 09:05:33 +00:00
cgd
d5bc01994f include libkern.h 1994-07-27 07:58:45 +00:00
cgd
de29b5d301 get includes from sys, and define KERNEL 1994-07-27 07:40:52 +00:00
cgd
20b21822a4 use ALIGN, rather than hard-coded numbers 1994-07-27 07:39:17 +00:00
cgd
ab51cf264b make bcopy work for overlapping regions, as is standard. 1994-07-27 07:38:17 +00:00
cgd
4b0d7d9d90 get rid of someone else's bravery (stupidity) 1994-07-27 07:37:25 +00:00
gwr
9f5e7a71ae Add swapconf() to compute size of swap space, and
variables required by savecore.  No dumpsys() yet.
1994-07-27 04:51:58 +00:00
brezak
60d0f39500 Build libsa too 1994-07-27 03:10:37 +00:00
mycroft
dffcd8ea8d Enable IRQ probing. 1994-07-27 03:09:21 +00:00
mycroft
16878bf2f9 Enable IRQ probing. 1994-07-27 01:50:57 +00:00
mycroft
35b4db3030 Add IRQUNK. 1994-07-27 01:50:15 +00:00
mycroft
55be0e4936 Don't lose if the symbol table is empty. 1994-07-27 01:48:29 +00:00
mycroft
3ba1d35da1 Fix a bogon that crept in when swdevt was changed to end with NODEV. Also
change to use MAXPARTITIONS.
1994-07-27 00:21:16 +00:00
mycroft
863c736e39 Normalize label handling. 1994-07-26 19:39:19 +00:00
mycroft
1e24ff6b3b Don't modify the device number; let the driver do it. 1994-07-26 19:37:00 +00:00
mycroft
b5ce4d0cdd Normalize label handling. 1994-07-26 19:36:06 +00:00
mycroft
233b5d12f4 Make sure this runs on a 386. 1994-07-26 19:33:49 +00:00
cgd
04753d13bf kill vax code, at ragge's requeust. 1994-07-26 18:56:57 +00:00
gwr
302e9ebd74 No longer redefine CLK_TCK because JTC says the value is arbitrary
and the redefinition caused noisy warnings.
1994-07-26 18:15:18 +00:00
chopps
c2d1237e50 fix check in edintr(), do not deref NULL pointer. 1994-07-26 17:51:19 +00:00
deraadt
76bf655b77 i was sure i did this before 1994-07-26 00:16:03 +00:00
mycroft
a18c0c0d83 Look for errors in the right place in a transmit descriptor, and count
collisions.
1994-07-25 22:54:58 +00:00
gwr
529e9bf50a Add intrnames, intrcnt, eintrcnt so vmstat will work. 1994-07-25 18:28:01 +00:00
mycroft
220a5a5095 Add missing splbio()s, pointed out by Gene Stark. 1994-07-25 04:29:56 +00:00
briggs
19eaee7cf2 if DDB -> ifdef DDB to be consistent at suggestion from Steve Allen
(wormey@eskimo.com).
Also cleaned up the comments a bit for consinit().
1994-07-25 00:34:30 +00:00
mycroft
8328e78454 Don't allow the clock chip to be reset if the time hasn't been initialized. 1994-07-25 00:19:47 +00:00
glass
acb695e52e make nfs diskless work in trunk 1994-07-24 23:46:40 +00:00
glass
6187f00477 make diskless work 1994-07-24 23:04:32 +00:00
phil
1b0b6abb28 add target install to Makefile 1994-07-24 20:29:45 +00:00
mycroft
5ee1370fe1 Clean this up a bit, and separate parts of vfs_opv_init() into separate
functions.
1994-07-24 07:15:19 +00:00
mycroft
32c32a9989 Fix MOD_VFS(). 1994-07-24 03:03:42 +00:00
cgd
e4cafbc7da kill conflicting externs 1994-07-24 02:41:27 +00:00
cgd
54165a4169 only use variables which are defined. 1994-07-24 02:38:20 +00:00
mycroft
e307d33fdc Clean up deleted files. 1994-07-24 02:10:46 +00:00
mycroft
1b935ff541 Clean up deleted files. 1994-07-24 01:23:20 +00:00
mycroft
5b619bed0f Add some more constants. 1994-07-24 01:22:01 +00:00
gwr
ee7e5d368d Fix unterminated comment from when I botched the last change... 1994-07-23 03:43:01 +00:00
gwr
c53ca7b9df Fix config line, clean up. 1994-07-23 03:39:02 +00:00
gwr
a44d2310a3 Initialize p_fstype when reading Sun disklabel.
(Now I can open other partitions, mount /usr :-)
1994-07-23 03:27:28 +00:00
gwr
b9311f14dd Get rid of MDP_AST 1994-07-23 03:23:15 +00:00
mycroft
92183975ef Make sure we don't release the buffer too early. 1994-07-22 23:17:59 +00:00
mycroft
9c55cb1c79 Set the group list length when copying credentials. 1994-07-22 23:16:36 +00:00
mycroft
45f83d31c4 Make this compile with GCC 2.6. 1994-07-22 22:26:12 +00:00
mycroft
5dcf8d2fa5 Change a btrl to btl. The use of btrl is no longer necessary. 1994-07-22 07:52:50 +00:00
cgd
b1a8496f13 one too many #endif's. 1994-07-22 01:44:47 +00:00
mycroft
1c46c460ee Return EINVAL if the requested transfer size is weird. 1994-07-21 23:44:16 +00:00
deraadt
822b1d1d65 make X11R5 compile easier 1994-07-21 22:06:13 +00:00
mycroft
341769b598 Clean up deleted files. 1994-07-21 22:06:05 +00:00
deraadt
c772691a6a make X11R5 compile easier 1994-07-21 22:05:42 +00:00
mycroft
f9a027fa33 Update version number. 1994-07-21 20:34:13 +00:00
mycroft
1dda4b8dab Old fs compat. 1994-07-21 20:25:17 +00:00
mycroft
285ed388fb Give a better diagnostic message for the previous. 1994-07-21 19:05:31 +00:00
mycroft
64232122c2 Make a rather lame attempt to discover bogus directories and not get wedged
in an infinite loop.
1994-07-21 18:06:26 +00:00
mycroft
41761064b8 Implement /kern/msgbuf. 1994-07-21 10:22:20 +00:00
mycroft
fe18d806d2 Don't panic if primary swap device is not configured. 1994-07-21 07:12:13 +00:00
mycroft
e475493b73 Don't try to define BYTE_ORDER; get it from <machine/endian.h>. 1994-07-21 07:10:12 +00:00
lkestel
a185489f80 Fixed a few bugs in the key-repeat function and disabled key-repeat
when /dev/adb is closed to avoid infinite repeat problem.  Brad claims
that he's got this solved in his version...
1994-07-21 06:36:51 +00:00
lkestel
020b962ae6 Added vt100 emulation and sped up text writing, scrolling, etc. 1994-07-21 06:35:49 +00:00
mycroft
7fca65c005 Remove something which cannot possibly be correct. 1994-07-21 04:15:05 +00:00
mycroft
37dc11891c Fix a typo. 1994-07-21 03:40:53 +00:00
briggs
f954a7b0dd Make "unknown ioctl" printf ifdef DEBUG and take out an extra comma from
the format string.
1994-07-21 03:32:07 +00:00
mycroft
4469aea569 Do the EISA probing a little differently. 1994-07-21 03:30:18 +00:00
deraadt
3013b3fdbc check if eisa card exists before tromping on dma 1994-07-21 02:51:53 +00:00
briggs
47b43066ee Take -nostdinc out of INCLUDES so we can get nlist.h and a.out.h for DDB. 1994-07-21 01:49:08 +00:00
briggs
cc7e76a9a5 Put in a warning message that the driver is non-working and checkpoint
with a little bit more debugging stuffage.
1994-07-21 01:33:29 +00:00
briggs
1730b405b5 Make ALLEN a copy of GENERIC. Disable FPSP in GENERIC. 1994-07-21 01:19:41 +00:00
briggs
2ff67c7db9 Add asc as a device. Format a tad. 1994-07-21 01:00:58 +00:00
briggs
c35fccac8b Add asc0. 1994-07-21 00:59:56 +00:00
briggs
fe27023f3b Put FPSP in SYSTEM_OBJS (missed this earlier, apparently, twice). 1994-07-21 00:58:28 +00:00
briggs
46cebf15df Enable DDB, CD9660, NULLFS. Add bpfilter. Slight cleanup. 1994-07-21 00:57:33 +00:00
briggs
3a72d09550 No longer need/use root_scsi_id. Change audio to asc in probe. 1994-07-21 00:55:49 +00:00
briggs
bd55a39b1d Add ASCBase to offsets initialized in setmachdep(). Change comment for
cpu_model (slightly).
1994-07-21 00:55:07 +00:00
briggs
db146ec64c Separate init from serattach and make more machine independent by
calculating speed during init (different models of macs feed SCC with
different clocks).
1994-07-21 00:52:47 +00:00
briggs
60dc2edc69 Make this into more of a device so it can be probed and attached. Nuke
RCS/CVS Log.  Make ASCBase an offset instead of an absolute.
1994-07-21 00:44:00 +00:00
briggs
8fc0b8b26e Add a field for cpu-dependent structure to flag if SONIC is on-board. 1994-07-21 00:33:54 +00:00
mycroft
6d61cde9dd Fix handling of null selectors. 1994-07-20 23:01:26 +00:00
jtc
0898290d54 Added __warn_references macro, which is used to instruct the linker to
print a warning message if a given symbol is referenced.
1994-07-20 22:12:50 +00:00
deraadt
9b3e7e6403 compile kernel with -O2 1994-07-20 21:10:00 +00:00
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
mycroft
bc31358508 Fix some profiling stuff. 1994-07-04 23:19:17 +00:00
briggs
d0f0219076 Don't blow up on huge screens. 1994-07-04 23:05:34 +00:00
briggs
ec394b297c A few things that I think are probably bogus, but I'm getting a lot
farther, now...
1994-07-04 22:44:24 +00:00
briggs
405051c0f8 Make sure TT's are disabled along with the MMU.
TBIA for paranoia's sake.
1994-07-04 22:41:47 +00:00
cgd
2fcbfa09c2 u_long to dev_t, for va_rdev 1994-07-04 22:26:38 +00:00
deraadt
12c6ff514b need vm/vm.h 1994-07-04 21:37:20 +00:00
deraadt
7526e115b9 add srmmu flush/prope ASI sub-codes 1994-07-04 21:36:10 +00:00
deraadt
57fca6c013 goodbye BTOPKERNBASE 1994-07-04 21:35:33 +00:00
mycroft
b303126d1e Do the doasyncfree conditionalization better. 1994-07-04 21:06:07 +00:00
mycroft
7f9b78dbbe Revert most of the previous change. 1994-07-04 20:43:06 +00:00
chopps
b10a5d5fac change to support other MAXPARTITIONS vals aside from 8 1994-07-04 20:39:46 +00:00
chopps
5000b8947b conditional FPSP stuff. 1994-07-04 20:27:44 +00:00
cgd
34a7f2bbed minor style nits, change VBAD handling 1994-07-04 20:27:06 +00:00
cgd
3b513cecb5 ISOFS -> CD9660 1994-07-04 20:22:26 +00:00
chopps
39be43d67f move to new disk minor encoding (parts have lowest 4 bits instead of 3)
remove multiple inclusions protection from varargs.h
1994-07-04 19:39:59 +00:00
chopps
3f9c050090 move to new disk minor encoding (parts have lowest 4 bits instead of 3) 1994-07-04 19:37:51 +00:00
briggs
ae562c7ee4 ifdef out FPSP support to avoid having to use fpspnull.
Fix a bogon.
1994-07-03 11:57:56 +00:00
mycroft
3673f99efd No more HP copyright. 1994-07-03 11:45:41 +00:00
mycroft
0535e409f8 Clean up deleted files. 1994-07-03 11:44:17 +00:00
mycroft
15814de648 Switch to Motorola emulator. 1994-07-03 11:41:33 +00:00
mycroft
1c1622ca22 Clean up deleted files. 1994-07-03 11:40:39 +00:00
mycroft
86726bc4e3 Switch to Motorola emulator. 1994-07-03 11:40:35 +00:00
mycroft
67545e35a4 Remove bogon. 1994-07-03 10:24:21 +00:00
mycroft
75d34a2362 Clean up deleted files. 1994-07-03 10:23:31 +00:00
mycroft
af65c82115 Style nits. 1994-07-03 09:51:58 +00:00
mycroft
2896174213 Save FS type at mount time for some later tests. 1994-07-03 09:24:01 +00:00
mycroft
c6d5fd7263 Fix problem with O_TRUNC and NFS device nodes. 1994-07-03 09:22:37 +00:00
cgd
ea01579f35 light clean up, use some macros 1994-07-03 07:57:32 +00:00
deraadt
5044aff065 bug #319. fix from <alasdair@wildcat.demon.co.uk> 1994-07-03 06:44:03 +00:00
mycroft
3410def915 Clean up deleted files. 1994-07-03 04:27:17 +00:00
cgd
ea1b26b17b kill a relic 1994-07-03 00:19:54 +00:00
chopps
983c19d69d increase SYSPTSIZE to 2 to accommodate zthreebus devices. 1994-07-02 21:16:36 +00:00
chopps
55713234f3 couple fixes from Michael. 2091 now uses 24bit only dma (oops) 1994-07-02 21:15:10 +00:00
chopps
344d199647 we like cache. 1994-07-02 20:26:19 +00:00
chopps
f9e885c22e remove exec_aout.h 1994-07-02 15:53:56 +00:00
briggs
c2bd0b444a Scam from amiga and update a little for the current tree. May need some
more work.
1994-07-02 13:11:10 +00:00
briggs
04ea0266b3 Getting a lot closer. Took out a lot of debugging output. 1994-07-02 13:04:49 +00:00
briggs
2e3a0bfade Get rid of exec_aout.h inclusion. 1994-07-02 13:04:03 +00:00
briggs
712c344e9d Turn off MMU early on '040 machines. Put gray_bars around this in case
it hangs on some machine.  (Q700 is mapped PA==LA in MacOS--at least in
this version of the MacOS).
1994-07-02 13:03:13 +00:00
briggs
e24c7f4fc9 The NCR 5380 driver is now called ncrscsi instead of ncr. 1994-07-02 13:01:32 +00:00
briggs
ebdc074703 Reset sccaddr if we're resetting the video address.
Nuke some debugging output.
1994-07-02 13:00:37 +00:00
hpeyerl
3214723fcf These should have been the 4.4Lite versions. duh. 1994-07-02 06:03:47 +00:00
deraadt
318b9c6b63 limit st_dev to 15 bits set for nfs filesystems 1994-07-02 04:51:18 +00:00
mycroft
801d30952a ISDEBUG --> LEDEBUG, and fix some ugly code. 1994-07-02 04:13:16 +00:00
deraadt
7bb91385ad tmd2/rmd2 have bits which must be set to 1 1994-07-02 01:10:05 +00:00
deraadt
943735dc41 modifications to the threshold and nicer error checking from christos
and .. splhigh() around insw/outsw code.. yetch
1994-07-01 23:08:11 +00:00
mycroft
73aca695ac Make sure we don't leave the interrupt masked after some errors. 1994-07-01 21:38:19 +00:00
mycroft
2f609096e4 Inline le{rd,wr}csr(). 1994-07-01 21:34:40 +00:00
mycroft
bf74fc41d1 Add prototype. 1994-07-01 21:33:20 +00:00
mycroft
f62bc452ca Correct some comments. 1994-07-01 21:31:14 +00:00
gwr
d79cf5993e Oops, the call to trapsignal needs to be conditional. 1994-07-01 21:30:13 +00:00
mycroft
4a9a4fb27b Clean up deleted files. 1994-07-01 20:25:29 +00:00
mycroft
66e72cdf4b Rename is to le, and add support for some models of DEPCA. 1994-07-01 20:25:25 +00:00
deraadt
7926e3feb5 match normal Makefile 1994-07-01 20:18:48 +00:00
mycroft
6b879e0403 is0 --> le0, and give trinity one. 1994-07-01 20:09:56 +00:00
deraadt
4b582be3c4 add support for the Mostek MK48T08 (found in sun4m) 1994-07-01 19:59:13 +00:00
pk
7d2e12f330 Adapt to current libsa. 1994-07-01 10:46:55 +00:00
deraadt
d34a60b7fd document field 1994-07-01 09:23:58 +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
deraadt
877c6d65ed do not use /usr/include to compile
link against libkern, not libc
1994-07-01 03:02:29 +00:00
deraadt
cc7bf234c6 exec_aout.h not needed 1994-07-01 02:57:52 +00:00
deraadt
9a0a9573a1 macros and "struct exec" in exec_aout.h now 1994-07-01 01:30:26 +00:00
cgd
7a6b124b88 don't wrap lines 1994-06-30 20:37:31 +00:00
deraadt
34ab47567a correct proto 1994-06-30 20:25:42 +00:00
deraadt
c5656ed1f6 clean obj better 1994-06-30 20:17:47 +00:00
cgd
d8d1a3037b fix warning 1994-06-30 19:00:49 +00:00
cgd
a2e313bd42 gen syscall fiels from new syscalls.master 1994-06-30 17:01:45 +00:00
cgd
19f726e77f fix a botch, and gen syscall files 1994-06-30 17:00:13 +00:00
cgd
bc9970144d fix up for new ID format, and consistency 1994-06-30 16:42:47 +00:00
cgd
e692ddd378 fix some lossage 1994-06-30 15:57:05 +00:00
gwr
1f142431e8 Fix disassembly of branches with byte displacement.
Disassembler routine no longer prints the address because
db_examine now does it for us (fixes "double speak" bug).
1994-06-30 12:54:44 +00:00
gwr
e49a8e54d0 Make "examine" (x/i) always print the address. 1994-06-30 12:49:54 +00:00
gwr
c39ef8bbe5 Add yet more debugging hacks:
set pmap_db_watchva=VADDR to see all activity for that VADDR
1994-06-30 12:45:54 +00:00
gwr
2a45f65ed0 Yes, trap() can be called when curproc==NULL 1994-06-30 12:42:05 +00:00
chopps
f3ac12d5c9 some aga cleanup from osymh@gemini.oscs.montana.edu (Michael Hitch) 1994-06-30 11:49:05 +00:00
pk
4070698468 error codes are in network order too. 1994-06-30 10:45:03 +00:00
cgd
59ca7c5f1f fix the definition of a dev_t 1994-06-30 08:05:54 +00:00
deraadt
0cb4bed2dd knf 1994-06-30 07:25:23 +00:00
deraadt
cb2b615c65 to find the DEFS.h files here, not in libc.. 1994-06-30 06:54:22 +00:00