Commit Graph

97125 Commits

Author SHA1 Message Date
lukem 1bdd92ee90 user visible stuff:
- add `-B s2bno', to provide the starting block for the secondary bootstrap.
  intended for use on platforms where the blocks of the stage2 bootstrap
  are hardcoded into the stage1 bootstrap (currently: sparc, sun2)
- don't support `-b s1bno' for sparc or sun2, since the primary is always
  at a fixed location on the disk.
- if `filesystem' is a regular file, use fsync(2) instead of sync(2)

code changes:
- add hardcode_stage2(), which uses -B s2bno and the size of the
  provided secondary bootstrap (as an actual file, not as part of the
  `filesystem' argument) to provide a sequential list of blocks from s2bno,
  each block being the appropriate file system size (from
  params->fstype->blocksize)
- add blocksize and needswap run-time parameters to ib_fs
- in *_match(), set params->fstype->blocksize to the underlying block size
  (8KB for raw), and params->fstype->needswap as appropriate
- rename IB_STARTBLOCK to IB_STAGE1START, and add IB_STAGE2START
- use hardcode_stage2() to implement raw_findstage2() and IB_STAGE2BLOCK
  support for ffs_findstage2()
- improve some comments, add some prototypes, ...
2002-05-14 06:18:50 +00:00
itojun c8ade0d0d1 check required UID/GID (named and ntpd at this moment) 2002-05-14 05:31:11 +00:00
itojun 242ce0ff66 typo in usage 2002-05-14 05:26:13 +00:00
scottr 6cd097bc12 Pack the RMP packet layout definitions -- with ELF, 32-bit words
are by default aligned on 32-bit boundaries. Update a semi-related
comment with this info.
2002-05-14 04:58:56 +00:00
matt 0dc8ee943d Eliminate more commons or redundant declarations. 2002-05-14 02:58:32 +00:00
matt fed7110558 Commit out code that's no longer used. 2002-05-14 02:46:22 +00:00
lukem 86af66583e correct a couple of comments 2002-05-14 02:41:34 +00:00
eeh e8ff5b27c8 Trapframes only have locals or ins if the kernel is compiled DEBUG. 2002-05-14 02:34:14 +00:00
eeh 1d52c1bd50 Only save locals and ins in trapframes for DEBUG kernels. 2002-05-14 02:23:07 +00:00
matt 84eb329d14 Eliminate commons (including many used ones). Clean up variable references. 2002-05-14 02:03:00 +00:00
lukem 6c34850421 add sparc64 stuff 2002-05-14 01:18:50 +00:00
matt 855ee2e758 #include <db/db_extern.h> 2002-05-14 00:14:53 +00:00
matt 109792dc5c Eliminate commons. (including a few unused or mismatched ones). 2002-05-14 00:08:21 +00:00
matt 0d14655c1c Add local definition of adosfs_vnodeop_p 2002-05-14 00:05:56 +00:00
matt aefe6a5034 Eliminate common. 2002-05-13 23:50:32 +00:00
eeh fc5fdc8819 Add rtc@ebus. 2002-05-13 22:38:01 +00:00
thorpej adbd145bda Make alpha_pal_halt, alpha_pal_wrent, and alpha_pal_wrvptptr no-profile. 2002-05-13 21:38:30 +00:00
thorpej 456615e083 Make sigcode and proc_trampoline no-profile. 2002-05-13 21:38:09 +00:00
thorpej ee76016e40 Make the sigcode no-profile. 2002-05-13 21:37:11 +00:00
jdolecek b631b39a19 Change the reset code to block interrupts and use polled commands; also
eliminate the kthread now that it's not necessary, and use callout instead.
This seems to fix the X mouse freeze problem.

