Commit Graph

51837 Commits

Author SHA1 Message Date
tsubai 28b7777fd0 Provide CACHELINESIZE when _STANDALONE is defined too. 1999-05-03 05:19:59 +00:00
mrg c0999a71b0 oops, fix merge botch in previous.. 1999-05-03 00:20:07 +00:00
mrg d5c7180e2b limit session to 6 chars. from Geoff Wing <gcw@pobox.com> and fixes his PR#7506 1999-05-03 00:17:30 +00:00
kleink 5b2a4f0824 Call cerror through the PLT. 1999-05-02 23:19:49 +00:00
thorpej 4c03a95577 Adjust for cwdinfo changes. 1999-05-02 22:50:19 +00:00
is ef37d9492f Fix an old typo (or rather, an old failure to fully adapt copied code's
prompt text to the new location): for ftp, we build a list and extract all
at once afterwards.
1999-05-02 20:53:22 +00:00
kleink 18d5ba6151 We can shave off a register-register move when using the SVR4 ABI: __errno()
will return its pointer result in a0.
1999-05-02 20:52:02 +00:00
kleink 4e0adc06d5 When using the SVR4 ABI, return pointer results in a0, too. 1999-05-02 20:34:04 +00:00
kleink 1bd013aa27 Oops, typo. 1999-05-02 20:18:17 +00:00
kleink d658cafb30 When using the SVR4 ABI, just return floating point values in fp0. 1999-05-02 20:17:20 +00:00
kleink bcd9993e4e When using the SVR4 ABI, return the pointer in a0, too. 1999-05-02 20:09:29 +00:00
kleink 5c1e52ca24 Fix spelling of Gauss' fist name. 1999-05-02 18:41:41 +00:00
kleink 3ea864fcc0 Bring $PATH information in sync with _PATH_DEFPATH. 1999-05-02 18:35:30 +00:00
kleink faa2202a49 Use __weak_extern() instead of an asm statement. 1999-05-02 18:26:43 +00:00
kleink 3fbdf21b11 Add a __weak_extern() macro. 1999-05-02 18:23:57 +00:00
kleink 5cbe23baad Garbage-collect VM_MBUF_SIZE leftover. 1999-05-02 18:12:32 +00:00
ragge a5ce96e985 EEEK! The signal changes a while ago caused the user struct to be
on top of the "red zone" in the kernel stack. This phenomenon has
caused many unexplainable things to happen the last year.
1999-05-02 17:28:43 +00:00
scottr b997ba8fa3 g/c some useless calculation on avail_remaining after its last reference. 1999-05-02 17:26:14 +00:00
scottr 2f45ab494c Remove a (harmless) duplicated line. 1999-05-02 17:23:07 +00:00
fvdl e254cfed65 Since our mbr code and bootselector are only 512 bytes long, only
read/write that much. Previously, too much was written back to
disk (although it didn't do any harm because of the sequence
of execution).

Also, upgrade the MBR type from 386bsd -> NetBSD if needed during
an upgrade operation.
1999-05-02 15:26:22 +00:00
pk e3a15d4321 * Add missing label.
* Avoid harmful delay-slot instruction, if we did not get a `bootinfo' thing.
* Compute correct location of `esym' for all three methods of debug
  symbol loading we support.
