Commit Graph

102324 Commits

Author SHA1 Message Date
lukem 17d72c8a6b use NETBSDSRCDIR as appropriate 2002-09-18 03:54:26 +00:00
lukem 706cee2abf need bsd.own.mk for NETBSDSRCDIR 2002-09-18 03:23:00 +00:00
grant f44aa289d5 replace spaces in urlphy* with tabs. from Lubomir Sedlacik
<salo@Xtrmntr.org> in misc/18323.
2002-09-18 03:12:52 +00:00
lukem 58a44e7ae0 use NETBSDSRCDIR as appropriate 2002-09-18 02:51:46 +00:00
lukem 3ea2e21f82 enable USERCONF by default; it's small and extremely useful to have available. 2002-09-18 02:43:53 +00:00
thorpej cf0393ac12 Add support for restartable atomic sequences. Rearragne the tail
of cpu_switch() slightly so we can reenable interrupts a little
earlier.
2002-09-18 02:35:08 +00:00
lukem 789c0e4589 these files are managed elsewhere, and are just bitrotting here; remove them. 2002-09-18 02:34:53 +00:00
lukem 6ef0105b93 regen for: enable USERCONF 2002-09-18 02:20:50 +00:00
lukem b31e856d42 enable USERCONF 2002-09-18 02:19:19 +00:00
lukem 9ec54c7baa regen for: enable USERCONF 2002-09-18 02:16:01 +00:00
lukem b07e6c87c0 enable USERCONF 2002-09-18 02:15:09 +00:00
chs c76a265365 add the options for all the FirePower models.
add the "openfirm" device, since we're got openfirmware.
2002-09-18 01:55:02 +00:00
chs f5191984f6 use splnet() around the body of ofnet_read(). this is logically the
receive interrupt handler since it passes received packets to the
interface's input handler.  that ends up scheduling a network softint
and queuing the packet on the interface's receive queue (in that order),
so if softnet isn't blocked at this point then softnet() doesn't find
the packet until it's triggered again by something else.
remove all vesitages of dk_establish().
2002-09-18 01:47:08 +00:00
chs 658ce04ab1 fix error checking in ofdisk_open().
remove all vesitages of dk_establish().
2002-09-18 01:46:40 +00:00
chs 128b037bfc remove all vesitages of dk_establish(). 2002-09-18 01:46:23 +00:00
chs c0b553502c build ofwboot as an ELF binary. 2002-09-18 01:45:49 +00:00
chs cf9ab742f6 fix parsing of pathnames with a partition specifier.
reformat for readability.
2002-09-18 01:45:25 +00:00
chs b7878de767 add OF_boot(), call it if the user says "reboot".
try loading "netbsd.ofppc" first, to allow sharing root fs.
2002-09-18 01:45:04 +00:00
chs 0464f50aa5 reformat for readability. 2002-09-18 01:44:29 +00:00
chs b5e02d5677 implement device_register() for ofppc.
use ofcons_cnprobe().
2002-09-18 01:44:12 +00:00
chs 976b0910c4 fix the ofppc interrupt code to work at all. the previous code was
confusing an IPL number with an IRQ mask.  now we do like the x86 code.
2002-09-18 01:43:07 +00:00
thorpej 1dd1ce77c1 Remove more old toolchain bits. 2002-09-17 23:24:52 +00:00
thorpej 3b08abd277 * Eliminate the USE_NEW_TOOLCHAIN variable. Instead, split it into
two variables:

  TOOLCHAIN_MISSING -- set to "yes" on platforms for which there is
  no working in-tree toolchain (hppa, ns32k, sh5, x86_64).

  EXTERNAL_TOOLCHAIN -- if defined by the user, points to the root of
  an external toolchain (e.g. /usr/local/gnu).  This enables the cross-build
  framework even for TOOLCHAIN_MISSING platforms.

  If TOOLCHAIN_MISSING is set to "yes", MKGDB, MKBFD, and MKGCC are all
  unconditionally set to "no", since the bits are not there to build.

  If EXTERNAL_TOOLCHAIN is set, MKGCC is unconditionally set to "no",
  since the external toolchain's compiler is not in-sync with the
  in-tree compiler support components (e.g. libgcc).

* Set MACHINE_CPU much earlier in bsd.own.mk, so that more tests in
  that file can use it.
