Commit Graph

710 Commits

Author SHA1 Message Date
mycroft dcd66e9f4d Clone these, and fix many bugs. 1996-02-02 20:08:17 +00:00
scottr c0f37b4d05 Use DISKUNIT()/DISKPART() from <sys/disklabel.h> instead of
our own home-grown versions.
1996-02-02 19:50:26 +00:00
mycroft 9db20bf150 Don't define _KERNEL here. 1996-02-02 19:42:08 +00:00
mycroft 9d9a70a5a2 Fix #includes. 1996-02-02 18:05:36 +00:00
mycroft fc9d84fb46 assym.s -> assym.h
(Some ports did this already.)
1996-02-02 02:34:09 +00:00
mycroft 88e512b693 LOCORE -> _LOCORE 1996-02-01 22:28:24 +00:00
thorpej 134b410457 Use the common sigreturn routine. 1996-01-31 02:26:05 +00:00
thorpej 90a0b784de Build memcpy.c 1996-01-30 19:47:32 +00:00
thorpej abe8231c4f Catch up with changes to libsa. 1996-01-30 19:09:09 +00:00
scottr f9418ec605 Eliminate unnecessary goto and labels, and other minor cleanup. 1996-01-23 00:28:09 +00:00
thorpej cd17a6b3af Remove all the old STACKCHECK stuff; it hasn't been used for a long time. 1996-01-16 22:24:28 +00:00
thorpej 1eff435896 Use ${BINOWN} and ${BINGRP} per Arne H. Juul <arnej@ikke.idt.unit.no>
in PR #705.  Also, clean up some stuff left over from HP-BSD.
1996-01-15 01:41:37 +00:00
thorpej 524cf97f54 Kludge around a case where a flaky HP-IB disk might be slow to respond
to the identification request in rdmatch().  Similar in spirit to a
patch from Jason Downs (written eons ago), but limited to the broken
device we're trying to reach.  My patch tested (and fixed :-) by
Herb Peyerl.
1996-01-10 20:54:29 +00:00
thorpej 2e1c1680c5 Fix declaration of hilqfree(), from Daniel Hagerty <hag@wizardz.com>,
PR #1918.
1996-01-10 20:31:12 +00:00
thorpej f1d8ca699f Oops, compile hpux_machdep.c if COMPAT_HPUX. Forgetfulness pointed
out by Dave Carrel.
1996-01-08 03:27:36 +00:00
thorpej 5b39541e48 New generic disk framework. Highlights:
- New metrics handling.  Metrics are now kept in the new
	  `struct disk'.  Busy time is now stored as a timeval, and
	  transfer count in bytes.

	- Storage for disklabels is now dynamically allocated, so that
	  the size of the disk structure is not machine-dependent.

	- Several new functions for attaching and detaching disks, and
	  handling metrics calculation.

Old-style instrumentation is still supported in drivers that did it before.
However, old-style instrumentation is being deprecated, and will go away
once the userland utilities are updated for the new framework.

For usage and architectural details, see the forthcoming disk(9) manual
page.
1996-01-07 22:01:38 +00:00
thorpej d9bce7422e Move the obviously machine-dependent HP-UX compat code to hpux_machdep.{c,h}.
A fair bit of this, the m68k core dump and exec goo, can probably be
made into a generic m68k hpux module, eventually.

More to be placed in hpux_machdep.c - keep your eyes peeled...
1996-01-06 12:44:06 +00:00
jtc 2fce159ff8 Changed name of sigaltstack's ss_base field to ss_sp to match XPG4.2 and
traditional usage.
1996-01-04 22:21:33 +00:00
thorpej 90964d13db Implement a suggestion from Charles; use a wrapper function before
leintr() to deal with das blinkenlights.  Also squishes the need
for LEINTR_UNIT.
1996-01-02 21:56:21 +00:00
thorpej e7cf87f5dc Add the last revision previous to the switch to the MI LANCE code of
hp300/dev/if_lereg.h to the standalone code; the standalone LANCE driver
for the hp300 needs it.
1996-01-01 18:10:54 +00:00
thorpej 3319ad7b61 XXX TEMPORARY STOP-GAP MEASURE! A 12-bit command modifier was being
squished into an 8-bit position in a command stream!  Which one is wrong?
Changed the constant from 0x140 to 0x40, which is what ended up happening
anyhow.  This exists in the old Utah sources, too!  How long has this
bug existed?!
1995-12-31 04:11:42 +00:00
thorpej 34c2680a5b Re-work the serial console support a bit; it doesn't depend on statically
allocated softc's now.
1995-12-31 00:27:16 +00:00
thorpej f26be3a3d6 Fix something the switch to the MI LANCE code broke: use LE_TINT_HOOK
and LE_RINT_HOOK to blink the "LAN transmit" and "LAN receive" LEDs on
the front panels of 400-series machines iff the CPP symbol USELEDS is
defined in the kernel config file.
1995-12-30 21:03:02 +00:00
thorpej 67c76ca15d Print unconfigured card id and select code regardless of -DDEBUG. 1995-12-30 18:25:25 +00:00
thorpej 11c7d655d8 Correct some comments about 8-port DCM boards. (Thanks, Mike, for
pointing out the True Nature of The Force...)
1995-12-29 17:21:29 +00:00
thorpej 9ba67f2c93 Increase maxusers from 16 to 32. 1995-12-29 17:16:29 +00:00
thorpej 9038d094fa Enable COMPAT_HPUX by default. It's still not 100% yet, but it doesn't
seem to really hurt anything, either.  Makes it easier for folks using
binary snapshots only to try it out.

GENERIC: now that the PT map allocation is fixed, increase the default
maxusers to 32.
1995-12-29 17:12:48 +00:00
thorpej 17eb6e2bc1 Move the old-style disk instrumentation "structures" to a central location
(sys/kern/subr_disk.c) and note that they should/will be deperecated.
1995-12-28 19:16:31 +00:00
mycroft ce000f04ef Remove deprecated cpu_setstack(). 1995-12-21 05:01:32 +00:00
thorpej 1094eb5008 Oops ... missed this file in the last round of device changes. 1995-12-11 19:41:47 +00:00
thorpej 540dfebf15 Rather than using individual HP300 model names, map those model names to
properties such as "M68040" and "M68K_MMU_MOTOROLA", used to conditionally
compile code.  This is more in-line with now the other m68k ports do it,
and makes it much easier to find "common ground" among them.

In locore.s, use the MMU-type constants defined my <machine/cpu.h> rather
than "expanded" values.

Because HP300-model names are mapped to CPU/MMU combinations in
<machine/cpu.h>, no change to kernel configuration will be necessary.
1995-12-11 17:09:09 +00:00
thorpej de6dad9228 Move bcopy/ovbcopy/memcpy into m68/m68k/copy.s, which is used by all
m68k ports already anyhow.  No use in keeping 6 identical copies of this
function around.
1995-12-11 02:37:55 +00:00
mycroft 7877aa6eb5 Use the MI LANCE code. 1995-12-10 00:49:33 +00:00
thorpej b1c7779d0a Prevent the msgbuf from getting trashed across reboots by moving avail_end
back one page.
1995-12-09 07:54:19 +00:00
thorpej 862bb3adc1 Pass the correct number of arguments to readdisklabel(). 1995-12-09 07:31:03 +00:00
mycroft 0e0ac5ed68 cpu_fork() now returns void. 1995-12-09 04:37:23 +00:00
thorpej 87206673fb Keymap for the Swedish HIL keyboard, from Tomas Tengling <ltt@cd.chalmers.se>. 1995-12-06 22:13:23 +00:00
thorpej 9c784e07c1 Fix the integer overflow problem in pmap_init() when the user PT map is
allocated, as noticed by Chuck Cranor.  In addition to re-arranging
the assignment as suggested by Niklas Hallqvist, check to see if maxproc
is higher than the number of available user PTs.  If it is, lower maxproc
to that value, the rationale being that it's much more desirable to have
fork() return EAGAIN than to have your system wedge.

XXX note that root can still raise maxproc with sysctl(2) later.  It's
probably worth having further discussion about this issue, but until
everyone has time to think about it, this seems like an acceptable solution
for the time being.
1995-12-05 20:01:54 +00:00
thorpej 52ec09e420 Use a "match/attach" rather than "init" scheme for probing devices.
This is a step towards getting the drivers ready for new config.
1995-12-02 18:21:49 +00:00
thorpej deb00c27b3 Use a "match/attach" rather than "init" scheme for probing devices.
This is a step towards getting the drivers ready for new config.

Clean up namespace, remove several instances of global arrays.  Instead,
use a softc to carry state around.  Where possible, pass a pointer to
the softc rather than a unit number.

Pointers to hardware and software constructs are now stored per port
in each instance of the softc (one softc per board) rather than indexed
by minor number.
1995-12-02 18:18:50 +00:00
thorpej 41cf6f071f Use a "match/attach" rather than "init" scheme for probing devices.
This is a step towards getting the drivers ready for new config.

Clean up namespace, remove several instances of global arrays.  Instead,
use a softc to carry state around.  Where possible, pass a pointer to the
softc rather than a unit number.
1995-12-02 18:15:50 +00:00
thorpej 3ac76475ea Use a "match/attach" rather than "init" scheme for probing devices.
This is a step towards getting drivers prepared for new config.
1995-12-02 18:11:21 +00:00
thorpej de5ce5f48c Change "hilloop" to "hilsoftc" and make slightly more new config-friendly.
Remove all uses of curproc.
1995-12-02 02:48:47 +00:00
thorpej b618522128 Make the DMA controller driver a little more new config-friendly. Still
more work to do, but this is a step in the right direction.
1995-12-02 02:46:45 +00:00
thorpej da66c0a255 Enable COMPAT_HPUX. 1995-11-28 08:48:18 +00:00
thorpej 38b63746fb Note the new status of COMPAT_HPUX, but keep is disabled by default. 1995-11-28 08:47:38 +00:00
thorpej 63b0022b86 Update a #include for the "new" location of HP-UX emulation code. 1995-11-28 08:12:37 +00:00
thorpej ffcccc41bd Compile compat/hpux/hpux_exec.c and compat/hpux/hpux_file.c if COMPAT_HPUX
is defined.
1995-11-28 08:10:09 +00:00
thorpej b92924680d Garbage collect some stuff that isn't used. Rename the relocation info
structure to be consistent with the other m68k ports.  XXX that struct needs
to move to an m68k common file.
1995-11-20 01:15:26 +00:00
thorpej df59198ddc Put doshutdownhooks() in the right place. Pointed out by cgd. 1995-11-20 00:58:54 +00:00
thorpej 8272af3168 Re-arrange boot() a bit; call doshutdownhooks(), if we're rebooting, say so,
etc.  Modeled after the alpha port's boot().
1995-11-19 23:24:15 +00:00
thorpej 8122bc0e33 Prevent the ITE_ACTIVE bit from being cleared in iteoff() if the ITE_ISCONS
bit is set.  Works around the fact that the last process to have the
console open exits, the bit is cleared, and "syncing disks...", etc. is
not seen if the system is rebooted with reboot(8).  Fixes PR #1455.
1995-11-19 23:14:22 +00:00
thorpej 31430a5279 Cosmetically change one #include directive. 1995-11-19 22:32:38 +00:00
thorpej 905cb9dda1 Re-arrange things such that we can print out disk geometry regardless of
COMPAT_NOLABEL.

XXX One day when the world doesn't assume DEV_BSIZE bytes/sector, we'll be
able to actually use the stuff sensed from the drive, rather than a table.
1995-11-19 19:07:18 +00:00
thorpej d0e01feb5c Do an indirect driver a little more like an indirect driver would like to
be done.  Set up a structure filled with function pointers in the
controller-specific probe routines, and jump through them, instead of
if()'ing our way though each operation.

Be a little more discriptive; print out the controller type found
during the probe in a way that's somewhat meaningful.
1995-11-19 17:57:15 +00:00
thorpej af18124282 We no longer need -fno-builtin; syscall namespace has been cleaned up a bit. 1995-10-22 06:05:21 +00:00
thorpej 62150b43b1 Truncate the incoming packet if it doesn't fit into the buffer. 1995-10-19 18:43:27 +00:00
thorpej ef52ec31c1 Recompile genassym if the Makefile changes. 1995-10-18 22:50:15 +00:00
thorpej 43358aae60 Deal with vendor, product, and revision strings properly. 1995-10-16 08:51:49 +00:00
thorpej 5dcaa0b51c Be a tad bit more informative when the drive is attached. Print geometry
info when appropriate, because, darn it, it's useful.
1995-10-15 10:03:18 +00:00
thorpej 54ed756bc4 Add another dca and grf 1995-10-10 02:12:37 +00:00
thorpej ab16c2efa6 Remove unneeded RCS ids. 1995-10-09 08:07:37 +00:00
thorpej 2d5f7a7b07 Pass correct number of arguments to hpibgo(). 1995-10-09 07:57:43 +00:00
thorpej 83dfe0816e Remove the icode stuff; it hasn't been used in a long time. 1995-10-08 20:19:22 +00:00
thorpej a8637d68f8 blkclr -> bzero 1995-10-08 19:33:36 +00:00
thorpej 09024536ef Remove __main(), strlen(), bzero(), and bcmp(). They're all in libkern. 1995-10-08 19:30:51 +00:00
thorpej 3b70bc6b37 Finish up the system call function renaming; sysarch -> sys_sysarch and
vtrace -> sys_vtrace.
1995-10-08 19:01:26 +00:00
mycroft 245f292fed Prefix names of system call implementation functions with `sys_'. 1995-10-07 06:25:19 +00:00
thorpej c2ca33b9c1 Initialize the kernel PT map as thoroughly in the 68040 case as the
non-68040 case.  Fix up a comment there, too.
1995-10-05 06:54:12 +00:00
thorpej a6359b2633 Fix segment table reference bug, from Micheal Hitch. 1995-10-05 06:47:25 +00:00
thorpej e43d278d31 Several changes:
* Reset the card on "fresh open" as a sanity measure.
	* Use the "secret bit" to enable interrupts.
	* Make some parts look/behave like their cousins in dev/isa/com.c
	* Set the FIFO threshold based on line speed.
	* Be a little more informative when port is attached.
	* Implement TIOC{G,S}FLAGS; ttyflags now works.
