Commit Graph

86792 Commits

Author SHA1 Message Date
thorpej 693eff0e2e No need to set MACHINE now that config(8) sets it. 2001-10-23 19:55:56 +00:00
oster 4a785b3509 Fix a memory leak: when unlocking make sure we release the memory associated
with the lock begin removed!

Reviewed by thorpej.
2001-10-23 19:54:53 +00:00
thorpej 9e91d48638 This file only set MACHINE, which is now set by config(8); delete it. 2001-10-23 19:52:49 +00:00
thorpej 2a073cf8d0 Set MACHINE_ARCH explicitly in Makefiles for which it is constant.
Also, since config(8) now explcitly sets MACHINE, there is no need
to do it here in the Makefile.
2001-10-23 19:42:16 +00:00
thorpej ba217c4196 Set MACHINE_ARCH explicitly in Makefiles for which it is constant.
Also, since config(8) now explcitly sets MACHINE, there is no need
to do it here in the Makefile.
2001-10-23 19:26:41 +00:00
thorpej 2c5ebcddfb Use MACHINE, not TARGET_MACHINE. 2001-10-23 18:57:32 +00:00
thorpej b2cb6c26ef Don't set TARGET_MACHINE, set MACHINE, instead. MACHINE is consistent
with what other Makefiles use, and as a result, make cross-compiling
kernels a little easier.
2001-10-23 18:56:42 +00:00
kleink 7ff4c19dee Inspired by rev. 1.18: consistency, pull in <assert.h> for _DIAGASSERT(). 2001-10-23 18:51:05 +00:00
kleink 04b133da92 As discussed with Luke, add a short _DIAGASSERT(3) example.
Fixes PR lib/14324.
2001-10-23 18:45:13 +00:00
perry b159dba912 Fix a mysterious
csh: Permission denied
	csh: Trying to start from "/var/log"
message.

This was caused by the
	su -m uucp -c "uustat -a"
line being executed in a directory not readable by uucp. The login
shell implied by -m is of course root's shell, /bin/csh, which doesn't
like not being able to read the dir it is in, and thus the errors. By
temporarily cd'ing to /tmp the problem is fixed.

What is really needed, of course, is a way to tell su what shell you
want to use explicitly, especially for use in scripts where the
vagaries of which shell the login executing the script uses should not
be depended on. No such method exists. One should be added.

Indeed, it might also be nice to have a way of telling su to directly
execute a command with -c rather than using a shell to interpret the
command.