Testing and some debug printf fixes by Martin Husemann.
2002-05-13 21:18:51 +00:00
matt 5916ff65fd Eliminate commons. 2002-05-13 21:11:23 +00:00
eeh 7b70e3b8fb Fix off-by-one error in iommu_dvmamap_load_raw() where if a DMA segment
has just one byte on a page the page is never mapped into the IOMMU.
2002-05-13 21:01:15 +00:00
matt 0a6d35b7ed Nuke local extern label_t *db_recover; it's now in <ddb/db_extern.h> 2002-05-13 20:30:07 +00:00
matt 98b5a4329f Add db_recover 2002-05-13 20:17:20 +00:00
matt a73056a704 Fix Makefiles to refer to proper kernel name (again). 2002-05-13 18:16:14 +00:00
kleink 241f6932ee * Use uint{8,32}_t from <netinet/in.h> where applicable; use private
fixed-width integer types otherwise.
* Protect RFC 2292 prototypes, which are not XNS5.2/POSIX-2001; also, define
  size_t for inet6_rthdr_space().
2002-05-13 15:20:30 +00:00
kleink 0f1faf8e09 IPV6PORT_* aren't in the reserved namespace either. 2002-05-13 14:25:13 +00:00
kleink d258299876 Check _POSIX_C_SOURCE as well. 2002-05-13 14:15:34 +00:00
matt c27fdbcdbe Don't panic is no class-code, just return. Needed for NetraX1. 2002-05-13 13:59:21 +00:00
kleink a317e750c3 Update two comments. 2002-05-13 13:52:31 +00:00
kleink 1b8d8d79a8 Define uint{8,32}_t locally, per XNS5.2/POSIX-2001, and use them in this
header where applicable; use private fixed-width integer types otherwise.
2002-05-13 13:34:32 +00:00
martti 53761afc9a Run /etc/postinstall if it's found 2002-05-13 12:43:16 +00:00
augustss 4c3acbe183 Two minor fixes from OpenBSD. 2002-05-13 12:10:04 +00:00
pk bb42415ffa Check whether a console is attached before sending data upstream. 2002-05-13 09:42:12 +00:00
hannken 616dac6232 Add support for NetMos NM9805 1284 Printer port.
Tested by David Kwok <dkwok@iware.com.au>.
2002-05-13 09:19:57 +00:00
kleink 01cffcf64c Sync with headers: u_int16_t -> in_port_t. 2002-05-13 08:23:58 +00:00
matt 44b3464a48 debug0, debug1, debug15 are defined elsewhere. XXX there needs to a
better was of doing this.
2002-05-13 07:13:58 +00:00
matt bab0fa8919 Remove redundant declarations. 2002-05-13 07:12:21 +00:00
matt 7b64740a3a # is the comment character, not $. 2002-05-13 07:10:26 +00:00
matt f62dc5c664 Remove redundant declarations. 2002-05-13 07:04:24 +00:00
matt a0b018ab58 Remove redundant declarations. 2002-05-13 06:41:30 +00:00
elric 7836706b6a Modified pwmatchline to return the value to pw_class. This is not
strictly necessary for the install floppy, but it enables one to
build a rescue floppy with ssh(1) on it.  ssh dereferences pw->pw_class
and will therefore core dump if it is not set to something.

Reviewed By: simonb@NetBSD.ORG
2002-05-13 06:38:14 +00:00
martti 67c70b98e1 ipf regression tests are in regress/sys/kern/ipf 2002-05-13 06:35:47 +00:00
martti c4bcc0d1e6 Added ipf regression tests 2002-05-13 06:34:13 +00:00
martti 2176de5530 Import IPFilter 3.4.27 2002-05-13 06:33:09 +00:00
matt c8f0da6300 Eliminate redundant declarations. 2002-05-13 06:26:45 +00:00
martti 1286035f0a Import regression tests into basesrc/regress/sys/kern/ipf 2002-05-13 06:23:30 +00:00
matt d7ee0a910a Remove declarations for variables that defined elsewhere in MPC6XX code. 2002-05-13 06:17:36 +00:00
simonb ada33c9eac Oops, remove an #endif leftover from the previous change. 2002-05-13 06:11:52 +00:00
matt d210f0530b Eliminate commons. 2002-05-13 06:05:32 +00:00