Commit Graph

186306 Commits

Author SHA1 Message Date
matt 82d396ea31 Merge from matt-nb5-mips64 2009-12-14 00:43:05 +00:00
christos e589aa514b use initgroups/setgroups
proper types for uid and gid.
2009-12-14 00:42:47 +00:00
christos eff9ac27fd fix debug printf format
fix bogus ctype cast
2009-12-14 00:42:21 +00:00
matt c31d577a8c Merge from matt-nb5-mips64
Teach lint about mips64
2009-12-14 00:42:06 +00:00
matt d8d1440d5c Merge from matt-nb5-mips64:
Add N32/N64 support for mips dynamic loader.
2009-12-14 00:41:18 +00:00
christos 5dd48b0c34 bring back our status printing function 2009-12-14 00:41:03 +00:00
christos 61c775be3f constify 2009-12-14 00:40:26 +00:00
matt 36c802e628 Merge gcc mips64 support from matt-nb5-mips64. 2009-12-14 00:40:04 +00:00
mrg 2e067db098 update the generated fonts.conf from the template.
from Jukka Salmi in PR #42169.
2009-12-14 00:39:58 +00:00
matt 8daf714e68 Merge from matt-nb5-mips64 2009-12-14 00:38:59 +00:00
christos ed38567fda fix bogus ctype casts 2009-12-14 00:38:48 +00:00
christos 7b8fd1634b don't redefine NANOSECOND 2009-12-14 00:38:20 +00:00
christos 7cabe5d03b (unsigned char) for ctype functions. 2009-12-13 23:25:40 +00:00
christos 20051da22f int/long portability. 2009-12-13 23:25:24 +00:00
jakllsch 8cdfba11fe Shut down the PXE network stack when we are done with it.
This fixes an issue where a CK804 nfe(4) would have a
byte-reversed MAC address after pxeboot(8).
2009-12-13 23:01:42 +00:00
pooka 0446aae700 Call ukfs_part_release(). For completeness and educational value. 2009-12-13 21:16:54 +00:00
snj 2bbd65ed54 Wrap these with .if ${MKSHARE} != "no" 2009-12-13 21:14:18 +00:00
pooka 9bbaf71ba2 Refcount ukfs_part. Otherwise it's not possible to call ukfs_mount()
several times with only one ukfs_part_probe().
2009-12-13 20:52:36 +00:00
dyoung c869fe1c8c Fix MKKERBEROS=no MKPAM=no MKDEBUGLIB=yes builds by adding missing
keywords to a few *_g.a files.
2009-12-13 20:46:10 +00:00
dsl 723a159171 Another, better, fix for PR/26567.
Only sleep once within each pipe_read/pipe_write call.
If there is no data/space available after we wakeup return ERESTART so
then the 'fd' number is validated again.
A simple broadcast of the cvs is then enough to evict the correct threads
when close() is called from an active thread.
2009-12-13 20:02:23 +00:00
matt 0a60906620 Add Marvel 88E1149 2009-12-13 19:20:17 +00:00
matt 422c370e41 Add RMI (NetLogic) 2009-12-13 19:19:47 +00:00
christos 2561f2eece Don't add the .h rule for yacc if we are not really building (-n) 2009-12-13 18:40:50 +00:00
dsl e19cad8fcc Revert most of the previous change.
Only one fd needs clobbering, not all fds that reference the pipe.
This may be what ad@ realised when he tried to add the same code to
sockets. Unfixes part of PR/26567.
2009-12-13 18:27:02 +00:00
snj 6066e382dc Fix a few typos. 2009-12-13 17:58:27 +00:00
wiz b287b9bcf2 Add Hama WLAN PCI Card 54 Mbps to recognized cards. Bump date. 2009-12-13 17:31:53 +00:00
kardel 1ca06f9c92 initial version of reachover make- and support-files 2009-12-13 17:13:47 +00:00
kardel abb0f93cd7 Import ntp 4.2.6 2009-12-13 16:51:59 +00:00
kardel c20de09b11 note release of ntp 4.2.6 2009-12-13 16:48:56 +00:00
tsutsui 1a8ce335ce - update some comments
- use unsigned constant for shift op
2009-12-13 12:32:46 +00:00
tsutsui f5d0565d90 Replace a couple of magic numbers with proper macro. 2009-12-13 12:21:26 +00:00
tsutsui 626b27405b Now we have Sysseg_pa value so no need to calculate it from KVA Sysseg.
Tested on hp300.

