Commit Graph

87799 Commits

Author SHA1 Message Date
uwe
0c392b9e2f Move dvma_cachealign to cache.c where it belongs and declare it in
cache.h, so that kernel can be linked without iommu support (for the
sake of microSPARC-IIep that has a very different iotlb).
2001-11-13 03:04:50 +00:00
lukem
dab6ef8b56 add RCSIDs (including regeneration of files as appropriate) 2001-11-13 02:07:52 +00:00
lukem
4f2ad95259 add RCSIDs 2001-11-13 00:56:55 +00:00
lukem
64a432d965 remove unnecessary #if NFOO > 0 .... #endif wrappers 2001-11-13 00:49:35 +00:00
christos
d1dcd2f401 PR/8657: z@rentaboat.se: alarm takes more seconds that it can handle.
This is a followup to PR/14558.

    - itimerfix(9) limited the number of seconds to 100M, before I changed
      it to 1000M for PR/14558.
    - nanosleep(2) documents a limit of 1000M seconds.
    - setitimer(2), select(2), and other library functions that indirectly
      use setitimer(2) for example alarm(3) don't specify a limit.

So it only seems appropriate that any positive number of seconds in
struct timeval should be accepted by any code that uses itimerfix(9)
directly, except nanosleep(2) which should check for 1000M seconds
manually. This changes makes the manual pages of select(2), nanosleep(2),
setitimer(2), and alarm(3) consistent with the code.
2001-11-13 00:34:21 +00:00
lukem
ea1cd7eb08 add RCSIDs 2001-11-13 00:32:34 +00:00
lukem
f85a625206 add RCSIDs 2001-11-13 00:12:56 +00:00
lukem
b60687cbee add RCSIDs 2001-11-13 00:00:58 +00:00
lukem
34d65a3414 add RCSIDs 2001-11-12 23:49:33 +00:00
lukem
f5e6ca8797 add RCSIDs 2001-11-12 23:22:57 +00:00
tv
b5cd2489b2 Major overhaul of src/tools and host toolchain. Summary of changes:
* Rewrite src/tools Make logic to work like the rest of the tree wrt
  "dependall" and "install".  The old "make build" hack is gone.

* Remove the MKTOOLS logic.  This was linked to the "make build" hack,
  and was only needed because TOOLDIR originally had no writable default.

* Redo the GNU configure/make logic to make it fit reasonably in a
  BSD make wrapper.  Use new ${.ALLTARGETS} variable to scan for
  targets in $(srcdir), and mark them with .MADE: to prevent rebuilding.

* Only build cross tools in src/tools; remove some messy logic in
  src/usr.* and src/gnu/usr.* that would do target filename rewriting
  (improves consistency and readability).

* Add the ability to build cross gdb at tool build time by setting
  MKCROSSGDB (default no) to "yes" in mk.conf.