1999-05-02 14:47:33 +00:00
christos 797c581bbc Add bootinfo.h 1999-05-02 13:50:17 +00:00
fvdl 6a2c64449b Sanity check the drive number in %dl and use it instead of blindly
assuming disk 0.
1999-05-02 13:48:30 +00:00
fvdl 337300d376 Change partition type if we're installing into an old 386bsd partition.
Check if there's no active partition after MBR editing.
Ask for own MBR to be installed if we're booting from out of CHS range.
Ask for bootselector to be installed if > 1 OS, and configure it.
1999-05-02 13:07:15 +00:00
fvdl ec559f688b Be more careful with saving registers around the "out of CHS range" check. 1999-05-02 12:44:34 +00:00
fvdl 7d18a1432b Tighten check for bad drive numbers to avoid passing garbage to the
2nd stage loader.
1999-05-02 12:20:01 +00:00
fvdl c0042f7871 Because of space constraints, error messages got shortened. Reflect this
in the manual page.
1999-05-02 12:18:40 +00:00
fvdl cbf8e59c01 Make check if we need int13 extensions for the bootselector more correct. 1999-05-02 12:17:48 +00:00
fvdl 5a48cda98a Remove confusing entry about cylinder boundaries. 1999-05-02 12:17:13 +00:00
ross 255793452f Since fdisk/mbr contains a man page, we need to descend into it regardless
of which ${MACHINE} we are.
1999-05-02 04:42:47 +00:00
perseant 5415bc30ff Reversed (corrected) sense of superblock timestamp comparison; added the
disk address of the reported superblock to the "master superblock" line
of the report.
1999-05-02 00:26:01 +00:00
thorpej e9d133eb3b Adjust for cwdinfo changes. Pointed out by Bernd Ernesti. 1999-05-02 00:18:31 +00:00
ross 415d4c2f07 Fix fpgetmask.3 MLINKS braino. 1999-05-01 22:45:57 +00:00
is 69741f8d3d Fix typo. 1999-05-01 20:04:14 +00:00
kleink d34d0ccf51 * Change multiple inclusion protection symbols to use the standard naming
convention (not that it should matter for assembly).
* Provide an additional set of _C_LABEL() macros for ELF.
* Provide a PIC_PLT() macro for the benefit of ELF.
1999-05-01 19:20:52 +00:00
kleink 69845becd3 Use _C_LABEL() for [fs]ubail symbols. 1999-05-01 19:17:06 +00:00
kleink 3d292e1a35 Fix a label name botch introduced in rev. 1.92; Ignatios owes me a non-beer. 1999-05-01 19:11:34 +00:00
drochner e26f758e69 ed* -> we*, PR port-i386/7503 by Andrew Gillham <gillhaa@ghost.whirlpool.com> 1999-05-01 17:19:52 +00:00
veego 00fdd4b0bf Remove two brackets from the last commit. 1999-05-01 16:38:17 +00:00
ragge fc6020e344 Real-time clock is started on the same way on all CPUs, there is no
need for a special CPU-dependent hook for this.
1999-05-01 16:13:43 +00:00
pk e4bc3af22c No need to disable MII devices in previous. 1999-05-01 14:18:35 +00:00
minoura ac3360b0df Forgotten part in 1.7.
Copy /sbin/fsck_ffs with /sbin/fsck.
1999-05-01 10:59:55 +00:00
tsubai 8e885e921e Check "mac-io" and "/pci/mac-io". 1999-05-01 10:37:57 +00:00
tsubai 8dbaa0169e Find "mac-io" and "/pci/mac-io". 1999-05-01 10:36:08 +00:00
tsubai 5fff3dafe9 Use "compatible" property to match. 1999-05-01 10:23:42 +00:00
tron 890fa9e9be Regen from "GENERIC". 1999-05-01 10:21:22 +00:00
tron 3420cb646c Add ext2 filesystem. 1999-05-01 10:20:01 +00:00
scottr 009cda3fb2 Fix a problem with bounds_check_with_label(), noted by Greg Oster: we
had been returning (-1) as an error instead of 0.  This is the result of
not keeping up with its i386 ancestor, which it was originally derived
from back in 1993.  Re-sync.
1999-05-01 09:26:32 +00:00
scottr 9e69eadd92 Rewrite read_mac_label() and friends, simplifying the code considerably
in the process.  Less is truly More.
1999-05-01 09:12:47 +00:00
cgd a0a7b0de30 protection-related bits -> osf1_prot.c 1999-05-01 05:49:01 +00:00