Commit Graph

204647 Commits

Author SHA1 Message Date
wiz
6964284f70 New sentence, new line. 2011-08-28 17:15:16 +00:00
wiz
4776eb0a7a Use Cm to mark up command arguments. Use An -nosplit to avoid linebreak in sentence. 2011-08-28 17:10:37 +00:00
elric
97d0788466 Revert prior inadvertent checkin. 2011-08-28 16:33:51 +00:00
elric
95bd2d4a1e Remove crypto/dist/heimdal and its associated build infrastructure as
it has been replaced by crypto/external/bsd/heimdal.
2011-08-28 16:21:57 +00:00
jmcneill
97d971731f add mach64drm, mgadrm, r128drm, savagedrm, sisdrm, and tdfxdrm modules 2011-08-28 16:19:07 +00:00
jmcneill
5494668f55 Split out ati_pcigart into a separate module so it can be shared with r128drm 2011-08-28 15:56:21 +00:00
jmcneill
eb1862a454 WARNS=3 is the default 2011-08-28 15:48:19 +00:00
gson
d2c5449570 fix the sparc build 2011-08-28 15:46:26 +00:00
jmcneill
54d6e22c5d set default WARNS for modules to 3 -- the only one that needs < 3 now is pf 2011-08-28 15:40:49 +00:00
jmcneill
1343ee48da build with WARNS=3 2011-08-28 11:36:17 +00:00
elric
9f9617f826 Change the location of version.h from the old Heimdal srcs to the
new srcs.
2011-08-28 11:20:16 +00:00
elric
1ea30656a2 Change the location of version.h from the old Heimdal srcs to the
new srcs.
2011-08-28 10:28:35 +00:00
mrg
a29cead266 fix sparc UP kernels with GCC 4.5, with special thanks to help from
mlelstv@ tracking down the real issue.

sp_tlb_flush() makes various assumptions about the ABI and what GCC
will do with the rest of this function.  the inputs were not referenced
by name but only as "%o0" etc inside the asm.  the result was that GCC
was not filling in the function parameters before calling it because
they were not used in the function.  so, sp_tlb_flush() was getting
random data for it's inputs.  oops.

for now, convert 2 asm() calls to pure C, and mark the inputs for
the sta calls.  this makes GCC generate the right code, but it still
isn't entirely optimal.

ideally a pure C version would exist, but that adds non-trivial
overhead (15 instructions vs 23 or so.)

one more enhancement to make here would be to assign the %o3, %o4 and
%o5 usage into explicit temp variables, instead of assuming that they
are going to be free to use.
2011-08-28 10:26:15 +00:00
bouyer
fcb4b3c5b0 Revert previous and fix properly by just removing the #error and a bogus
KASSERT() (these 2 are leftover from the experiments on the fuloong
and were not intended to be commited).
2011-08-28 10:21:41 +00:00
christos
694c2250cf make it compile with SMALLPROG 2011-08-28 10:13:03 +00:00
christos
47b3217165 make this compile. 2011-08-28 09:43:25 +00:00
christos
df4f0e8339 remove strpct copts 2011-08-28 09:39:44 +00:00
christos
e29e424724 Make this compile again without WDC_NO_IDS. 2011-08-28 09:32:21 +00:00
mbalmer
c33b991f31 Fix build (strcpt fallout). 2011-08-28 09:02:51 +00:00
mbalmer
eba5829387 Remove duplicate static. 2011-08-28 08:43:02 +00:00
jnemeth
7c99820106 add TINLA -> this is not legal advice 2011-08-28 08:41:01 +00:00
mbalmer
b6211abfc7 Initialize local variables that previously were global (user, group). 2011-08-28 08:32:47 +00:00
hannken
8dc51ab7d8 Print the warning message on mount once.
Should fix PR #42795 (patch to make mounting union filesystems less obnoxious)
2011-08-28 08:27:57 +00:00
christos
d99091ea8b use strpct from libutil. 2011-08-28 08:24:42 +00:00
christos
bc6c0498a1 - static/__dead
- use strpct from libutil
- fix off by one in format
2011-08-28 08:20:58 +00:00
christos
d44afdf0b0 add strpct man mage 2011-08-28 08:20:29 +00:00
mrg
02056ed4a4 emit some linker -Map files so that we can figure out what symbols
in the boot loaders are.
2011-08-28 08:03:49 +00:00
christos
bc4c3c5734 use strpct(3) from libutil. 2011-08-28 07:49:16 +00:00
mbalmer
92ced822d1 Add a new ioctl, GPIOPULSE to gpio(4) to allow for pulsing a pin.
If a pin can pulse in hardware, that will be used, else it will
be pulsed in software.  There is no way yet to set the pulse frequency
for pins that pulse in hardware.  While here, make the code mpsafe and
allow more than one thread in the driver (access to ioctl is serialized).
2011-08-28 07:48:50 +00:00
christos
398b06523a bump libutil for strpct 2011-08-28 07:48:18 +00:00
christos
b8788050c4 prototype for strpct 2011-08-28 07:46:13 +00:00
christos
e7295d23ac add strpct, requested by joerg 2011-08-28 07:45:13 +00:00
ahoka
7cc3650740 readd assertions noew with the correct struct
im wondering why the module cflags didnt warn about this obvious typo
2011-08-28 07:22:48 +00:00
dyoung
bdb3e7cbc5 Normalize whitespace. 2011-08-28 06:08:15 +00:00
dyoung
6332563764 Add some code for grovelling in the PCI configuration space for all
of the memory & I/O space reserved by the PCI BIOS for PCI devices
(including bridges) and recording that information for later use.