2002-09-17 23:18:25 +00:00
christos c524f280a6 Use FD_CLOEXEC instead of `1' and don't cast. 2002-09-17 21:37:13 +00:00
christos 1cb2fd8bb0 document FD_CLOEXEC from FreeBSD. 2002-09-17 21:35:37 +00:00
atatat 28f3a22acb Default using the value of machdep.booted_kernel from sysctl() if it
is available and points to a file.  The value of "/netbsd" is still
the ultimate fallback.
2002-09-17 20:34:08 +00:00
atatat 4d2c9bf2c0 Make error messages a little more informative. Add -R option to
recurse into submaps (a kernel thing) as suggested by Chuck Cranor,
with the output from these entries indented.  Clean up and rework code
slightly, to make the recursion task much easier.  Also, add a note to
the BUGS section in the man page thats mentions that stuff "just won't
work right" unless pmap is reading from the proper kernel.
2002-09-17 19:54:28 +00:00
drochner ead5c05ddb another SETFL->SETFD 2002-09-17 19:50:48 +00:00
drochner 8b4aa8a489 actually do the close-on-exec 2002-09-17 19:38:26 +00:00
briggs efcea71648 Add ./var/log/wtmpx 2002-09-17 18:42:59 +00:00
fredb 09e185c208 Expand on the difference between ``build.sh -d'' and ``make install'',
as requested by Brian Stark in PR toolchain/18228 (which this closes).
2002-09-17 16:35:39 +00:00
uwe 917eac2212 RCSID should go to .ident section.
While here add __KERNEL_RCSID.
2002-09-17 15:28:28 +00:00
darrenr 04978010b2 From FreeBSD (1.164) courtesy of Maxim Konovalov:
"In rare cases when there is no room for ip options ip_insertoptions()
can fail and corrupt a header length.  Initialize len and check what
ip_insertoptions() returns."
2002-09-17 13:10:59 +00:00
dbj 80437c10e3 add a HISTORY section, mentioning MkLinux 2002-09-17 08:14:22 +00:00
dbj 0270296979 when creating a partition, set bzb bits appropriate for netbsd root 2002-09-17 07:42:55 +00:00
junyoung 9754fa4d8e Make immediate binding work again by actually implementing
_rtld_relocate_plt_objects(). Note that this is for i386 only;
any efforts to make it work on other platforms are left to
those who are using them...
2002-09-17 07:29:46 +00:00
toshii 0a4b948848 Make sure to write back correct FP state. Fixes port-i386/17927. 2002-09-17 07:05:09 +00:00
itojun ce04d2f721 fix comment, sync with kame 2002-09-17 06:32:49 +00:00
itojun 17e856961c don't quit while creating X11 listening socket.
address (first) problem described in
http://mail-index.netbsd.org/current-users/2002/09/16/0005.html
2002-09-17 06:26:18 +00:00
itojun cf50f0c768 reject SIOCAIFADDR if embedded address is in private address range. sync w/kame 2002-09-17 05:56:37 +00:00
itojun ca5a36677b split white space and single line policy processing into separate
functions.  from provos
2002-09-17 05:07:21 +00:00
itojun 0b2d2fe3d7 daemon should not change the directory. from provos 2002-09-17 04:54:36 +00:00
briggs b3fa829f51 Get rs6000.h from gnu/dist/toolchain/include instead of gnu/dist/include. 2002-09-17 03:55:40 +00:00
oster 8fd475e54a RF_DEBUG_ACCESS and RF_DEBUG_QUIESCE make things a little smaller. 2002-09-17 03:54:42 +00:00
oster 1b0ab96194 Introduce and use RF_DEBUG_QUEUE (for debugging the various queueing
types available in RAIDframe).
2002-09-17 03:43:34 +00:00
oster aad979b7eb Cast the RF_DEBUG_RECON net a little wider. 2002-09-17 03:30:33 +00:00
oster 1b1653573f Rename RF_DEBUG_RECONBUFFER to RF_DEBUG_RECON in order to facilitate
disabling other stuff without having to introduce another #define.
2002-09-17 03:21:40 +00:00
oster fe703e624d Were these functions actually called by anything, I might have considered
keeping them...
2002-09-17 03:11:41 +00:00
oster 5dced80d48 Use RF_DEBUG_DISKQUEUE to eliminate more debuggin printfs that the
vast majority of the world will never see much less care about.
2002-09-17 02:55:12 +00:00
oster e8ffb40a0e Those of us who might be interested in debugging internal memory usage
of RAIDframe can use RF_DEBUG_MEM.  I suspsect the rest of the world would
rather use that 14K of kernel memory for something else.
2002-09-16 23:40:57 +00:00