matt
c9c1064fa3
Switch this to use atomic_cas_ulong.
2008-02-03 08:33:00 +00:00
matt
67ba75fa05
Change IPL_SOFTBIO to 0x0b
2008-02-03 08:32:25 +00:00
matt
2395825b1c
Add PMAP_VTOPHYS
2008-02-03 08:32:08 +00:00
matt
7fbe2ba862
Make sysmachine take a lwp instead of a proc.
2008-02-03 08:31:48 +00:00
matt
15753da255
Add cpu_intr_p (checks PSL_IS in PSL).
...
Change badaddr to take a volatile pointer
2008-02-03 08:31:09 +00:00
matt
0ae740580b
change all u_int{8,16,32}_t to uint{8,16,32}_t
2008-02-03 08:30:19 +00:00
matt
350555cd1f
Add the .C versions for the atomic ops.
2008-02-03 07:46:38 +00:00
tsutsui
0dd140599f
Use some loops to prime the cache on measuring the PCC clock frequency.
...
As per the similar code on mips ports (though no visible difference).
2008-02-03 07:31:21 +00:00
matt
06531ceafe
Add a syntax-only target which attempts to compile the entire kernel as one
...
entity. Think of it as super-lint. Due to bugs in the GCC C frontend it
doesn't quite work right but it does provide useful feedback.
2008-02-03 06:46:29 +00:00
xtraeme
4d24afd74c
Xref wdogctl(8).
2008-02-03 06:41:39 +00:00
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