Commit Graph

1066 Commits

Author SHA1 Message Date
lukem
dcab0210a0 convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
1999-02-13 02:54:17 +00:00
tv
e07978e871 Split the "mips" MACHINE_ARCH for 1.4. newsmips is "mipseb"; pmax is
"mipsel".
1999-02-09 17:15:51 +00:00
jonathan
3fa9c3ec91 garbage-collect `options MULTICAST'. IP multicast is no longer an option. 1999-02-07 07:14:21 +00:00
jonathan
ac38e160d1 Add `strip' line for testing Ricochet modems at 115200 bps. 1999-02-07 07:12:19 +00:00
jonathan
9ec88780aa size_t and void*-arithmetic changes from sys/libsa/ufs.c. 1999-02-01 03:08:05 +00:00
jonathan
45f13be5cb use memcpy, not bcopy, for non-overlapping copies. 1999-02-01 02:46:59 +00:00
simonb
22cbe4abc1 Add a comment that the bcopy #define that uses the PROM's memset don't
handle overlapping copies.  From Jonathan Stone.
1999-02-01 02:18:46 +00:00
nisimura
52bd8c333b - Nuke USPACE for now-defunct 'nullproc' pcb (8KB saving). 1999-02-01 00:32:18 +00:00
simonb
cbbad6d2b2 Add bzero/bcopy defines to use PROM memset/memcpy.
Change test to include defines from
	#ifndef _KERNEL
to
	#if defined(_STANDALONE) && !defined(_NO_PROM_DEFINES)
1999-01-31 13:49:40 +00:00
castor
d0ca7993a0 Remove genpubasym.cf stuff 1999-01-31 01:01:12 +00:00
simonb
53e963b5ef Add -mmemcpy (from Jonathan Stone) and bump -G to 128. Bootblocks now
fit!  Still needs more testing, so we don't actually install them yet...
1999-01-30 12:57:58 +00:00
simonb
98ceefb712 Actually depend on libsa now. 1999-01-30 12:39:28 +00:00
simonb
555cdd32e5 Don't define an ioctl routine for the rz driver, nor pull in the empty
routines in libsa/dev.c.
1999-01-30 12:30:57 +00:00
simonb
1047f11c01 Remove unused callvec stubs and libsa routines, add memcpy.c. 1999-01-30 12:23:10 +00:00
simonb
db342dee15 Add memcpy callvec stub, copied from strcat.c 1999-01-30 11:54:31 +00:00
simonb
a9f9300b78 Tell how many bytes of code are available, and print a warning if the
bootblocks are too large - from Michael Hitch.
1999-01-30 10:14:45 +00:00
simonb
500353b4c3 Use DEC_REX_MAGIC instead of a undocumented magic number 1999-01-30 00:40:38 +00:00
simonb
e1167d2415 Add REX magic number 1999-01-30 00:36:10 +00:00
simonb
ddd6d4cef1 Add some more PROM entry points 1999-01-29 12:05:02 +00:00
kleink
15afeeecca Remove an incorrect (but harmless) comment. 1999-01-29 08:42:27 +00:00
simonb
916b809a51 Make a `machine' symlink to ..../pmax/include to locate new location of
the dec_????.h files.  Gleaned from other ports' stand/Makefile.inc's.
1999-01-29 05:51:15 +00:00
simonb
9a3172af0e Include dec_{boot,exec,prom}.h from <machine/...>, not <stand/libsa/...> 1999-01-29 05:37:45 +00:00
simonb
0b2a74160d Include dec_{boot,exec,prom}.h from <machine/...>, not <stand/libsa/...>
Remove unused include files.
1999-01-29 05:33:49 +00:00
simonb
3675e80580 Removed unused include file 1999-01-29 05:31:23 +00:00
simonb
fe1bdc0a06 Move via repository copy to pmax/include - the kernel uses these
includes too.
1999-01-29 05:28:59 +00:00
jonathan
7bfe0eabb6 Use lk_bell() for audible bell. 1999-01-28 10:35:53 +00:00
jonathan
9c2700d2b8 Jason Thorpe's changes from PR#6848. Makes 115200 bps work on some systems.
Reverse sense of #ifdef to disable 76.8k and 115.2k until we can verify
it works on all 8530 chips (similar changes didnt work on a /240 in 1996).
1999-01-28 10:28:43 +00:00
jonathan
1962954796 LK201 changes from PR#4519:
Add lk_bell() to ring keyboard audible bell (for rcons bell).
  Add LK_KEY_CLICK option to reset keyboard and enable keyclick.
  (off by default since theres no way to control it from userland yet).
1999-01-28 10:20:10 +00:00
simonb
ce856af2ef Include dec_prom.h with `full' path if being included by kernel.
XXX: Should these headers used by the kernel be in pmax/include instead
     of pmax/stand?
