Commit Graph

205712 Commits

Author SHA1 Message Date
mrg
1862dafe3f match EXIT() with LEAF_ENTRY() so that sizes are actually constants.
fixes binutils 2.21 build issues reported by he and chuq.
2011-09-30 03:05:43 +00:00
christos
22d49ff4f1 add copyright 2011-09-30 01:32:21 +00:00
macallan
c608916b4f put -mfixloongson2f-btb back in the command line options list 2011-09-30 01:23:00 +00:00
sjg
123e6558cd Make sure .PHONY targets get .TARGET set.
This wasn't happening when a dependency of .END.
Set .PREFIX too and add a unit-test.

PR: 43534
2011-09-29 23:38:04 +00:00
sjg
1919f85697 Install the man page for filemon(4). 2011-09-29 23:35:48 +00:00
christos
64eddf5284 even simpler. 2011-09-29 22:55:45 +00:00
christos
cfa5bcb221 even shorter 2011-09-29 22:53:13 +00:00
christos
cfb62a8b7a add a simpler version 2011-09-29 22:46:00 +00:00
christos
38179c4fc2 add a simpler version. 2011-09-29 22:45:20 +00:00
christos
46431da88a add vpanic(9) 2011-09-29 20:59:27 +00:00
christos
ce9eaca580 add vpanic 2011-09-29 20:55:49 +00:00
christos
feec5d318c Include <sys/systm.h> for panic() 2011-09-29 20:53:30 +00:00
christos
01035c71fc Add vpanic() 2011-09-29 20:52:39 +00:00
christos
86caa87dd0 - add missing attributes to varyadic print functions
- add vpanic()
2011-09-29 20:52:12 +00:00
christos
3fca869442 rename vpanic() to vnpanic() and make it varyadic. While there, fix the
broken formats, always call panic() from vnpanic() and make all the calls
use vnpanic(). We only call vprint() on DIAGNOSTIC now.
2011-09-29 20:51:38 +00:00
christos
b3bf6991f2 Don't include <sys/systm.h> because it brings in too much stuff that
conflicts with standalone code. Instead modify kern_assert() to be like
panic() and call that.
2011-09-29 20:50:09 +00:00
sjg
3a3c1d94e3 Add filemon to the modules we build. 2011-09-29 17:40:19 +00:00
is
a038991fd1 Use symbolic constants for SUNs version of ADP2_ASR2200S. 2011-09-29 12:51:28 +00:00
dholland
2a481dca6b Fix the setting of "xcbincludedir" in .pc files (where the xcb XML
files live) so that anything that needs to find them can. Fixes build
of pkgsrc libxcb, not that that in particular is terribly important.
2011-09-29 10:59:26 +00:00
dholland
15ab4bd2bd Fix generation of site.def to substitute @FONTROOTDIR@ and @ENCODINGSDIR@
instead of emitting them unchanged into the imake templates. Should fix
build of x3270.
2011-09-29 09:44:08 +00:00
he
5993922d71 Drop the "static" from the HEXDIGITS declaration, now that there's an
extern definition in sys/systm.h, to allow this to continue to build.
2011-09-29 09:18:17 +00:00
christos
216c13827a add back the raw test and fix typo in the libraries. 2011-09-28 23:11:12 +00:00
matt
d289edb2b2 Reallocate emergency pager va when ncolors is increased. (modication of
patch from mrg).
2011-09-28 22:52:15 +00:00
christos
2a89e8adcf revert part of previous that was wrong. 2011-09-28 22:19:52 +00:00
christos
e244cf19e9 fix error message 2011-09-28 22:08:12 +00:00
christos
7de83c2f9e syscall (setcontext) can alter eax, so don't attempt to get code again from it
in order to avoid register spills.
2011-09-28 17:27:21 +00:00
christos
190c081319 don't limit sockets to sizeof(sizeof sockaddr_storage). We can create valid
sockaddr_un sockets that exceed that. Arguably either
sizeof(struct sockaddr_storage) should be amended, or we should disallow
unix domain sockaddrs that exceed that size.
2011-09-28 16:28:27 +00:00
christos
0ee040705b Add a sockaddr_un test. 2011-09-28 16:14:04 +00:00
christos
9d31325887 Add a unix socket pathname size limit test. 2011-09-28 16:13:03 +00:00
jruoho
8f43552059 Initialize cpufreq(9) normally from main(). 2011-09-28 15:52:47 +00:00
jruoho
7feffa2641 Call cpufreq_suspend(9) and cpufreq_resume(9) during suspend/resume. 2011-09-28 15:38:21 +00:00
christos
41d70a0317 Instead of using a PICGOT relocation for map, use just a pc-relative one
since it is guaranteed to be close enough. Fixes issue with binutils-2.21.1a
(probably a bug).
2011-09-28 15:11:42 +00:00
jruoho
605462e842 Install <sys/cpufreq.h>. 2011-09-28 14:26:27 +00:00
nonaka
45c92afe4f Added "\SD-MMC Card\" entry for PSIONTEKLOGIX NETBOOK PRO. 2011-09-28 14:19:13 +00:00
christos
f02b490980 include <wchar.h> if we don't have wcsdup() 2011-09-28 14:08:04 +00:00
christos
6762e6f13b comment out weak magic, from file HEAD. 2011-09-28 13:50:52 +00:00
christos
2203d253d7 fix cdf mime output on cdf files (from file HEAD) 2011-09-28 13:50:09 +00:00
wiz
702b53cc2e Add missing comma. 2011-09-28 11:50:42 +00:00
jruoho
0e33087b6d Bump date and add one missing note. 2011-09-28 11:42:00 +00:00
jruoho
a179648071 Add a simple cpufreq(9).
This is slightly improved version presented on tech-kern@ with proper
locking and few additional functions, mainly required for ioctl(9)/cpuctl(8).
2011-09-28 10:55:46 +00:00
mrg
1ca3e5d8c0 print the serial number as an unsigned number. 2011-09-28 10:29:41 +00:00
macallan
c3a0b13e0d support a hardware cursor - now X with wsfb on gdium is a little less annoying 2011-09-28 02:36:37 +00:00
macallan
e6310bd1e3 add a couple more registers 2011-09-28 02:33:20 +00:00
macallan
f73964743d support WSDISPLAYIO_GCURSOR and WSDISPLAYIO_SCURSOR 2011-09-28 01:46:39 +00:00
dyoung
ffb96a7f74 Cosmetic: join some if-statements, remove superfluous parentheses. No
change in the generated assembly.
2011-09-28 01:45:49 +00:00
dyoung
d60981839b After bouncing in bus_dmamap_load{,_mbuf,_uio}, call bus_dmamap_load(9)
instead of _bus_dmamap_load() so that a bus_dmamap_load(9) override has
a shot at loading the map.

XXX Perhaps bounce buffers should be rewritten in terms of bus_dma(9)
XXX overrides.
2011-09-28 01:38:19 +00:00
dyoung
6fdab11de7 In bus_dma_tag_create(9), copy important properties (e.g., bounce
parameters) from the parent tag.

In bus_dma_tag_create(), increase the reference count on a parent
bus_dma_tag_t (if applicable), and decrease the reference count in
bus_dma_tag_destroy().

Don't let bus_dmatag_destroy(9) destroy an overridden bus_dma_tag_t.
2011-09-28 01:35:58 +00:00
dyoung
9115bf9945 Add an untested implementation of bus_dmamap_load_raw(9). 2011-09-28 01:33:26 +00:00
dyoung
109ec163ae Instead of declaring _bus_dmamap_load_busaddr() static inline, make
it static and let the compiler decide about inlining.  This reduces
the code size on both amd64 and i386, and the smaller code is probably
faster code.
2011-09-27 23:44:18 +00:00
dyoung
65d90030bd In _bus_dmamap_load_busaddr(), change sgsize from an int to a bus_size_t. 2011-09-27 23:33:35 +00:00