* Add src/tools/groff and set up paths to work with this cross groff.
2001-11-12 23:16:17 +00:00
lukem
a13b5687d9 add RCSIDs 2001-11-12 23:08:56 +00:00
christos
731fd0e33d Protect printf() like functions and b{copy,zero,cmp} from being defined
in userland.
2001-11-12 23:08:13 +00:00
lukem
1ac69d9cb3 add RCSIDs 2001-11-12 22:54:03 +00:00
tv
7745da0f1c Set CFLAGS and CPPFLAGS for the benefit of <bsd.dep.mk>, and move the
inclusion of <bsd.sys.mk> to the top to get defaults.  (Dependency handling
needs a cleanup, and will get one soon....)
2001-11-12 22:06:41 +00:00
tv
e4b456f8b8 Redo the hashtable for "." if .OBJDIR changes. 2001-11-12 21:58:17 +00:00
tv
36d6a03ffd Formatting cleanup. 2001-11-12 20:26:55 +00:00
tv
7762a7fe1c Clean up. Use -I., not -I${.OBJDIR}. Don't have to clean up y.tab.h. 2001-11-12 20:23:26 +00:00
bjh21
3048d543d3 Use the (not so-)newly-allocated IFT_ECONET rather than IFT_OTHER. This means
that programs start printing Econet link-layer addresses corrctly.
2001-11-12 20:19:04 +00:00
tv
300ea65311 MAKEFLAGS isn't accessible from a conditional during parse; use .MAKEFLAGS
instead.
2001-11-12 20:11:21 +00:00
tv
d35dc81716 "true" doesn't output anything; use "echo" instead. 2001-11-12 20:05:15 +00:00
tv
84935b4037 Make PRINTOBJDIR use "${MAKE} -V .OBJDIR" so it will work correctly with
<bsd.obj.mk> rewrites of ${.OBJDIR}.  Add a failsafe (checking for the
-V option in MAKEFLAGS) to prevent infinite recursion.
2001-11-12 20:03:44 +00:00
tv
2dd7b553d7 Find files via .PATH where appropriate. 2001-11-12 19:32:08 +00:00
tv
aff1bdffff Actually do a chmod if -U, but only try chmod'ing the lower 0777 bits.
This is needed to make things executable, where appropriate.
2001-11-12 19:08:31 +00:00
tv
5da3f37a1c Use .PATH to find mkskel.sh; formatting cleanup. 2001-11-12 18:53:40 +00:00
tv
777bc9f06a Use ${__curdir} consistently. 2001-11-12 18:49:12 +00:00
tv
34f19baa7f Make use of OBJHOSTMACHINE here, since <bsd.obj.mk> is preloaded. 2001-11-12 17:46:35 +00:00
tv
1cdd48fab3 Build .y.cc correctly. The .h file is supposed to be "foo_tab.h", not
"foo.tab.h", and now no longer exists in gnu/dist/groff to avoid conflicts.
2001-11-12 17:09:45 +00:00
tv
afb39f175a Fix up the bogosity in .y->.cc handling. Don't generate files in $(srcdir),
and make sure to have dependencies for lex.o in eqn and pic (so that the .h
is guaranteed to exist).
2001-11-12 17:09:03 +00:00
tv
eac2d50e6e Work around problem with "groff2netbsd" not preserving execute permission.
(Change "mkinstalldirs" invocation to use "sh makeinstalldirs".)
2001-11-12 16:44:10 +00:00
pk
4f1fe56be8 Remove redundant declarations. 2001-11-12 16:32:25 +00:00
lukem
adc783d537 add RCSIDs 2001-11-12 15:25:01 +00:00
lukem
7bbd2f341b clean up whitespace 2001-11-12 15:21:46 +00:00
lukem
6e65bad538 regen (for RCSID) 2001-11-12 15:03:35 +00:00
lukem
bbfda04203 add RCSID to generated .c files 2001-11-12 14:57:02 +00:00
christos
182abdd796 PR/14558: Tero Kivinen: Check the return value of nanosleep and don't fail
silently.
2001-11-12 14:55:53 +00:00
christos
6ff985ffa8 PR/14558: Tero Kivinen: There is no point in limiting the number of seconds
to 100 million. Use 1000 million like the man page for nanosleep suggests.
This is much closer to MAXINT, and it conforms to POSIX.
2001-11-12 14:52:33 +00:00
lukem
6e69bda797 regen (for RCSID) 2001-11-12 14:50:28 +00:00
lukem
2be6cd9ae3 regen 2001-11-12 14:48:47 +00:00
lukem
d8dd7943fe add RCSID to generated .c file 2001-11-12 14:34:24 +00:00
simonb
1143123ee5 Fix pasto in a comment. 2001-11-12 11:12:16 +00:00
msaitoh
7e478326bd change MACHINE_ARCH of evbsh3 from sh3el to sh3eb because all config files
for evbsh3 defaults to big endian.
2001-11-12 08:54:58 +00:00
uwe
9380edd8ad In fb_bell call kbd_docmd only #if NKBD > 0.
This allows kernels without kbd at zs to be linked.
(JavaStation-1 does not have zs, it uses pckbc instead)
2001-11-12 08:14:30 +00:00
gmcgarry
63a43ab235 Clarify some chipset models. 2001-11-12 07:33:40 +00:00
itojun
1eb2191d4f fix auth_krb5() error case behavior. found by jhawk, sync with openbsd tree 2001-11-12 05:45:29 +00:00
wiz
ae62ceb59b Whitespace/punctuation nits. 2001-11-12 03:23:58 +00:00
christos
a9add05994 s/%%m/%m/ 2001-11-12 03:06:44 +00:00
tv
f3c05f752e Add new make variable .ALLTARGETS, which lists all targets in the Makefile.
(Makes it possible to search the target list for particular things and
apply attributes to all the relevant targets.)
2001-11-12 01:33:48 +00:00
tv
eae8a8fd1a Sort list of make variables. 2001-11-12 01:31:21 +00:00
atatat
23b1a14d0d compile in the absense of SYSVSHM and SYSVSEM. 2001-11-12 01:23:51 +00:00