Commit Graph

30602 Commits

Author SHA1 Message Date
thorpej 8e341ad358 If loading an Elf kernel, load the symbol table immediately after
the kernel image.
1997-07-25 00:09:01 +00:00
thorpej f65454b2a6 Set up a version 1 bootinfo for the kernel. 1997-07-25 00:07:56 +00:00
thorpej f56c3c315f More DDB support:
- Add support for software single-stepping (Alpha does not have hardware
  support for single-stepping)
- Alpha uses Elf64 symbols.
1997-07-25 00:06:25 +00:00
thorpej 08d4c7e688 Update alpha_init() prototype; takes two more args. 1997-07-25 00:04:36 +00:00
thorpej 264f1c5acc Define the bootinfo magic number and bootinfo (version 1) structure. 1997-07-25 00:03:47 +00:00
thorpej 4d01f6fbee Add some DDB glue:
- Allow BUGCHK and BPT instruction faults in kernel mode if DDB is enabled,
  since they are used to invoke the debugger.
- Add a comment about how we'd like to invoke DDB on a trap panic condition,
  in a perfect world.
1997-07-24 23:55:01 +00:00
thorpej 020d0208d7 - Two additional arguments to alpha_init(): bootinfo magic number, and
pointer to boot program's bootinfo structure.  If the bootinfo magic
  matches, save a copy of the bootinfo structure, and use it to determine
  booted kernel name, the boot flags, and the location of the kernel symbol
  table.  If the magic number does not match, revert to the old method
  of finding this information (sans symbol table info).
- Add some additonal DDB glue.
1997-07-24 23:52:10 +00:00
christos eab39f597e Commit am-utils6.0a8 1997-07-24 23:16:10 +00:00
phil aa70cacc5f Apply patch from PR 1474, checking results of reading from the
bounds file.
1997-07-24 22:45:23 +00:00
christos 5feec48523 Import of Erez Zadok's am-utils 1997-07-24 21:19:53 +00:00
jtc 5dbbebc601 Revert last change, some folks have reported problems 1997-07-24 19:10:38 +00:00
bouyer 3bf1a6ad00 ufs_getlbns needs an array of NIADDR+1 struct indir's, and not NIADDR.
This fixes a panic due to stack corruption when reading larges files.
1997-07-24 17:18:03 +00:00
phil ffdae81455 Add parameter to call of pw_copy, don't use it, just pass NULL. 1997-07-24 08:54:56 +00:00
phil e807a0729d Changes to close PR3806. (Different than in PR.)
-- don't lock passwd until data is collected.
-- save a copy of original pw data for pw_copy checking
-- Try several times to lock passwd
1997-07-24 08:53:48 +00:00
phil 6907a00e10 Changes to close PR3807. (Different than in PR.)
-- don't lock passwd until data is collected.
-- save a copy of original pw data for pw_copy checking
-- Try several times to lock passwd
1997-07-24 08:53:06 +00:00
phil 01d72f4add Change pw_copy to take an optional 4th parameter (old_pw), a pointer
to a passwd structure.  If a good pointer, make sure old entry in file
is identical to passed passwd (old_pw).  If not, abort.

