christos
7ad6d45609
Instead of hard-coding who has cpu counters why don't you look for them?
2016-01-24 01:01:43 +00:00
christos
b07a83660b
Fix non-cpu counter build.
2016-01-24 01:01:11 +00:00
christos
c6b094d21f
fix evbarm sets.
2016-01-24 00:14:50 +00:00
christos
b599e35404
expose kernel types for gdb so that we don't have to fix each arch separately
...
for now.
2016-01-23 23:02:31 +00:00
christos
d84c286204
expose the kernel types for standalone code.
2016-01-23 22:31:19 +00:00
christos
d77af8a6d9
We'll define the kernel types for standalone code.
2016-01-23 22:29:29 +00:00
christos
0512edd781
revert previous, we'll do differently
2016-01-23 22:28:09 +00:00
christos
0d5ae2fd97
Add -D_KERNTYPES
2016-01-23 22:20:45 +00:00
christos
c89d254f72
PR/5068: Ingo Schwarze: Don't use the .af (alter format) request to display
...
a named register.
2016-01-23 22:10:44 +00:00
christos
ba2647ff5b
pmc_evid_, pmc_ctr_t etc are defined in <machine/types.h> but are not exposed
...
anymore by default since they violate the userland namespace. Either we
should create __pmc types, or a separate machine/pmc.h header.
2016-01-23 21:44:55 +00:00
christos
8cd0a7d1e0
Rename the cpu_id() define to cpu_idnum() so that it does not conflict with
...
dtrace and friends.
2016-01-23 21:39:17 +00:00
christos
ffeb8dbf4e
Define _KERNTYPES for things that need it.
2016-01-23 21:22:45 +00:00
christos
4d497c90e6
Hide {p,v}{addr,size}_t and register_t (and a couple more types that
...
are machine-specific) from userland unless _KERNEL/_KMEMUSER and a
new _KERNTYPES variables is defined. The _KERNTYPES should be fixed
for many subsystems that should not be using it (rump)...
2016-01-23 21:22:13 +00:00
christos
009f058643
Rename the two register_t uses that leaked to userland __register_t so that
...
they can be fixed later if we want.
2016-01-23 21:19:24 +00:00
christos
55808dd15a
XXX: use unused variables.
2016-01-23 21:18:27 +00:00
christos
9c39ccca16
no need for <sys/mbuf.h>
2016-01-23 21:05:51 +00:00
christos
1361ffd43a
move more kernel stuff under #ifdef _KERNEL
2016-01-23 20:44:06 +00:00
christos
c0d969f01d
define sooner _KMEMUSER
2016-01-23 20:28:24 +00:00
christos
bab08dd002
don't include <sys/mbuf.h>
2016-01-23 19:08:02 +00:00
christos
abcb9cb972
bridge with the higher Makefile.inc
2016-01-23 18:54:15 +00:00
macallan
c26dfe7d4b
add another special case so SM50x's framebuffer gets mapped with prefetching /
...
write combining enabled.
This needs to be generalized somewhere...
2016-01-23 17:09:51 +00:00
riastradh
410d9b399e
Convert unsigned char to wider type before left shift.
...
Avoids undefined behaviour if shifted quantity overflows int.
CID 980971
2016-01-23 17:02:25 +00:00
christos
421f456123
Don't include <sys/vnode.h> to get the pager constants.
2016-01-23 16:39:31 +00:00
christos
3c25de4497
put _KMEMUSER in the Makefile
2016-01-23 16:12:03 +00:00
christos
9043243505
allow uvm_param.h since it defines types...
2016-01-23 16:08:20 +00:00
christos
16dfee20c3
protect more kernel stuff.
2016-01-23 16:02:09 +00:00
riastradh
d604e653d0
Omit spurious include of <sys/isa_defs.h> in dtrace tools build.
...
Fixes dtrace tools cross-build from architectures with no dtrace
support:
# compile libctf/ctf_create.lo
[...]
/export/anoncvs/src/tools/libctf/../../external/cddl/osnet/sys/sys/isa_defs.h:50:2: error: #error "architecture not supported"
#error "architecture not supported"
^
2016-01-23 15:45:42 +00:00
christos
b8e29fa636
don't need mbuf.h!
2016-01-23 15:41:47 +00:00
christos
c086c4c244
Fix libproc and librtld_db from Rin Okuyama
2016-01-23 15:01:30 +00:00
riastradh
fa50b451d4
Those were local changes not meant to be part of the revert. SORRY!
2016-01-23 14:48:55 +00:00
christos
a687207309
Explain what REDIRECT is for.
2016-01-23 14:24:43 +00:00
christos
04ca34195a
expose less to userland.
2016-01-23 14:03:48 +00:00
christos
e28df70b14
make this compile again
2016-01-23 14:03:04 +00:00
christos
ffb42684fe
don't use kernel types.
2016-01-23 14:02:21 +00:00
dholland
2a52e0ce6c
MAXNAMLEN, not MAXNAMELEN. From Giuseppe Gatta on netbsd-docs.
2016-01-23 08:17:18 +00:00
wiz
48a57620e7
unsigned -> unsigned int
2016-01-23 07:21:18 +00:00
christos
e8da065e3b
cleanup pkgsrc junk
2016-01-23 03:11:14 +00:00
christos
e1c6072fc4
fix compilation
2016-01-23 02:58:13 +00:00
dholland
b030061971
Needs sys/select.h for fd_set; fails only when _POSIX_SOURCE is defined,
...
because then something else doesn't include it. (I guess.)
2016-01-23 02:36:57 +00:00
dholland
89050ca13e
unsigned -> unsigned int in previous change to accomodate C++ boneheadedness.
2016-01-23 02:34:09 +00:00
dholland
7944f94c11
u_int -> unsigned int, in some of the output.
...
In the bulk of the output making this change would require reworking a
bunch of the internals to allow spaces in type names, which at the
moment doesn't seem worthwhile.
2016-01-23 02:33:09 +00:00
christos
808f096b09
we don't want sys/mbuf.h
2016-01-23 01:57:56 +00:00
dholland
398f572480
Apparently a recent round of vandalism by the C++ standards committee
...
includes disallowing the standard and historic type name "unsigned". Add
a gratuitous "int" to recent changes.
C++ is really a blight on the world.
2016-01-23 01:26:14 +00:00
dholland
cd48b72d19
Use correct include guard.
2016-01-23 01:15:23 +00:00
dholland
29f79e71d2
u_int -> unsigned, u_long -> unsigned long, etc.
2016-01-23 01:05:30 +00:00
dholland
65f8003146
Update synopses to match u_int/u_long/etc. changes. Do not bump date as
...
it's not a substantive change.
2016-01-23 00:43:42 +00:00
christos
21f7378202
add proftpd diffs.
2016-01-23 00:05:54 +00:00
christos
1c3e5c3032
add more points.
2016-01-23 00:05:38 +00:00
christos
1d2e8f9944
add more blacklist rejection points.
2016-01-23 00:03:30 +00:00
dholland
e7633a3426
Needs sys/cdefs.h for __BEGIN_DECLS. Also add time.h to get time_t,
...
rather than doing the machine/ansi.h #ifdef dance, as it doesn't matter
much what symbols utmp.h exposes. This could be tightened later when we
manage to do enough include cleanup to make such dances less expensive
to maintain.
2016-01-22 23:59:44 +00:00