First two items prevent deadlock on some systems (notably the 380,
425, and 433) which some people have been reporting.  Use of the
"secret bit" seems to be safe on systems which don't need it.  Changes
tested on a 319, 340, 345, and 380.
1995-10-04 17:46:08 +00:00
thorpej 442aff9376 Say what I really meant in a printf()... 1995-10-04 08:39:14 +00:00
thorpej b675177228 Put new-style RCS ids in the startup banner. Makes bootblock revisions
much easier to recognize; old method could have revision corrupted by
local RCS control.
1995-10-04 07:24:31 +00:00
thorpej d08330454a Determine the select code of the console device, or -1 for internal grf.
Pass this value to the kernel in register d5.  This value isn't currently
used by the kernel, but will be in the future.
1995-10-04 06:54:42 +00:00
thorpej f060c456de Couple of changes:
* Implement TIOC{G,S}FLAGS; ttyflags works now.
	* Reset the card on a "fresh open" as a sanity measure.
	* Make dcmopen() and dcmclose() a little more like the
	  corresponding routines in the new dca.c
1995-10-04 06:39:06 +00:00
thorpej d7b36ab7a2 Add mt0. 1995-10-02 00:36:07 +00:00
thorpej f12fd2307e Driver for HP 7974a, 7978a/b, 7979a, 7980a, and 7980xc 9-track HP-IB tapes.
Original version contributed to Utah by Mt. Xinu.  Ported to 4.4BSD by
Mark Davies and Andrew Vignaux.
1995-10-02 00:28:20 +00:00
thorpej a33b9f4fdb Assume primary swap is `b' partition, not `root partition + 1'. 1995-09-24 02:18:11 +00:00
thorpej 3810bc32eb Compile the system installation program and install it in /usr/mdec/rbootd
as SYS_INST.
1995-09-23 17:40:54 +00:00
thorpej a8c323442d Add a standalone system installation program. Currently implements:
* Prompt user for disklabel information and label disk.
	* Copy miniroot image from NFS server to `b' partition.
	* Boot kernel in miniroot image into single-user mode.
Hooks for tape support are there, but the meat for that isn't implemented yet.
1995-09-23 17:38:51 +00:00
thorpej a35f639de0 If compiled for the system installation program, prompt for myip, gateip,
netmask, serverip, and path rather than using rarp/bootparam.

Catch up with libsa changes.
1995-09-23 17:31:10 +00:00
thorpej d429f2e11f Re-arrange a mite; for the system installation program. Catch up with libsa
changes.
1995-09-23 17:28:11 +00:00
thorpej 188f6e6912 Add *close() routines. Basically, zaps softc structure so that partition
information will be re-loaded upon next open.

Catch up with libsa changes.
1995-09-23 17:19:58 +00:00
thorpej b8e9fb1b0b Catch up with libsa changes. 1995-09-23 17:17:03 +00:00
thorpej f03897c2b6 "Oops." Get the declaration of sys_arch() correct. 1995-09-22 15:27:10 +00:00
thorpej 7c36f209e7 Need <sys/mount.h> now. 1995-09-21 22:26:04 +00:00
thorpej ddf9c6da16 Add 4 vnds to each, add 4 ccds to GENERIC, update BASALT to match
current reality.
1995-09-21 07:27:52 +00:00
thorpej ad05d707bf Compile the kernel with -fno-builtin. 1995-09-19 23:34:06 +00:00
thorpej 7d7396c414 Make system calls conform to a standard prototype and bring those
prototypes into scope.
1995-09-19 22:53:47 +00:00
thorpej f47d026fb3 Fix cosmetic typo in kernel name prompt. 1995-09-13 18:52:39 +00:00
thorpej ef09db9674 Add a memcpy() entry as suggested by Gordon Ross. Use <machine/asm.h>
where appropriate.
1995-09-10 19:42:17 +00:00
thorpej fcdfdcb926 Fix missing clock-ticks in child after fork as suggested by cgd & Allan Briggs. 1995-09-03 00:44:43 +00:00
thorpej 7c55f97d9b Really batting 1.000 today... 1995-09-03 00:07:21 +00:00
thorpej 231db77094 Fix thinko in netboot-related changes. 1995-09-02 23:36:09 +00:00
thorpej acdc651ece Add support for network booting; uses the following procedure:
rbootd->rarp->bootparam->nfs
Add "reset" option to disk and network boot prompts to reload boot code.
1995-09-02 05:04:14 +00:00
thorpej a23346b0d5 Grok booting from the network. 1995-09-02 04:54:06 +00:00
thorpej aa213636df Example configuration for a diskless hp300. 1995-09-02 04:39:51 +00:00
mycroft 29053c58b2 SA_ONSTACK --> SS_ONSTACK 1995-09-01 20:05:59 +00:00
thorpej ba2d89fa98 Bring this up to speed. 1995-08-18 20:24:02 +00:00
thorpej 351c20ab5e Haven't had hpfplib for a long time. 1995-08-18 16:07:40 +00:00
mycroft 54c9a1df90 Replace splnet() with splsoftnet(). Add splnet(). 1995-08-13 00:22:40 +00:00
mycroft c5ec5c3003 Add splsoftnet(). 1995-08-13 00:03:11 +00:00
thorpej 0b486f9aa0 Add bounds_check_with_label(). 1995-08-08 06:23:08 +00:00
mycroft 8e77047f2c Make new-style core dumps. 1995-08-07 06:13:57 +00:00
mycroft 61d9ac2bb7 Remove vnode_if.[ch] when cleaning. 1995-08-05 23:39:41 +00:00
thorpej b56fc99724 Catch up with an include file change I missed before. 1995-08-05 16:47:34 +00:00
thorpej 1773fd4286 Kernel configuration file for my hp380. 1995-08-04 08:26:52 +00:00
thorpej 6143739a03 Acknowledge the Archive Viper 60 tape. Fixes pr-863. 1995-08-04 08:17:43 +00:00
thorpej fc1f217977 Update for conf.h changes. 1995-08-04 08:12:57 +00:00
thorpej 62572d6658 Kill bogus if_addrlist check. 1995-08-04 08:08:41 +00:00
thorpej 89e7efa8d1 Zap compiler warnings in the check for a trace trap. 1995-08-04 08:06:27 +00:00
thorpej 4313e3aa62 Make the boot blocks compile (and work!) again. 1995-08-04 07:55:34 +00:00
thorpej be13d8f6bf Spring cleaning. 1995-08-04 07:40:31 +00:00
mycroft 6dfa7461a5 Add -Werror. 1995-07-24 03:30:07 +00:00
mycroft 7263209ce6 Make each disk and tape driver define its own read and write functions.
Deprecate rawread() and rawwrite() completely.  Remove d_strategy from cdevsw to
force the abstraction barrier.
1995-07-04 07:15:28 +00:00
paulus b41c6a7d1c Add call to pppintr from netintr. 1995-07-04 06:54:52 +00:00
cgd c83f9c5568 remove unused cpu_exec() definitions. moved "broken swap" markers, for
ports that still need it, to types.h.
1995-06-28 02:55:18 +00:00
cgd d4a54b73d2 kill user-land DELAY macro, as suggested by gwr. 1995-06-28 02:43:36 +00:00
cgd 2d49c3885b clean up definitions of ctod(), dtoc(), ctob(), btoc(), btodb(), and
dbtob().  remove unused definitions of ctos(), stoc(), and dtob().
1995-06-26 06:55:38 +00:00
cgd 1c0be437b1 define __BDEVSW_DUMP_OLD_TYPE for ports where it's true. clean up
some m68k ports inclusion of common header.
1995-06-26 05:13:37 +00:00
christos 7f0e620523 Makefile.`arch`: - Add -lcompat
- Change clean: target to be a double dep one,
			  so libraries can use the clean target too
			- Add genassym to the clean targets
1995-06-24 20:41:28 +00:00
jtc 55fbbc705d Wrap with #ifndef _XXX_FLOAT_H_/#define _XXX_FLOAT_H_/ ... /#endif. 1995-06-20 20:45:22 +00:00
mycroft 3126edd708 Arrest the KNF policeman. 1995-06-02 17:51:21 +00:00
hpeyerl f6d7cb01ee Check curproc != NULL before PMAP_ACTIVATE.
From Chuck Cranor <chuck@maria.wustl.edu>
1995-05-29 19:36:22 +00:00
mycroft 22aa7c18f0 Update curpcb before possibly copying it. 1995-05-25 01:11:29 +00:00
mycroft 8e18358c86 Make sure proc0's md_regs is initialized. 1995-05-25 01:09:10 +00:00
hpeyerl caef1dfaa2 KNF police. 1995-05-24 13:12:12 +00:00
jtc f90f8d10aa Removing -DKERNEL, transition to _KERNEL has been completed 1995-05-16 22:24:17 +00:00
mycroft 4b15d144ec Put the address of the ps_strings structure in A2. 1995-05-16 14:34:19 +00:00
mycroft 76860a15b0 Add a child_return() function to clean up the child's state correctly, and
use this in cpu_fork().  Generalize proc_trampoline() so it can also be used in
this case.
1995-05-12 18:24:46 +00:00
mycroft 94cb5327ca Stylistic change. 1995-05-12 13:04:33 +00:00
mycroft 46426ac542 main() should never return. 1995-05-12 13:03:23 +00:00
mycroft 9877d5d787 Eliminate the double mapping of the kernel stack. Enable swapping. 1995-05-12 12:54:44 +00:00
mycroft 7bf54feda1 Add vnd. 1995-05-12 12:49:54 +00:00
jtc 8aa6c376b6 KERNEL -> _KERNEL 1995-05-11 16:52:54 +00:00
christos 078a98c864 Fixed compat hpux files. 1995-05-10 17:02:52 +00:00
cgd 8703076975 define BROKEN_SWAP and/or cpu_swapout as appropriate. 1995-05-05 03:41:51 +00:00
cgd 0e59975fac rename files files for new config/config.old naming 1995-04-28 08:19:12 +00:00
christos c5f01c2a4c Fixed comparison in SYS__syscall to be against sysent instead of
p->p_emul->e_sysent [Thanks Charles for pointing this out].
I think that this code needs to be fixed anyway for emulations where
SYS_syscall is not the same number as the NetBSD one (0)... (Only the
alpha port so far?)
1995-04-22 20:49:06 +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
mycroft 9dbd0e8627 Use vfs_shutdown(). 1995-04-21 21:56:59 +00:00
mycroft 055a6395e0 Update to match conf.h 1995-04-19 22:37:27 +00:00
mycroft 44e9c73f2c Update for global changes. 1995-04-19 22:16:30 +00:00
mycroft f1e8ea1dcc Kluge the *tty() routines until this port is converted to config.new. 1995-04-19 19:15:47 +00:00
jtc 4d37095e31 Fix typo: ieefp.h -> ieeefp.h. 1995-04-16 16:47:03 +00:00
mycroft 81f3a84289 Add USPACE. 1995-04-12 15:27:48 +00:00
mycroft 6ad0e4cf93 More UPAGES --> USPACE. 1995-04-12 08:30:40 +00:00
mycroft 0e218b6169 Change some usages of UPAGES to USPACE. 1995-04-12 08:18:56 +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 3f22df0746 Declare all return types. 1995-04-10 01:56:41 +00:00
mycroft a9e1bbb0c7 Add no-op open and close functions. 1995-04-10 01:23:19 +00:00
mycroft 374185caff Most of the console functions return void. 1995-04-10 01:01:40 +00:00
mycroft 0ed4893351 mmmap --> mmmmap 1995-04-10 00:59:33 +00:00
mycroft 5ca64d4b70 hilmap --> hilmmap 1995-04-10 00:58:36 +00:00
mycroft 0323181eb1 Switch grfmap and grfmmap. 1995-04-10 00:58:10 +00:00
mycroft 1b8aff7880 map --> mmap 1995-04-10 00:55:57 +00:00
mycroft 84de5b1135 Update to make con[fs].h. 1995-04-10 00:50:50 +00:00
mycroft e957423a98 Move fp_except and fp_rnd definitions to machine/include. 1995-04-09 21:31:58 +00:00
mycroft 25b58554cb Update. 1995-03-31 18:27:30 +00:00
hpeyerl 217531ad26 Update to reflect reality. 1995-03-28 23:57:20 +00:00
jtc 8ba211cde0 Added #define _KERNEL 1995-03-28 18:37:27 +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 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 dc3d752c6c Fix last arg to scdebug_ret(). 1995-03-09 08:59:45 +00:00
mycroft add762f71c Panic if the emulation type is invalid. 1995-03-08 06:49:22 +00:00
mycroft e518635e13 Fix some types:
* code, args, and rval should use register_t.
* argsize should be a size_t.
Remove old notimp() kluge; replaced by a better mechanism.
Add some of the SunOS compat hooks.
1995-03-08 06:39:06 +00:00
mycroft 6c30f4a892 Remove file systems. 1995-03-05 23:04:25 +00:00
mycroft 3af978980c Make the dump code more consistent with i386. Mostly cosmetic. 1995-03-05 22:19:26 +00:00
mycroft 30a80c01af Make these consisteny with i386. Mostly cosmetic. 1995-03-05 22:06:42 +00:00
mycroft 4c34be6b52 Clean up deleted files. 1995-03-01 00:00:00 +00:00
mycroft b39bd2f2d3 Move common code for finishing a buffer into a separate function. 1995-02-23 22:23:40 +00:00
mycroft ae95dc7533 More disks, tapes, MSDOSFS... 1995-02-23 22:22:07 +00:00
mycroft f96a1945c5 Remove `nboot' completely. 1995-02-21 09:16:34 +00:00
mycroft 85eb2facec Use the libsa exec(). 1995-02-21 09:06:13 +00:00
mycroft 28983f9e3f Tweak to make the twiddler look better. 1995-02-21 06:39:01 +00:00
mycroft e9685fc52f Don't define netif_debug here. 1995-02-20 00:19:43 +00:00
mycroft 30b00f8878 Slight rearrangement. 1995-02-20 00:15:06 +00:00
mycroft 19a789aae8 Update to the new RCS id convention. 1995-02-20 00:12:09 +00:00
mycroft 6cd040ac12 Don't stall if we get packets back-to-back. 1995-02-19 23:54:18 +00:00
mycroft 388209113e Don't panic if the battery is dead. 1995-02-19 23:53:19 +00:00
mycroft 2fd9d0abfb Add unfinished netboot code, and reorganize the Makefile somewhat. 1995-02-19 19:17:01 +00:00
mycroft d045c68f75 Update for split fu/su functions. 1995-02-08 14:53:33 +00:00
mycroft b500256b0f Remove [fs]ui{byte,word}(). 1995-02-08 14:52:31 +00:00
mycroft e732893c41 Remove fu/su functions. 1995-02-08 14:51:08 +00:00
mycroft 44965e0438 Include common m68k version of copy.s. 1995-02-08 14:22:30 +00:00
mycroft 19ff4e7205 Don't include copy.s from here. 1995-02-08 14:20:06 +00:00
mycroft 86dbbad738 Use common m68k version of copy.s. 1995-02-08 14:18:04 +00:00
mycroft 04695541bb Clean up deleted files. 1995-02-08 14:16:40 +00:00
cgd 2ef4ca1f3d vn -> vnd renaming, for consistency 1995-01-25 04:48:07 +00:00
hpeyerl 3fc42a912d NULLFS 1995-01-24 14:01:28 +00:00
hpeyerl 83865999ab options GATEWAY. 1995-01-23 15:14:33 +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
mycroft 96d96ccc04 Do not allow opening a device which is not `alive'. 1995-01-18 10:02:43 +00:00