Update documentation, bump major version due to change to pw_copy.
1997-07-24 08:50:31 +00:00
phil d5c2f1b21b Update pw_copy prototype for changes for PR3806, 3807. 1997-07-24 08:47:48 +00:00
scottr 35884534c1 Remove HOSTED_* targets; define and use CPP and SIZE symbols, as inspired
by cgd's recent changes for the Alpha port.
1997-07-24 05:48:51 +00:00
scottr 0755be1f84 Use optimized _splraise() implementation, from mac68k/intr.h 1997-07-24 05:43:08 +00:00
augustss 45bde16e1a Fix paren typo so `ed' can edit files again. 1997-07-23 23:39:19 +00:00
thorpej b3fb623d7f Pull SYN_cache_branch down onto the main line. 1997-07-23 21:31:27 +00:00
thorpej 7ed16a75d1 Pull SYN_cache_branch down to the main line. 1997-07-23 21:30:11 +00:00
thorpej efa8881dbe Pull SYN_cache_branch down into the main line. 1997-07-23 21:26:40 +00:00
thorpej 70e9bf3e24 Oops, somehow the last commit got screwed up. 1997-07-23 21:02:39 +00:00
thorpej 2434f06806 - __RCSID/__COPYRIGHT/prototype police.
- Fix compiler warnings.
1997-07-23 20:58:36 +00:00
thorpej 865d47e9aa Add argument to .OS macro. 1997-07-23 20:27:16 +00:00
thorpej a45e75a084 Clean up usage of __COPYRIGHT() macro. 1997-07-23 20:25:13 +00:00
thorpej d44f4bba41 Build with WARNS. 1997-07-23 20:23:16 +00:00
thorpej 35a6561e44 __RCSID()/__COPYRIGHT()/prototype police. 1997-07-23 20:22:48 +00:00
kleink cce3084228 Add WARNS=1. 1997-07-23 20:09:25 +00:00
kleink db21fa89df Document `-H' flag. 1997-07-23 20:08:53 +00:00
kleink df138b3d94 * __RCSID()/__COPYRIGHT() police.
* Prototypes; fix compiler warnings.
* setlocale(LC_ALL, "") on startup.
* Add XPG4.2 `-H' flag.
1997-07-23 20:08:03 +00:00
thorpej a0d7686340 RCS id police. 1997-07-23 18:45:03 +00:00
thorpej 6dce360f0e Fix an oversight and a typo. 1997-07-23 18:42:40 +00:00
thorpej 8f8a2e37ef - Rewrite this program to use libkvm, not grovel /dev/kmem manually. Now
works on crash dumps, as well as live kernels.
- Fix a few 64-bit bugs.
- Add prototypes.
- Fix compiler warnings.
- Fix potential bad pointer arithmetic interaction with sort comparison
  function.
- Build with WARNS.
- Update copyright.
1997-07-23 18:20:46 +00:00
thorpej a2d326c63c Fix potential bad pointer arithmetic interaction with sort comparison
function.
1997-07-23 16:41:43 +00:00
thorpej b8a640f6ab Fix thinko in previous. 1997-07-23 16:27:50 +00:00
oki a149e6ab2f MAKEDEV(8), written by MINOURA Makoto. 1997-07-23 15:17:06 +00:00
pk 4459db6815 Kill a bogon in timeout loop. 1997-07-23 12:00:12 +00:00
bouyer f50739b7b5 Back out previous change. This was for bouyer-scsipi, and not for the trunk. 1997-07-23 10:50:29 +00:00
is 449feee671 Fix the mess I apparently have done committing 1.52 of autoconf.c
In particular: add back the 1.50->1.51 change, and add back Amiga audio.
Thanks to Thorsten Frueauf, who pointed this out in PR 3911.
1997-07-23 10:47:12 +00:00
is 181debe530 Fix a complaint by Eric Delcamp on port-amiga... looks like Thorsten Fruehauf
didn't find all occurences of unprotected is_draco(), and I didn't look hard
enough, either, when fixing.
1997-07-23 10:19:42 +00:00
thorpej aba777d837 Garbage-collect some now-incorrect text. 1997-07-23 08:39:33 +00:00
thorpej 1f6eefecf8 - Rewrite this program to use libkvm, not grovel /dev/kmem manually. Remove
all of the old 4.{2,3}BSD VM goop.
- Fix a few 64-bit bugs.
- Add prototypes.
- Fix compiler warnings (including a Metric *load of printf formats).
- Build with WARNS.
- Update copyright.
1997-07-23 08:19:59 +00:00
cgd cfe8f450c7 update these to use the new 'correct' names for functions/constants
in bus.h.
1997-07-23 08:05:36 +00:00
cgd 9fae9984b0 remove a couple of outdated comments (pointed out by Kenneth Stailey 1997-07-23 07:56:05 +00:00
cgd 28b1691f4d when i was documenting the bus_space interfaces (the document
was sent to developers, but will eventually become a man page or
something), i noticed a few in various names:
(1) _map and _alloc should take a flags argument, rather than a
    'cacheable' boolean.
(2) BUS_BARRIER_* flags should be BUS_SPACE_BARRIER_*.
(3) bus_space_copy_* should be bus_space_copy_region_* for consistency
    with other region ops.
Fix all of these (in a backward-compatible way, at least for now).  Redefine
internal usees of those names to use the new names.  Also, while at it,
clean up the copy functions (remove unnecessary variables) and make sure
that they and other functions conform to the spec.
1997-07-23 07:47:51 +00:00
bouyer 4022e46acf Forgot a scsi->dev/scsipi. 1997-07-23 07:41:56 +00:00
scottr ef7df42303 Since spltty() will not lower the spl, only raise it, we need to
use splx() to undo the effect of the splzs() in zstty_softint().
1997-07-23 07:20:01 +00:00
scottr 3518ffabce The PA of the framebuffer may not be page aligned, so make sure to
do this before comparing against the result of pmap_extract().
1997-07-23 07:17:52 +00:00