The code takes between 13k and 50k (depends on the architecture and,
bizarrely, the kernel configuration) so I am going to move it from
pci_machdep.c into its own module on Monday.
2011-08-28 06:04:17 +00:00
dyoung
35fd1a8bbe Replace some anonymous constants with PCI_ constants.
Print debugging information using aprint_debug(9) not aprint_verbose(9)
and be consistent about that.  Get rid of the pciaddrverbose switch for
debugging printfs.

Make 'static' several functions that are private to this module.

Don't test truth of arbitrary integers but compare with 0.  Change
'return (x)' to 'return x'.
2011-08-28 05:32:41 +00:00
dyoung
aa14fb96d7 Make the override implementation more concise. Saves about three lines
of code per routine, makes it more explicit what's going on, and avoids
recursion, though the compiler probably optimized the tail recursion in
the old code.
2011-08-28 04:59:37 +00:00
sjg
09fee58e88 In meta mode, we create .meta files for most targets.
These capture all the interesting data - useful for debugging.
In such cases there is no need to replicate commands in the build log.
Rather than run the entire build .SILENT, allow meta mode to set that flag
per target iff a .meta file is created.
Normal behavior is retained for targets where no .meta file is created,
ensuring that no build data is lost.
2011-08-28 03:54:07 +00:00
joerg
c36a7298be ANSIfy. Add static. Add __dead. 2011-08-28 01:17:47 +00:00
dyoung
bd41bd0d2c Use __strict_weak_alias(). 2011-08-28 00:51:21 +00:00
jmcneill
442b047756 cpu_lwp_trampoline isn't supposed to return, so drop the atexit handler
and drop a panic() at the end of the function
2011-08-28 00:40:10 +00:00
joerg
17834822b6 Mark error() as dead, so that validation for setclipped works correctly. 2011-08-27 23:42:33 +00:00
joerg
c5a7423167 Revert last, assertions on undefined variables don't make sense. 2011-08-27 23:31:12 +00:00
joerg
52e7e4adca ANSIfy 2011-08-27 22:41:35 +00:00
joerg
19f8b044c9 static + __dead 2011-08-27 22:38:48 +00:00
joerg
b71455acb5 Use __dead. Move global variables into function scope. 2011-08-27 22:32:44 +00:00
joerg
42286e2542 Sprinkle const 2011-08-27 22:30:44 +00:00
joerg
8756b97804 static + __dead 2011-08-27 22:22:01 +00:00
joerg
94b1bee225 Mark types as static and usage as dead. 2011-08-27 22:17:53 +00:00
jmcneill
f4f64870fb defflag CPU_DEBUG 2011-08-27 21:43:06 +00:00