1999-01-27 05:52:31 +00:00
simonb
51dc8fb666 Change location of pmax/stand/*.h include files to pmax/stand/libsa/*.h
My bad - wasn't expecting the kernel proper to pull stuff in from stand...
1999-01-27 03:12:24 +00:00
simonb
384f5d9970 Remove unused pmax/stand/dec_*.h include files. 1999-01-27 03:03:51 +00:00
mycroft
3e6e3322d8 Format consistency. 1999-01-24 12:56:51 +00:00
simonb
3566c2a4a4 Add NetBSD RCS ids 1999-01-22 14:27:31 +00:00
simonb
65fca13b07 More Makefile cleanups:
+ Don't use our own "clean" and "depend" targets
 + "make depend" works
 + Only include each include path once on compile lines
 + Clean up include file names
 + Don't build a separate libdrive.a, just specify driver source files
 + Use "make print-objdir" instead of old "printf ... | make -f-"
 + Remove more unnecessary targets, variables and other cruft

Still builds identical bootblocks to 1.3.3 with gcc, still too large
with egcs.

dec_boot.h, dec_exec.h & dec_prom.h were copied via respository
copy to sys/arch/pmax/stand/libsa.
1999-01-22 14:05:05 +00:00
simonb
76764712c1 Round one of the Makefile clean up:
+ dependency on libsa works
 + set and use BINDIR/BINMODE
 + don't pull in sys/lib/lib{sa,kern}/Makefile.inc (``make clean''
   doesn't make empty lib/{sa,kern} directories in each
   directory/obj dir).
 + remove unnecessary targets, variables and other cruft
 + wrap lines at 80 chars

Re-ordering SRCS line in libsa/Makefile to a more logical sequence
(alphabetical by source dir) results in a libsa.a with archive members
in a different order, and a resultant bootrz that differs from the 1.3.3
bootrz.  Untested as yet, so left in but commented out.

Also, _don't_ install the bootblocks (as per intent of previous commit)
or our own small libsa(!).
1999-01-21 14:16:52 +00:00
simonb
ab18b23eba Add dkcksum.c (pulled in from libsa) and remove local copy of
disklabel.c (with it's own copy of the same dkcksum routine).  Output
code still identical.
1999-01-21 12:43:11 +00:00
simonb
6c2628b5d0 Almost working bootblocks for the pmax. This compiles fine with gcc
2.7.2.2-myc2 (and produces _identical_ bootblocks with the 1.3.3
bootblocks which weren't in the tree), but egcs 1.1.1 builds a ufs.o
that's about a 100 bytes too big, and it busts the 7.5k we've got for
bootrz.

Still needs cleanup - the Makefiles could be better/cleaner, and doesn't
install yet (because of above problem).  At least there's something to
work with now.

Note that we have our own versions of a lot of the sys/lib/libsa
routines which are less functional/smaller.
1999-01-21 12:33:39 +00:00
simonb
64b6a85f9c Remove obsolete README and dec_label program 1999-01-20 13:37:56 +00:00
simonb
47c28b03d8 Move via repository copy to sys/arch/pmax/stand/scsiboot 1999-01-20 12:03:56 +00:00
nisimura
34410d5d0c - Fixup imcomplete vm_offset_t purge work... 1999-01-16 07:05:05 +00:00
nisimura
f714e02733 - Fixup for recent change in arch/mips. 1999-01-16 02:36:01 +00:00
thorpej
8922647c58 Some minor, mostly costmetic, changes to CPPFLAGS/CFLAGS. 1999-01-15 23:37:05 +00:00
bouyer
dc306354b0 Move the bswap functions from libutil to libc (this bups the
minor of libc and the major of libutil). For little-endian architectures
merge the bnswap() assembly versions with nto* and hton* using symbols
aliasing. Use symbol renaming for the bswap function in this case to avoid
namespace pollution.
Declare bswap* in machine/bswap.h, not machine/endian.h. For little-endian
machines, common code for inline macros go in machine/byte_swap.h
Sync libkern with libc.
Adjust #include in kernel sources for machine/bswap.h.
1999-01-15 13:31:15 +00:00
castor
45a22daf10 allow generated kernel includes and support mips pubassym.cf mechanism 1999-01-15 10:57:36 +00:00
castor
c729b2ffeb add support for locore_mips[13].S 1999-01-15 10:33:11 +00:00
thorpej
e598335d1c Garbage-collect `mbutl'. 1999-01-09 22:10:12 +00:00
augustss
fc5f9ee81d Add -Wpointer-arith warning since `void *' arithmetic is not ANSI C. 1999-01-08 19:26:12 +00:00
nisimura
9df51b1b1f - Complete vm_offset_t purge for DECstation. 1999-01-06 04:18:53 +00:00
jonathan
fa0ee282ff Read icsr in interrupt handler (from development tree). 1998-11-29 00:58:06 +00:00
jonathan
34fe177e8e * Use dc_tty_init() to set serial-console line state both for boot-time
console setup and driver attach-time.
* Dont wire potential console lines as CLOCAL; use softcar.
* #ifdef tests on #ifdef NRASTERCONSOLE, not HAVE_RCONS.
1998-11-29 00:28:29 +00:00