Commit Graph

166620 Commits

Author SHA1 Message Date
matt 43fc601301 Use uintN_t in comments (since that's what are really using) instead of
u_intN_t
2008-02-03 06:28:01 +00:00
xtraeme 430c4cd21f Add DTES64 and SSE4 related bits to CPUID2_FLAGS, from FreeBSD. 2008-02-03 06:19:06 +00:00
matt b1a0879c83 sh5 is dead. sh[35]e[bl] -> sh3e[bl] 2008-02-03 06:10:53 +00:00
tsutsui a775e1fad0 Remove an unnecessary initializer. 2008-02-03 05:31:17 +00:00
mrg 313548c7c8 fix a MKCRYPTO=no bug - default_memalloc()/default_memfree() are
defined static but not used.
2008-02-03 04:07:34 +00:00
dholland ded3829627 Use mkstemp to make the temporary files used when you win. 2008-02-03 03:49:15 +00:00
dholland 511d1e002c Since games are (now) setgid, not setuid, it is no longer necessary to
manipulate the effective uid, only the effective gid.
2008-02-03 03:45:55 +00:00
christos f408a0fef8 comment out some asserts for now. 2008-02-03 03:40:52 +00:00
wiz 1b89543c7f Document -d. 2008-02-03 03:29:17 +00:00
mrg 9805c65117 merge gcc-4-1-20080202-132073. 2008-02-03 02:48:44 +00:00
itohy 87e62584f4 Fix table. 2008-02-03 02:35:43 +00:00
mrg a67241065b upgrade to GCC-4.1 20080202 (svn 132073). this includes fixes for
these GCC PR's:

	c++/17763
	middle-end/25445
	c++/27177
	target/28307
	rtl-optimization/30113
	target/31331
	c++/31941
	rtl-optimization/31944
	tree-optimization/31966
	c++/32112
	c++/32113
	rtl-optimization/32450
	target/32506
	tree-optimization/32533
	target/32641
	target/32660
	tree-optimization/32681
	middle-end/32912
	c++/32992
	tree-optimization/33142
	target/33256
	bootstrap/33418
	c++/33744
	driver/33772
	rtl-optimization/33822
	middle-end/33826
	c++/33959
	bootstrap/34003
	middle-end/34030
	middle-end/34130
	rtl-optimization/34456
	libgfortran/34699
	c/34993
	c++/35007
2008-02-03 00:08:23 +00:00
mrg b8deac4d69 upgrade to GCC-4.1 20080202 (svn 132073). this includes fixes for
these GCC PR's:

	c++/17763
	middle-end/25445
	c++/27177
	target/28307
	rtl-optimization/30113
	target/31331
	c++/31941
	rtl-optimization/31944
	tree-optimization/31966
	c++/32112
	c++/32113
	rtl-optimization/32450
	target/32506
	tree-optimization/32533
	target/32641
	target/32660
	tree-optimization/32681
	middle-end/32912
	c++/32992
	tree-optimization/33142
	target/33256
	bootstrap/33418
	c++/33744
	driver/33772
	rtl-optimization/33822
	middle-end/33826
	c++/33959
	bootstrap/34003
	middle-end/34030
	middle-end/34130
	rtl-optimization/34456
	libgfortran/34699
	c/34993
	c++/35007
2008-02-02 23:40:02 +00:00
joerg 75d2bd4607 Fix flags: cpu_in_cksum should modify cpu_in_cksum.S, not cpufuncs.S. 2008-02-02 23:23:17 +00:00
dsl 9d820ef01c Regen for pread and pwrite 2008-02-02 22:57:49 +00:00
dsl 543ce18e89 Impletemt pread() and pwrite(). 2008-02-02 22:57:05 +00:00
mrg 987268dd69 upgrade to GCC-4.1 20080202 (svn 132073). this includes fixes for
these GCC PR's:

	c++/17763
	middle-end/25445
	c++/27177
	target/28307
	rtl-optimization/30113
	target/31331
	c++/31941
	rtl-optimization/31944
	tree-optimization/31966
	c++/32112
	c++/32113
	rtl-optimization/32450
	target/32506
	tree-optimization/32533
	target/32641
	target/32660
	tree-optimization/32681
	middle-end/32912
	c++/32992
	tree-optimization/33142
	target/33256
	bootstrap/33418
	c++/33744
	driver/33772
	rtl-optimization/33822
	middle-end/33826
	c++/33959
	bootstrap/34003
	middle-end/34030
	middle-end/34130
	rtl-optimization/34456
	libgfortran/34699
	c/34993
	c++/35007
2008-02-02 22:46:12 +00:00
christos 708c364c0e namespace protection for csetexpandtc() 2008-02-02 22:06:34 +00:00
dsl 22774d7c0d Fix the linux32 emulations of fcntl() locking.
The 64bit linux emulation versions can't be used because the lock structure
alignment and field sizes all differ.
Since there need to be 4 different versions of the linux struct flock, and
amd64 kernel needs 3 of them compiled in, rather than replicating the same
code block twice more, move the body of the code into a few #defines
that can be expanded with the correct types in the linux[32]_sys_fcntl[64]()
functions.
Should fix problems running progams like skype running under linux32
emulation on amd64.
2008-02-02 21:54:01 +00:00
elad e43f626d03 Add, document, and use KAUTH_REQ_PROCESS_KTRACE_PERSISTENT. 2008-02-02 21:04:40 +00:00
christos 6ad6f673b0 add a script to generate the mini-termcap and use it. 2008-02-02 21:02:29 +00:00
christos a1232e4db1 Add more undocumented capabilities to the *cap printing. 2008-02-02 20:57:20 +00:00
christos 0d149bc5fe Add csetexpandtc() 2008-02-02 20:56:46 +00:00
elad 4240d37675 KTRFAC_ROOT -> KTRFAC_PERSISTENT, and update comments.
Discussed with christos@ and yamt@.
2008-02-02 20:42:18 +00:00
skrll 6b8ce99a9e Check alignment against pp->pr_align not pp->pr_alloc->pa_pagesz.
DIAGNOSTIC kernels on hppa boot again.

OK'd by ad.
2008-02-02 20:21:55 +00:00
dsl 7e5ac7072d Extract the fcntl64() suppoort from linux_file64.c into linux_fcntl64.c
Unravel some of the knots that caused linux_file64.c to be compiled twice
for an amd64 kernel (once for linux and once for linux32) with different
parts being skipped each time.
2008-02-02 19:37:52 +00:00
uwe a6e384a141 Use std.sh3e{l,b} 2008-02-02 18:28:33 +00:00
uwe c2b2ccc344 Add -D_LOCORE to AFLAGS. 2008-02-02 18:18:14 +00:00
martin d5ed42ea19 When doing a reboot from ddb, set panicstr, so that later LOCKDEBUG checks
show the same mercy as with a real panic.
2008-02-02 18:16:42 +00:00
matt c0033b9584 Add a -d flag so that primes will print the difference between the current
prime and the previous prime.  [I needed that for some reason I don't recall
and these changes lying about.  Since they might be useful/interesting to
someone, I might as well as commit them.]
2008-02-02 18:15:14 +00:00
uwe 025bcad369 Use std.sh3eb and g/c local duplicates. 2008-02-02 17:54:16 +00:00
matt 375a7f707b Fix typo: sive -> sieve. 2008-02-02 17:45:05 +00:00
joerg 648c15667b amd64 kernels should use amd64 GENERIC.local. 2008-02-02 17:23:43 +00:00
christos 000f6e1084 PR/37932: Yakovetsky Vladimir: build distribution with USE_FORT fails
Remove unused bcopy crap
2008-02-02 17:16:14 +00:00
christos 99a86a6512 PR/37932: Yakovetsky Vladimir: build distribution with USE_FORT fails
Avoid read redefinition
2008-02-02 17:12:44 +00:00
christos 9aa2376bc7 PR/37932: Yakovetsky Vladimir: build distribution with USE_FORT fails
avoid getcwd redefinition
2008-02-02 17:11:01 +00:00
christos a0e4739ced PR/37932: Yakovetsky Vladimir: build distribution with USE_FORT fails
Avoid read redefinition
2008-02-02 17:09:29 +00:00
christos 18d6bea575 PR/37932: Yakovetsky Vladimir: build distribution with USE_FORT fails
fix buffer overflow
2008-02-02 17:07:04 +00:00
tsutsui 4da2d6da3a Add a findstage2 function (which returns block numbers where
the secondary boot is stored to embed them into the primary bootxx)
for ext2fs.

Currently disabled because there is no primary boot block
which supports ext2fs, but it might help someone in some day.
2008-02-02 17:01:03 +00:00
itohy 4db9c4eb62 ".ne" only ".if t" to avoid unwanted blank lines for text outputs. 2008-02-02 16:56:46 +00:00
hannken 35f84b8843 BO_COWDONE -> B_COWDONE: this flag is tested/modified from the thread owning
the buffer and therefore needs no protection by a mutex.

Ok: Andrew Doran <ad@netbsd.org>
2008-02-02 16:51:34 +00:00
itohy 9ef5327a26 Try to warn possibly unbootable conditions:
- no disklabel
 - no partition "a"
 - partition "a" exceeds 2GB boundary
2008-02-02 16:46:15 +00:00
mjf b1c9a380e4 Match up some VOP_OPEN()S with VOP_CLOSE()s. This allows the root
file system to be identified properly again.
2008-02-02 16:15:01 +00:00
tsutsui fc92a60a21 Update some entries to sync with reality. 2008-02-02 15:47:48 +00:00
tsutsui 660c4c949b sysinst is done. 2008-02-02 15:39:49 +00:00
tsutsui 1d1faf7fbf Done sysinst. 2008-02-02 15:28:07 +00:00
dsl 4e55f805dd Fix build 2008-02-02 15:17:06 +00:00
dsl 020f5fa28f Use the netbsd32_[u]int64 type for all 64bit items to ensure we have the
correct alignment/padding rules.
Removed the now-unnecessary #pragma packed for amd64.
Should fix the alignment of 'struct netbsd32_kevent' on non-amd64.
2008-02-02 14:34:56 +00:00
itohy 7eadf2219e Allow to boot from just 2GB partition.
Simplify the caluculation assuming the sector size is a power of two.
2008-02-02 14:21:02 +00:00
tsutsui bd48677918 Build a RAMDISK kernel on "release" target. 2008-02-02 14:07:39 +00:00