Commit Graph

33 Commits

Author SHA1 Message Date
maxv 62c8988166 Remove the kernel PMC code. Sent yesterday on tech-kern@.
This change:

 * Removes "options PERFCTRS", the associated includes, and the associated
   ifdefs. In doing so, it removes several XXXSMPs in the MI code, which is
   good.

 * Removes the PMC code of ARM XSCALE.

 * Removes all the pmc.h files. They were all empty, except for ARM XSCALE.

 * Reorders the x86 PMC code not to rely on the legacy pmc.h file. The
   definitions are put in sysarch.h.

 * Removes the kern/sys_pmc.c file, and along with it, the sys_pmc_control
   and sys_pmc_get_info syscalls. They are marked as OBSOL in kern,
   netbsd32 and rump.

 * Removes the pmc_evid_t and pmc_ctr_t types.

 * Removes all the associated man pages. The sets are marked as obsolete.
2018-07-12 10:46:40 +00:00
christos 4e32ff3fe1 Add fenv for powerpc. 2015-12-20 16:22:39 +00:00
apb 68cca2bb2f sort 2014-08-22 10:51:38 +00:00
alnsn 582402eab5 Rename sljitarch.h to sljit_machdep.h. 2014-07-23 18:19:43 +00:00
alnsn 5345f80ec7 Enable sljit and bpfjit on powerpc. 2013-11-17 14:34:11 +00:00
christos 824c548c74 Add a new "debug" set that gets built when ${MKDEBUG} is set. On evbarm:
-rw-r--r--  1 root  src   35806068 Jan 16 10:47 base.tgz
-rw-r--r--  1 root  src   57374069 Jan 16 10:48 comp.tgz
-rw-r--r--  1 root  src  101286193 Jan 16 10:49 debug.tgz
...
This allows always building the debugging code and libraries but not
installing it (although now it is placed in the default sets if ${MKDEBUG}
is set
2013-01-16 16:01:05 +00:00
joerg 3eb244d801 Retire varargs.h support. Move machine/stdarg.h logic into MI
sys/stdarg.h and expect compiler to provide proper builtins, defaulting
to the GCC interface. lint still has a special fallback.
Reduce abuse of _BSD_VA_LIST_ by defining __va_list by default and
derive va_list as required by standards.
2011-07-17 20:54:30 +00:00
matt 01fd92550a Remove <machine/atomic.h>; use <sys/atomic.h> instead.
Add <powerpc/cpuset.h> (for mpc85xx pmap).
Add some initial MP code for mpc85xx
Rework ipi code to be common across all ppcs
Change PPC to keep curlwp in %r13 while in the kernel.
Move astpending from cpu_info to mdlwp
Improve cpu_need_resched to be more MP friendly.
2011-06-05 16:52:22 +00:00
mrg 0d5e3985de fix MKDEBUG=yes builds for bebox, prep, rs6000, alpha, cats, macppc,
netwinder, shark, sparc* and zaurus.  (the other changed files were
already working, but wrong.)
2010-03-14 23:19:18 +00:00
matt 68c2ae2f0f Make machine/spr.h as obsolete. 2010-03-02 21:54:06 +00:00
lukem 74d4becb06 Add a bunch of .debug entries, determined by inspecting the equivalent
comp lists.
Inspired by PR 39370
2008-08-22 13:42:19 +00:00
garbled a330515740 Add /usr/include/prep/nvram.h 2007-02-26 23:57:19 +00:00
ad 6cb2f27bc7 Sync with changes introduced by merging the newlock2 branch. 2007-02-09 22:49:47 +00:00
briggs f47f1e617d Add spr.h 2005-02-17 02:24:00 +00:00
kleink a6428a221b Add <machine/wchar_limits.h>. 2004-05-08 21:53:23 +00:00
lukem b2a7724153 reformat whitespace 2004-01-11 09:53:28 +00:00
lukem b852db83fb Significant overhaul of how the sets are used:
* Add an optional third field to the sets file which is a list of
  comma separated keywords that control if the line is printed.
  Currently supported keywords
	kerberos4	${MKKERBEROS4} != no
	kerberos	${MKKERBEROS} != no
	lint		${MKLINT} != no
	obsolete	${obsolete} != 0.
			In this case, non obsolete files are not printed.
  (This will allow future support for builds with variables such as
  MKHESIOD and MKYP set to "no".)

* Use sh(1)'s getopts where appropriate, and otherwise cleanup the
  various scripts.

* Move defaults for sets.subr from sets.defaults into sets.subr.
  Move replicated code for determining stuff such as shlibs type
  from various scripts into sets.subr.

* Merge the obsolete.*, krb.*, krb4.* and lint.* into the appropriate
  main lists with the relevant third field keyword(s).
2003-12-29 03:13:25 +00:00
matt 54e310a4bd Make these match reality. 2003-10-24 06:49:37 +00:00
matt 3b0bc89f56 Obsolete ./usr/include/<MACHINE>/_G_config.h for PowerPC. 2003-09-24 05:00:16 +00:00
wiz 8381108e2a Don't install machine/mouse.h on i386 and prep; there are no users for
the old busmouse interface any longer, we use wsmouse now.
2003-05-15 18:51:18 +00:00
thorpej e58da7f0ae Update for nathanw_sa merge. 2003-01-18 17:50:18 +00:00
gehenna 620752e3a7 Obsolete machine/conf.h 2002-09-07 12:48:51 +00:00
briggs 587b64d0c1 Catch up to new pmc header files. 2002-08-07 21:20:49 +00:00
nonaka e1cab97e02 Added lock.h 2002-05-04 10:31:45 +00:00
soren 24cd3174c5 prep/pccons.h is gone. 2001-11-21 22:40:59 +00:00
soren d57ab3b021 machine_type.h is no longer used. 2001-05-03 13:17:26 +00:00
kleink 4141df9b0c Add <machine/int_fmtio.h>. 2001-04-15 17:14:25 +00:00
kleink 6a8763432f Add <machine/int_limits.h>. 2001-04-15 15:33:08 +00:00
kleink b09fc25cdf Add <machine/int_const.h>. 2001-04-14 22:53:34 +00:00
kleink ee8dcb845d Add <machine/int_mwgwtypes.h>. 2001-04-14 12:40:09 +00:00
ragge 6fd2646627 <ieeefp.h> must be installed in a machine-dependent fashion; it should
not exist on VAX.
2001-02-17 11:40:58 +00:00
matt 86e73d4390 Add int_types.h 2000-11-28 06:23:15 +00:00
nonaka 7a41932873 for make snapshot 2000-08-06 16:11:32 +00:00