I cannot find any standards documents that specify su at the moment,
though. SuSv2 is silent on su(8).
2001-10-23 18:39:03 +00:00
augustss d9f173b146 Make it compile with debug on. 2001-10-23 17:58:15 +00:00
augustss ce08f760a6 Fix URL. From PR misc/14329. 2001-10-23 17:40:00 +00:00
perry 0d724a7b06 stylistic nit: dump -W, not dump W 2001-10-23 17:34:53 +00:00
thorpej a2bf3bc31b Pull in <bsd.own.mk> to get the correct toolchain definitions for
the USE_NEW_TOOLCHAIN case.
2001-10-23 17:32:35 +00:00
thorpej 8f508df026 When setting MACHINE_GNU_PLATFORM for ARM ports, we need compare
MACHINE_GNU_ARCH (not MACHINE_ARCH) to "arm", otherwise the GNU
platform won't be set properly if OBJECT_FMT=ELF.
2001-10-23 17:15:21 +00:00
matt e1c1698075 Regen from toolchain2netbsd 2001-10-23 16:53:45 +00:00
christos 8101253d41 KNF. 2001-10-23 16:43:33 +00:00
christos 9c0bd73ac9 PR/14332: Shingo WATANABE: Regognize new ELFOSABI_FREEBSD branded executables. 2001-10-23 16:41:36 +00:00
tv 4adbe6d1df .include <bsd.subdir.mk> in order to inherit no-op standard targets like
the other Makefiles here do.  This really isn't the Right way to do it in
the long run (better to use <bsd.prog.mk> with NOPROG), but it works.
2001-10-23 16:30:35 +00:00
mjacob 8dd789d511 Comment out some redundant initializations to zero. 2001-10-23 16:24:33 +00:00
fredb 8dd298e978 Get the information for the "Release" field via running "uname" on the
host that's doing the filing (with a suitable comment for non-usual
cases), as suggested by Don Yuniskis in PR 14217 and lukem on tech-pkg.
Also closes PR's 13938, 14104.
2001-10-23 14:29:07 +00:00
rearnsha 4ea0954941 Make sure the compile directory doesn't get purged by cvs updates 2001-10-23 13:35:10 +00:00
itohy 361bb97359 Support panpot on OPL3. Now this device is a stereo instrument. 2001-10-23 13:09:43 +00:00
itohy 4ad7b15d39 Add more MIDI control change numbers. 2001-10-23 13:07:09 +00:00
wiz 2893e5922b Don't xref ourselves.
Noted by YAMAMOTO Takashi on tech-userlevel.
2001-10-23 09:57:10 +00:00
kleink ed4867ab7e Reduce the ties to `inode'. 2001-10-23 09:26:59 +00:00
jmc 7ed7336587 Fix typo in definition of PARSEFILE. It should refer to PARSEDIR (and not
itself twice) when describing the variables lifetime
2001-10-23 06:32:38 +00:00
thorpej 52b15119b0 Add the correct model string for the Total Impact briQ. 2001-10-23 04:19:34 +00:00
thorpej 42e835d381 Clean up the NetBSD/ofppc boot loader:
- Garbage collect some cruft that doesn't apply to the ofppc port.
- Make our OFW-friendly alloc.c more like the libsa alloc.c
- Generally reduce some differences where we can between this
  boot loader and the NetBSD/macppc boot loader.
- Use libsa's loadfile().
- Fix DDB symbol loading -- Add a magic number after the args string
  so the kernel knows the symbols are there, provide both ssym and
  esym, and make sure all these values are aligned to a 4-byte boundary.
- Add support for MS-DOS file systems.
2001-10-23 03:31:25 +00:00
thorpej 506d233170 Add machine-dependent defns for libsa's loadfile(). 2001-10-23 03:02:03 +00:00
thorpej dc1a120d26 ofwr_init(): don't clobber r7 -- early startup code needs it to find
DDB symbols.
2001-10-23 02:59:09 +00:00
mycroft 78cb33d965 Should have done this years ago...
Add a warning about the separability of the PROT_* flags.
2001-10-23 02:10:23 +00:00
thorpej 718fdfe48f Add support for fetching DDB symbols from the boot loader. This requires
changes to the boot loader (forthcoming).
2001-10-23 01:36:32 +00:00
lukem b2a1c14478 - add _PATH_USERMGMT_CONF. resolves [bin/14305]
- add _PATH_PASSWD_CONF to be consistent with almost all other _PATH_xxx_CONF
  defines, and change from using _PATH_PASSWDCONF to the former.  keep the
  latter for compatibility, although arguably it could be removed because
  it was never in a release and was only used in one file in the tree.
2001-10-23 00:25:20 +00:00
lukem 05846d208c sort _PATH_CLOCKCTL 2001-10-22 23:57:12 +00:00
wiz dffa59c8f5 Sort sections, sort SEE ALSO, standardize section header, improve markup in
one place.
2001-10-22 23:51:12 +00:00
wiz 2a5b4efdf5 sort sections 2001-10-22 23:47:01 +00:00
thorpej 624e16931f Begin the task of splitting up the ofppc port into common code
and platform-specific code, similar to how the Alpha port is
split up.
2001-10-22 23:01:17 +00:00
kleink bec52f0825 Add a reference to recv(2) as well. 2001-10-22 22:29:39 +00:00
augustss 94a6eb942b Xref. 2001-10-22 22:23:44 +00:00
augustss dc41f2f427 Change usbhidctl to take numeric usage names. Add examples in the man
page.  From Dave Sainty <dave@dtsp.co.nz>.
2001-10-22 22:03:49 +00:00
bjh21 8523ec52e8 Replace Mark Brinicombe's NetBSD/arm glue with Richard Earnshaw's, since the
latter is likely to be easier to get into the GNU sources.  I believe the only
functional change is the loss of a working get_longjmp_target().
2001-10-22 21:09:47 +00:00
kleink 38c46d1f11 Sprinkle some __restrict into <sys/socket.h>. 2001-10-22 20:59:02 +00:00
gmcgarry 18a46c1d6c mount.9 doesn't exist (yet?) 2001-10-22 20:47:05 +00:00
gmcgarry 3cda02af37 wsemul.9 was merged with wsdisplay.9 2001-10-22 20:43:03 +00:00
jdolecek 7a27cbb4a3 De-__P()ify. Suggested by Lennart Augustsson. 2001-10-22 20:31:26 +00:00
gmcgarry ec7180252d fnctl -> fcntl 2001-10-22 19:22:42 +00:00
bjh21 44b78e0623 Correct a comment: NetBSD uses an undefined instruction as a breakpoint,
not a SWI.
2001-10-22 19:07:10 +00:00
bjh21 27c601625f Apply Richard Earnshaw's gdb.step.patch, which adds software single-step
support to GDB ARM targets in general, and make corresponding changes to
NetBSD-specific code.

The first half of this has already been send to gdb-patches by Richard.
The second half is irrelevant to them since they don't yet have NetBSD/arm
support in their tree yet.
2001-10-22 18:58:50 +00:00
kleink 34d9b38549 libc.so.12.80. 2001-10-22 18:11:43 +00:00