XXX: mac68k seems to have a different VA vs PA mechanism so I leave it for now.
2009-12-13 11:24:02 +00:00
tsutsui e180a79423 Split device_t/softc, some KNF. 2009-12-13 11:10:50 +00:00
tsutsui 75b234b3c3 Use todr_[gs]ettime_ymdhms() format. 2009-12-13 11:03:33 +00:00
mrg f5f2e65887 - set EMUL_LIB_PATH* for relevant mips emulations
- make sure to install the all right mips ldscripts. XXX ugly
2009-12-13 09:38:22 +00:00
mrg af35c52924 these files are no longer used and may now rest and bitrot without
hurting anyone...
2009-12-13 09:33:08 +00:00
mrg 750ad3d59d simplify the logic for compat ld.elf_so and move it here. we now can
find the libc objdir for multiple compat ld.elf_so's, too.
2009-12-13 09:31:47 +00:00
mrg c6b4bc4a81 adjust the do-compat-* rules now that src/compat/lib and friends no longer exist 2009-12-13 09:29:27 +00:00
mrg 8b618fb27a obsolete a bunch of files that should never have been installed, found
by the new src/compat framework that builds libraries more like they
are normally built.
2009-12-13 09:28:41 +00:00
mrg 3ad6dcd150 update this to reflect all the changes in src/compat version 2.0 2009-12-13 09:27:57 +00:00
mrg cbad3a4a7f - move -m32 style compat into "m32.mk"
- new Makefile.compat has mostly only the basics now
2009-12-13 09:27:34 +00:00
mrg d752305b9d - move the per-platform subdir list into archdirs.mk
- move the per-ABI subdir list into compatsubdir.mk.  use the new
MAKEDIRTARGETENV support to force a new objdir for compat library builds,
and simply traverse over the normal src path once for each ABI to be
built.  this eliminates all the shadow Makefile's for every library, and
allows multiple compat ABIs to be built for a single platform, such as
both o32 and n64 for mips64's default n32.
- compat/Makefile is merely a subdir provider now, and takes the real
information from archdirs.mk
2009-12-13 09:27:13 +00:00
mrg 9f8de6e95c a hack to force the top-level compat objdir to be created before the
library ones are.  the Makefile has a long description of what's
really going on here.
2009-12-13 09:25:57 +00:00
mrg bcd8d648d5 enable MAKEDIRTARGET to be called with a separate environment,
called $MAKEDIRTARGETENV, defaulting to nothing.
2009-12-13 09:10:16 +00:00
mrg c410a53a8b for each $MACHINE_ARCH we have compat libraries to build for, give a list
of ABIs to target.  for amd64 and sparc64, we use the old i386 and sparc
subdirectories.  for mips64, we build both o32 and n64 libraries.

these files are not yet used, but will be shortly.
2009-12-13 09:07:32 +00:00
mrg 6af15ae20b if BSD_MK_COMPAT_FILE is defined, .include it. 2009-12-13 09:01:45 +00:00
mrg 6b59d31236 move the include for <bsd.own.mk> down a little. 2009-12-13 08:52:38 +00:00
mrg 118cb193d7 - adjust the logic for compat ldd: add an elf32_compat module and arrange
for mips64 to build this with MLIBDIR set to o32
- make mips64 ldd call elf32_compat_ldd as well
- make mips64 elf64 set MLIBDIR to 64
- don't need ld.elf_so's Makefile.ld32 files anymore (they are going away
  soon anyway)

tested on amd64 and sparc64, and an earlier version tested on mips64.
2009-12-13 08:50:56 +00:00
tsutsui cee8238241 Add 5.0.1 configuration files for reference. 2009-12-13 08:37:40 +00:00
tsutsui 8d72c85f6f Put srt0.S to SRCS, not in dependencies for target all. 2009-12-13 08:36:01 +00:00