Commit Graph

27732 Commits

Author SHA1 Message Date
christos 57c6bc4254 - Don't use ut_line, when you mean ut_name [does not matter really because
(sizeof(ut_line) == sizeof(ut_name)].
- Don't free bogus memory. xdr_bytes when is called with a non-null array
  pointer, it tries to free it. We are passing real arrays to xdr_bytes,
  so we really don't want to call free on them.
1997-04-17 17:29:24 +00:00
thorpej 062f26f33b - XXX Inhibit warnings on PowerPC for now - there are lots of
"char is unsigned" problems here.
- Add rules for mkinit, mknodes, and mksyntax that use the HOST_*
  facilities, for cross-compiling.
1997-04-17 08:13:26 +00:00
thorpej 00b4f27f35 Allow the environment variable $STRIP to override _PATH_STRIP for
`-s', helping out cross-compiling.
1997-04-17 07:56:55 +00:00
thorpej d76ea6e415 STRIP -> STRIPFLAG 1997-04-17 07:46:24 +00:00
mikel cae2f3b253 make /etc/aliases check a bit more discriminating: the line must be
uncommented, and it must contain a '|' character (forwarding to program).
1997-04-17 07:42:07 +00:00
thorpej 5b733ef58a STRIP -> STRIPFLAG 1997-04-17 07:41:05 +00:00
thorpej 6a2fc99857 STRIP -> STRIPFLAG 1997-04-17 07:27:46 +00:00
mikel 7aa8facf27 end line after printing WIDE SCSI status; fixes PR kern 3505. 1997-04-17 07:21:14 +00:00
mikel 6cb2fd80d8 fix area codes (210, 512, 817) of some Texas cities; from
Dave Huang <khym@bga.com>.
also added some more codes that took effect in April 1997.
1997-04-17 07:02:33 +00:00
thorpej 7387972e89 The PowerPC port uses GNU binutils, so don't build gas or ld, but
install cpp.
1997-04-17 07:00:16 +00:00
thorpej af1cedb966 - Don't bother with two different versions of lorder.sh ... the version
for GNU nm(1) works just fine with the NetBSD nm(1).
- Allow the program to use for nm(1) to be overridden with the variable
  $NM.
1997-04-17 06:48:10 +00:00
thorpej a585fb7042 Add several HOST_* variables. These identical to their non-HOST_
counterparts, and are used to compile programs that are needed to
compile other programs (see src/bin/sh for an example use).  These
facilitate cross-compiling.

Define an NM variable - the program to use for nm(1)
1997-04-17 06:43:32 +00:00
thorpej 985170db35 - Properly depend on crtbegin.o and crtend.o for platforms that use
them (currently Alpha and PowerPC)
- STRIP -> STRIPFLAG
1997-04-17 06:40:32 +00:00
thorpej 9377c557b2 Rename STRIP -> STRIPFLAG - this is a flag passed to install(1) to
indicate whether or not the program should be stripped.  This rename
allows the user to set STRIP as an alternative to /usr/bin/strip,
helping cross-compiling.
1997-04-17 06:34:15 +00:00
thorpej 2e6057dd39 Pass the program to use for nm(1) to lorder(1), helps cross-compiling. 1997-04-17 06:32:23 +00:00
thorpej 489b4a686e Fat-finger; one too many "_"'s in the entry point declaration. 1997-04-17 06:11:55 +00:00
mikel 80190df338 update some .nl prefixes; from Janjaap van Velthooven <janjaap@stack.nl>
in OpenBSD PR 160.
1997-04-17 06:02:03 +00:00
cgd e3149f181c sort cloning units for a given devbase after non-cloning units. Addresses
the same problem as PR 3503, but with different code.
1997-04-17 05:01:09 +00:00
thorpej e73580920d Change to not require including <sys/dmap.h> 1997-04-17 00:12:50 +00:00
thorpej 27b49a0ede XXX Kludge for PowerPC; need to use kernel vfprintf(). 1997-04-17 00:12:08 +00:00
thorpej 90ece8ebcb Declare dmmin, dmmax, swapmap, and nswapmap here. 1997-04-17 00:08:50 +00:00
thorpej 5ca650f210 XXX Kludge for PowerPC; needs a kernel vfprintf(). 1997-04-17 00:06:28 +00:00
thorpej f01479ff82 XXX Kludge for PowerPC - need a kernel vfprintf(). 1997-04-16 23:46:00 +00:00
thorpej 5b82b15348 extern'alize some references. 1997-04-16 23:45:00 +00:00
thorpej 48b6d2a6f3 Update for no __BROKEN_INDIRECT_CONFIG. 1997-04-16 23:41:53 +00:00
thorpej 8338396bf4 - Update for no __BROKEN_INDIRECT_CONFIG.
- Fix BPF hooks.
1997-04-16 23:41:19 +00:00
thorpej 2747d6c890 - Update for no __BROKEN_INDIRECT_CONFIG.
- Determine and remember if we are a floppy.
- Workaround for what is apparently a firmware bug - ignore the sector
  size returned by the device.  On my Firepower's floppy, block-size
  is the same as max-transfer, which causes Lossage.
- Don't read the disklabel on a floppy; do what the ISA floppy driver
  does, which is assign the entire disk to each "partition", although
  we do not deal with the density stuff.
- FIREPOWERBUGS -> FIRMWORKSBUGS
- Some general cleanup.
1997-04-16 23:39:28 +00:00
thorpej 991fede269 Update for no __BROKEN_INDIRECT_CONFIG. 1997-04-16 23:32:04 +00:00
thorpej 28b6ad9af8 - Pull in new ofwmagic.S and soft_spl.c files
- firepowerbugs -> firmworksbugs
1997-04-16 23:27:05 +00:00
thorpej 61da87f25a - Use genassym.sh to facilitate cross-compiling.
- Various clean/catch-up.
1997-04-16 23:26:06 +00:00
pk c8f5ee730d Add sound & mixer device nodes (Jesper Nilsson; PR#3342) 1997-04-16 23:19:25 +00:00
thorpej de6c03ee6c Update for current PowerPC code, some from Wolfgang. 1997-04-16 23:14:24 +00:00
thorpej 87bbb0ba3b Always define MACHINE_NONCONTIG. 1997-04-16 23:03:52 +00:00
thorpej 54cc37063b Nuke __BROKEN_INDIRECT_CONFIG 1997-04-16 23:03:16 +00:00
thorpej 49fd2f3af7 Use new va-ppc.h 1997-04-16 23:02:34 +00:00
thorpej d3112d23d1 Garbage collect stuff now hidden my machine_vec. 1997-04-16 23:02:00 +00:00
thorpej afd0c2db7e Yow, "what happened"? Anyhow, correct apparerent CVS botch, and fix
RCS ID.
1997-04-16 23:00:53 +00:00
thorpej 974b5a78b0 Minimal profiling definitions - profiling doens't yet work. 1997-04-16 22:58:46 +00:00
thorpej 2849b893e3 s/dummy/md_proc/ 1997-04-16 22:57:48 +00:00
thorpej cd3712c5bf Update ipkdb's register handling, from Wolfgang Solfrank. 1997-04-16 22:57:06 +00:00
thorpej 805da2b95a Don't define two partition types for NetBSD - just use the standard 0xa5.
(Eww, DOS MBR)
1997-04-16 22:55:10 +00:00
thorpej ab473e98d6 Definitions for machine_vec interface, from Wolfgang Solfrank. 1997-04-16 22:54:21 +00:00
thorpej 2895975dfc Update for Elf. 1997-04-16 22:52:50 +00:00
thorpej 88e2d78a5c Update to varargs/stdarg implementation; conform to the SVR4 calling
convention.
1997-04-16 22:51:22 +00:00
thorpej d78ae3859a - Add an option (TRAP_PANICWAIT) that causes trap() to prompt for a keypress
before calling panic().
- Add const poisioning where appropriate.
1997-04-16 22:49:49 +00:00
thorpej 144eb2ce5b - Fixed reversed arguments to an asm() (from Andrew Cagney)
- Round memory segments in a saner way (from Charles Hannum)
1997-04-16 22:45:26 +00:00
thorpej a9c6f67829 - Symbol cleanup, a'la locore.S
- Fix a 16-bit botch when disabling MMU
- Properly align save areas and temporary stacks.
1997-04-16 22:43:46 +00:00
fvdl aadf9a1d0f fdesc_seek -> genfs_seek, not genfs_badop 1997-04-16 22:43:41 +00:00
thorpej fdb155145e Fix some bogons in boot path parsing code. 1997-04-16 22:41:34 +00:00
thorpej 5c7a06f070 Several changes from Wolfgang Solfrank, Charles Hannum, and myself:
- Make setregs() conform to the PowerPC SVR4 ABI, plus one NetBSD
  extention (for ps_strings).
- machine == powerpc, not PowerPC.
- Set up machine vector for OpenFirmware.
- Nuke the msgbuf for now; it's not mapped correctly.
- Add missing casts in some asm() directives.
- Enable PSL_RI earlier, and do *not* disable it in fake_spl(), since it
  is needed for page faults.
- Some general cleanup.
1997-04-16 22:38:13 +00:00