The NetBSD Project

CVS log for src/sys/rump/Makefile.rump

[BACK] Up to [cvs.NetBSD.org] / src / sys / rump

Request diff between arbitrary revisions


Default branch: MAIN
Current tag: MAIN


Revision 1.136 / (download) - annotate - [select for diffs], Sun Feb 4 18:52:36 2024 UTC (7 weeks, 4 days ago) by andvar
Branch: MAIN
CVS Tags: HEAD
Changes since 1.135: +2 -2 lines
Diff to previous 1.135 (colored) to selected 1.55 (colored)

fix tripple/quadruple "r" letter typos in comments and log messages.

Revision 1.135 / (download) - annotate - [select for diffs], Fri Jul 28 18:19:01 2023 UTC (8 months ago) by christos
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation
Changes since 1.134: +2 -2 lines
Diff to previous 1.134 (colored) to selected 1.55 (colored)

Add epoll(2) from Theodore Preduta as part of GSoC 2023

Revision 1.134 / (download) - annotate - [select for diffs], Tue May 3 08:34:00 2022 UTC (22 months, 3 weeks ago) by hannken
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Changes since 1.133: +5 -1 lines
Diff to previous 1.133 (colored) to selected 1.55 (colored)

Make option VNODE_LOCKDEBUG more functional.

- Add "LOCKED=EXCL" option for vnode operations needing exclusive locked nodes.

- As it is impossible to check for shared locks held by current thread avoid
  false assertions by testing for exclusive lock only in the "LOCKED=NO" case.

- New option "RUMP_VNODE_LOCKDEBUG" enables VNODE_LOCKDEBUG for the rump kernel.

Revision 1.133 / (download) - annotate - [select for diffs], Wed Jul 7 11:51:45 2021 UTC (2 years, 8 months ago) by martin
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2
Changes since 1.132: +6 -1 lines
Diff to previous 1.132 (colored) to selected 1.55 (colored)

Allow to set sanitizer flags for the rump build from the
build.sh command line, like: -V RUMP_SANITIZE=address

Revision 1.132 / (download) - annotate - [select for diffs], Sun Apr 25 15:16:56 2021 UTC (2 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-i2c-spi-conf
Changes since 1.131: +2 -2 lines
Diff to previous 1.131 (colored) to selected 1.55 (colored)

use MACHINE_MIPS64

Revision 1.131 / (download) - annotate - [select for diffs], Tue Apr 13 22:23:42 2021 UTC (2 years, 11 months ago) by christos
Branch: MAIN
CVS Tags: thorpej-cfargs-base
Changes since 1.130: +8 -5 lines
Diff to previous 1.130 (colored) to selected 1.55 (colored)

Pass -isystem and -imacro ccp flags to lint

Revision 1.130 / (download) - annotate - [select for diffs], Sun Mar 14 13:11:59 2021 UTC (3 years ago) by rin
Branch: MAIN
CVS Tags: thorpej-futex-base
Branch point for: thorpej-cfargs
Changes since 1.129: +6 -2 lines
Diff to previous 1.129 (colored) to selected 1.55 (colored)

Build rump for PPC_OEA64 on evbppc64.

Revision 1.129 / (download) - annotate - [select for diffs], Fri Jun 12 11:04:45 2020 UTC (3 years, 9 months ago) by roy
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.128: +2 -2 lines
Diff to previous 1.128 (colored) to selected 1.55 (colored)

Remove in-kernel handling of Router Advertisements

This is much better handled by a user-land tool.
Proposed on tech-net here:
https://mail-index.netbsd.org/tech-net/2020/04/22/msg007766.html

Note that the ioctl SIOCGIFINFO_IN6 no longer sets flags. That now
needs to be done using the pre-existing SIOCSIFINFO_FLAGS ioctl.

Compat is fully provided where it makes sense, but trying to turn on
RA handling will obviously throw an error as it no longer exists.

Note that if you use IPv6 temporary addresses, this now needs to be
turned on in dhcpcd.conf(5) rather than in sysctl.conf(5).

Revision 1.128 / (download) - annotate - [select for diffs], Fri May 29 00:05:26 2020 UTC (3 years, 10 months ago) by kamil
Branch: MAIN
Changes since 1.127: +7 -1 lines
Diff to previous 1.127 (colored) to selected 1.55 (colored)

Set -fno-delete-null-pointer-checks for RUMP/MKSANITIZER with Clang

NULL + 0 arithmetic raises LLVM UBSan warnings, specially in sys/pslist.h
in the type-safe macros _PSLIST_VALIDATE_PTRS and _PSLIST_VALIDATE_CONTAINER.

Proposes on <tech-userlevel> without objections.

Revision 1.127 / (download) - annotate - [select for diffs], Mon Mar 9 14:45:41 2020 UTC (4 years ago) by kamil
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh
Changes since 1.126: +1 -3 lines
Diff to previous 1.126 (colored) to selected 1.55 (colored)

Revert previous

Requested by <riastradh>

Revision 1.126 / (download) - annotate - [select for diffs], Mon Mar 9 00:03:00 2020 UTC (4 years ago) by kamil
Branch: MAIN
Changes since 1.125: +4 -2 lines
Diff to previous 1.125 (colored) to selected 1.55 (colored)

Build RUMP with -fno-delete-null-pointer-checks on all compilers

no-delete-null-pointer-checks is required in Clang/LLVM at least for
NULL + 0 operations that trigger LLVM UBSan and could be miscompiled.

Revision 1.125 / (download) - annotate - [select for diffs], Thu Feb 20 22:52:10 2020 UTC (4 years, 1 month ago) by joerg
Branch: MAIN
CVS Tags: is-mlppp-base, is-mlppp, ad-namecache-base3
Changes since 1.124: +2 -2 lines
Diff to previous 1.124 (colored) to selected 1.55 (colored)

The global offset table is spelled .TOC. on PPC64, so preserve that symbol.

Revision 1.124 / (download) - annotate - [select for diffs], Sat Mar 3 22:46:30 2018 UTC (6 years ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-base, phil-wifi-20191119, phil-wifi-20190609, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2, ad-namecache-base2, ad-namecache-base1, ad-namecache-base
Branch point for: phil-wifi, ad-namecache
Changes since 1.123: +6 -1 lines
Diff to previous 1.123 (colored) to selected 1.55 (colored)

Disable NULL pointer check deletion like we do for the kernel in
src/sys/conf/Makefile.kern.inc. This is the same code we are compiling after
all and it has the same issues.

Revision 1.123 / (download) - annotate - [select for diffs], Thu Jan 18 00:32:49 2018 UTC (6 years, 2 months ago) by mrg
Branch: MAIN
Changes since 1.122: +2 -2 lines
Diff to previous 1.122 (colored) to selected 1.55 (colored)

implement 32-bit compat support for raidframe.

convert several raidframe ioctls to be bitsize idempotent so that
they work the same in 32 and 64 bit worlds, allowing netbsd32 to
configure and query raid properly.  remove useless 'row' in a few
places.  add COMPAT_80 and put the old ioctls there.

raidframeio.h:
  RAIDFRAME_TEST_ACC
  - remove, unused
  RAIDFRAME_GET_COMPONENT_LABEL
  - convert to label not pointer to label
  RAIDFRAME_CHECK_RECON_STATUS_EXT
  RAIDFRAME_CHECK_PARITYREWRITE_STATUS_EXT
  RAIDFRAME_CHECK_COPYBACK_STATUS_EXT
  - convert to progress info not pointer to info
  RAIDFRAME_GET_INFO
  - version entirely.
raidframevar.h:
  - rf_recon_req{} has row, flags and raidPtr removed (they're
    not a useful part of this interface.)
  - RF_Config_s{} and RF_DeviceConfig_s{} have numRow/rows removed.
  - RF_RaidDisk_s{} is re-ordered slightly to fix alignment
    padding - the actual data was already OK.
  - InstallSpareTable() loses row argument

rf_compat32.c has code for RF_Config_s{} in 32 bit mode, used
by RAIDFRAME_CONFIGURE and RAIDFRAME_GET_INFO32.

rf_compat80.c has code for rf_recon_req{}, RF_RaidDisk_s{} and
RF_DeviceConfig_s{} to handle RAIDFRAME_FAIL_DISK,
RAIDFRAME_GET_COMPONENT_LABEL, RAIDFRAME_CHECK_RECON_STATUS_EXT,
RAIDFRAME_CHECK_PARITYREWRITE_STATUS_EXT,
RAIDFRAME_CHECK_COPYBACK_STATUS_EXT, RAIDFRAME_GET_INFO.

move several of the per-ioctl code blocks into separate functions.

add rf_recon_req_internal{} to replace old usage of global
rf_recon_req{} that had unused void * in the structure, ruining
it's 32/64 bit ABI.

add missing case for RAIDFRAME_GET_INFO50.

adjust raid tests to use the new .conf format, and add a case to
test the old method as well.

raidctl:
deal with lack of 'row' members in a couple of places.
fail request no longer takes row.
handle "START array" sections with just "numCol numSpare", ie
no "numRow" specified.  for now, generate old-style configuration
but update raidctl.8 to specify the new style (keeping reference
to the old style.)

note that: RF_ComponentLabel_s::{row,num_rows} and
RF_SingleComponent_s::row are obsolete but not removed yet.

Revision 1.122 / (download) - annotate - [select for diffs], Sun Oct 8 18:46:10 2017 UTC (6 years, 5 months ago) by joerg
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202
Changes since 1.121: +5 -5 lines
Diff to previous 1.121 (colored) to selected 1.55 (colored)

Honor REPROFLAGS for rump components.

Revision 1.121 / (download) - annotate - [select for diffs], Sat Jul 9 05:52:22 2016 UTC (7 years, 8 months ago) by matt
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-base, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-localcount, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.120: +5 -5 lines
Diff to previous 1.120 (colored) to selected 1.55 (colored)

Pass down ${CPUFLAGS}

Revision 1.120 / (download) - annotate - [select for diffs], Sun Nov 15 13:50:10 2015 UTC (8 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226
Changes since 1.119: +2 -2 lines
Diff to previous 1.119 (colored) to selected 1.55 (colored)

describe => rumpdescribe

Revision 1.119 / (download) - annotate - [select for diffs], Mon Oct 19 16:16:32 2015 UTC (8 years, 5 months ago) by pooka
Branch: MAIN
Changes since 1.118: +5 -1 lines
Diff to previous 1.118 (colored) to selected 1.55 (colored)

Add a COMMENT describing what each component roughly does.

"make describe" prints the comment.

Requested/inspired by Vincent Schwarzer on rumpkernel-users

Revision 1.118 / (download) - annotate - [select for diffs], Mon Aug 24 22:52:15 2015 UTC (8 years, 7 months ago) by pooka
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921
Changes since 1.117: +1 -2 lines
Diff to previous 1.117 (colored) to selected 1.55 (colored)

Remove individual opt_foo.h files, continue consolidating to opt_rumpkernel.h

Revision 1.117 / (download) - annotate - [select for diffs], Mon Aug 24 22:31:33 2015 UTC (8 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.116: +2 -1 lines
Diff to previous 1.116 (colored) to selected 1.55 (colored)

remove librump/rumpnet/opt, consolidate in rump/include/opt

Revision 1.116 / (download) - annotate - [select for diffs], Mon Aug 24 18:17:04 2015 UTC (8 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.115: +1 -2 lines
Diff to previous 1.115 (colored) to selected 1.55 (colored)

Remove unnecessary DPSRCS+=

-imacros automatically results in a dependency.

Revision 1.115 / (download) - annotate - [select for diffs], Mon Aug 24 09:45:44 2015 UTC (8 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.114: +4 -1 lines
Diff to previous 1.114 (colored) to selected 1.55 (colored)

Use BUILDRUMP_IMACROS if specified.

Revision 1.114 / (download) - annotate - [select for diffs], Fri Aug 21 12:39:07 2015 UTC (8 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.113: +7 -7 lines
Diff to previous 1.113 (colored) to selected 1.55 (colored)

Move constant cpp macros from Makefile.rump into opt_rumpkernel.h
(makes cc invocation lines a bit shorter)

Revision 1.113 / (download) - annotate - [select for diffs], Wed Jun 3 14:40:11 2015 UTC (8 years, 9 months ago) by pooka
Branch: MAIN
CVS Tags: nick-nhusb-base-20150606
Changes since 1.112: +3 -3 lines
Diff to previous 1.112 (colored) to selected 1.55 (colored)

Add a "default" alias for RUMP_NBCOMPAT, in case "default" and "all"
stop being the same thing in the future.

Revision 1.112 / (download) - annotate - [select for diffs], Wed Jun 3 10:49:14 2015 UTC (8 years, 9 months ago) by pooka
Branch: MAIN
Changes since 1.111: +9 -3 lines
Diff to previous 1.111 (colored) to selected 1.55 (colored)

Add "all" and "none" as acceptable RUMP_NBCOMPAT value aliases to
undefined and empty, respectively.

Revision 1.111 / (download) - annotate - [select for diffs], Fri Apr 24 06:29:56 2015 UTC (8 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.110: +2 -5 lines
Diff to previous 1.110 (colored) to selected 1.55 (colored)

There are tests which rely on compat code continuing to be present,
so default RUMP_NBCOMPAT to all releases.

reported by gson

Revision 1.110 / (download) - annotate - [select for diffs], Thu Apr 23 14:49:26 2015 UTC (8 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.109: +6 -6 lines
Diff to previous 1.109 (colored) to selected 1.55 (colored)

Rename RUMP_COMPAT to RUMP_NBCOMBAT to better signify what the
variable does.

Revision 1.109 / (download) - annotate - [select for diffs], Thu Apr 23 14:39:03 2015 UTC (8 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.108: +6 -1 lines
Diff to previous 1.108 (colored) to selected 1.55 (colored)

For RUMP_COMPAT, accept "all" as an alias.

Also accept a comma-separated list, since that's easier to pass through
shells than a whitespace-separated list.

Revision 1.108 / (download) - annotate - [select for diffs], Thu Apr 23 10:52:18 2015 UTC (8 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.107: +2 -2 lines
Diff to previous 1.107 (colored) to selected 1.55 (colored)

Default compat to 60 70, now that it hopefully generates no fallout.

Revision 1.107 / (download) - annotate - [select for diffs], Wed Apr 22 18:14:55 2015 UTC (8 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.106: +2 -2 lines
Diff to previous 1.106 (colored) to selected 1.55 (colored)

Put 50 back to compat list for a while (some fallout)

Revision 1.106 / (download) - annotate - [select for diffs], Wed Apr 22 18:12:39 2015 UTC (8 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.105: +1 -2 lines
Diff to previous 1.105 (colored) to selected 1.55 (colored)

Define rump_nativeabi_p() under arch, where one would logically expect
it to be defined.

Revision 1.105 / (download) - annotate - [select for diffs], Wed Apr 22 17:58:19 2015 UTC (8 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.104: +2 -2 lines
Diff to previous 1.104 (colored) to selected 1.55 (colored)

default compat to 60 & 70

Revision 1.104 / (download) - annotate - [select for diffs], Wed Apr 22 16:59:45 2015 UTC (8 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.103: +4 -2 lines
Diff to previous 1.103 (colored) to selected 1.55 (colored)

Generate -DCOMPAT_nn from a list of nn provided in RUMP_COMPAT

Revision 1.103 / (download) - annotate - [select for diffs], Tue Dec 2 01:59:10 2014 UTC (9 years, 3 months ago) by pooka
Branch: MAIN
CVS Tags: nick-nhusb-base-20150406
Changes since 1.102: +4 -1 lines
Diff to previous 1.102 (colored) to selected 1.55 (colored)

Remove shlib_version files and just use Makefile SHLIB_MAJOR/MINOR,
with the default provided by Makefile.rump (they're all 0.0 anyway)

Revision 1.102 / (download) - annotate - [select for diffs], Mon Dec 1 23:08:15 2014 UTC (9 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.101: +3 -2 lines
Diff to previous 1.101 (colored) to selected 1.55 (colored)

need -Wno-unused-parameter with -Wextra

Revision 1.101 / (download) - annotate - [select for diffs], Mon Dec 1 22:58:41 2014 UTC (9 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.100: +6 -5 lines
Diff to previous 1.100 (colored) to selected 1.55 (colored)

define the warnings used for hypercall components once

Revision 1.100 / (download) - annotate - [select for diffs], Mon Dec 1 22:54:32 2014 UTC (9 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.99: +1 -5 lines
Diff to previous 1.99 (colored) to selected 1.55 (colored)

RUMPCOMP_USER has been deprecated for long enough, remove it.

Revision 1.99 / (download) - annotate - [select for diffs], Tue Jul 22 20:25:13 2014 UTC (9 years, 8 months ago) by alnsn
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, nick-nhusb-base, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Branch point for: nick-nhusb
Changes since 1.98: +11 -1 lines
Diff to previous 1.98 (colored) to selected 1.55 (colored)

Implement rumpcomp_sync_icache() hyprecall for mips and add
a barebone implementation if mips cache ops to librumpkern_sljit.

Revision 1.98 / (download) - annotate - [select for diffs], Fri Jun 20 11:57:56 2014 UTC (9 years, 9 months ago) by pooka
Branch: MAIN
Changes since 1.97: +2 -2 lines
Diff to previous 1.97 (colored) to selected 1.55 (colored)

Some rump kernel components for interfacing with the environment need
to access both NetBSD kernel facilities and facilities provided by the
environment.

Where the environment's headers can be #included without namespace
conflict (which can be done - with care - for some Xen mini-os
headers), it is convenient to simply allow the rump kernel code to
call directly into the environment.

This also requires not mangling the symbol names.

So provide a variable RUMP_SYM_NORENAME which can be set by a component
namefile to a series of symbols or symbol prefixes (in makefile-quoted
awk regexp syntax).  For example, in the rumpuser-xen xenbus driver:
 RUMP_SYM_NORENAME=xenbus_|HYPERVISOR_|wake$$|block$$|schedule$$|force_evtchn

Signed-off-by: Ian Jackson <Ian.Jackson@eu.citrix.com>
(proposed on rumpkernel-users; very minor modification by myself)

Revision 1.97 / (download) - annotate - [select for diffs], Fri Apr 25 11:49:16 2014 UTC (9 years, 11 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base
Changes since 1.96: +2 -2 lines
Diff to previous 1.96 (colored) to selected 1.55 (colored)

Remove old HAVE_SUN_LD compat handling, it was there long enough.

Revision 1.96 / (download) - annotate - [select for diffs], Wed Apr 23 23:25:45 2014 UTC (9 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.95: +3 -1 lines
Diff to previous 1.95 (colored) to selected 1.55 (colored)

Add a RUMP_USE_CTOR compile-time switch.  If defined, use
__attribute__((constructor)) to determine which rump kernel components
and kernel modules are linked into the rump kernel.  If not defined
(default), use the regular approach with link sets.

This option is aimed to fix problems with toolchains where using link
sets is not possible because the linker does not generate the requisite
__start/__stop symbols for the link set sections (e.g. GNU gold, OS X, ...).

Revision 1.95 / (download) - annotate - [select for diffs], Tue Apr 15 13:41:46 2014 UTC (9 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.94: +6 -1 lines
Diff to previous 1.94 (colored) to selected 1.55 (colored)

add multi-inclusion protection

Revision 1.94 / (download) - annotate - [select for diffs], Sun Mar 16 15:31:03 2014 UTC (10 years ago) by pooka
Branch: MAIN
CVS Tags: riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3
Branch point for: tls-earlyentropy
Changes since 1.93: +13 -1 lines
Diff to previous 1.93 (colored) to selected 1.55 (colored)

Introduce RUMP_CURLWP compile option to select curlwp scheme.
Default is still "hypercall".

Revision 1.93 / (download) - annotate - [select for diffs], Sun Mar 16 14:02:06 2014 UTC (10 years ago) by pooka
Branch: MAIN
Changes since 1.92: +6 -4 lines
Diff to previous 1.92 (colored) to selected 1.55 (colored)

Allow RUMP_LDSCRIPT itself to be used to specify which ldscript to use.
HAVE_SUN_LD will be deprecated in the future.

Revision 1.92 / (download) - annotate - [select for diffs], Sat Mar 15 15:15:26 2014 UTC (10 years ago) by pooka
Branch: MAIN
Changes since 1.91: +3 -4 lines
Diff to previous 1.91 (colored) to selected 1.55 (colored)

Allow compile-time optimizations to curlwp.  This can have a pretty
staggering impact on performance.  When running sendto() in a loop,
the improvement is 200k more calls per second with an inlined __thread
curlwp as opposed to the default.  In other words, it shaves off hundreds
of CPU cycles per call (~20%).  Even just eliminating the x86_curlwp()
call in favor of an inline gives an improvement of 60k calls per second.

Revision 1.91 / (download) - annotate - [select for diffs], Thu Mar 13 01:34:06 2014 UTC (10 years ago) by pooka
Branch: MAIN
Changes since 1.90: +23 -17 lines
Diff to previous 1.90 (colored) to selected 1.55 (colored)

Allow multiple "rumpcomp_user" source modules to be specified by
introducing RUMPCOMP_USER_SRCS.  Make RUMPCOMP_USER issue a deprecation
warning, but for compat make it set RUMPCOMP_USER_SRCS=rumpcomp_user.c
for now.

Revision 1.90 / (download) - annotate - [select for diffs], Mon Mar 10 22:38:53 2014 UTC (10 years ago) by pooka
Branch: MAIN
Changes since 1.89: +9 -6 lines
Diff to previous 1.89 (colored) to selected 1.55 (colored)

Move the "is arch capable of loading native kernel modules into
rump kernel" clauses from bsd.own.mk to Makefile.rump.  Also,
add a rump_nativeabi_p() call to determine if rump kernel is
compiled with native ABI support.

Revision 1.89 / (download) - annotate - [select for diffs], Mon Dec 9 17:57:11 2013 UTC (10 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.88: +6 -2 lines
Diff to previous 1.88 (colored) to selected 1.55 (colored)

Make ktrace a compile-time option

Revision 1.88 / (download) - annotate - [select for diffs], Mon Dec 9 16:54:20 2013 UTC (10 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.87: +2 -1 lines
Diff to previous 1.87 (colored) to selected 1.55 (colored)

Support ktrace for rump kernels.

Requested by Justin Cormack on rumpkernel-users.

Revision 1.87 / (download) - annotate - [select for diffs], Tue Sep 3 19:57:02 2013 UTC (10 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.86: +3 -3 lines
Diff to previous 1.86 (colored) to selected 1.55 (colored)

RUMPCOMP_USEROBJ -> RUMPOBJ_NORENAME

Widens the implied usage scope of the variable.

Revision 1.86 / (download) - annotate - [select for diffs], Fri Aug 30 10:29:06 2013 UTC (10 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.85: +2 -2 lines
Diff to previous 1.85 (colored) to selected 1.55 (colored)

Rename RUMPTEST_BUILDSH to RUMPKERN_ONLY.  Turns out not building any
POSIX implementations of hypercalls is useful beyond the build.sh test,
such as when building rump kernels for non-POSIX hosts.

Revision 1.85 / (download) - annotate - [select for diffs], Mon Aug 5 16:00:57 2013 UTC (10 years, 7 months ago) by joerg
Branch: MAIN
Changes since 1.84: +2 -2 lines
Diff to previous 1.84 (colored) to selected 1.55 (colored)

The linker script is the argument of -T, so keep them together.

Revision 1.84 / (download) - annotate - [select for diffs], Tue Jul 16 19:07:54 2013 UTC (10 years, 8 months ago) by pooka
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Changes since 1.83: +2 -2 lines
Diff to previous 1.83 (colored) to selected 1.55 (colored)

COMPAT_60 for rump kernels.

Requested via github (buildrump.sh)

Revision 1.83 / (download) - annotate - [select for diffs], Tue Jul 9 17:49:37 2013 UTC (10 years, 8 months ago) by pooka
Branch: MAIN
Changes since 1.82: +2 -2 lines
Diff to previous 1.82 (colored) to selected 1.55 (colored)

Fix pasto: BUILDRUMP_CPPFLAGS was used twice.

Revision 1.82 / (download) - annotate - [select for diffs], Thu Jul 4 10:14:04 2013 UTC (10 years, 8 months ago) by pooka
Branch: MAIN
Changes since 1.81: +6 -4 lines
Diff to previous 1.81 (colored) to selected 1.55 (colored)

Apparently warning flags are not kept in CWARNFLAGS.  Compensate.

Revision 1.81 / (download) - annotate - [select for diffs], Sun Apr 28 12:54:39 2013 UTC (10 years, 11 months ago) by pooka
Branch: MAIN
CVS Tags: khorben-n900
Branch point for: rmind-smpnet
Changes since 1.80: +2 -2 lines
Diff to previous 1.80 (colored) to selected 1.55 (colored)

fix "build.sh rumptest" wrt private hypercalls

Revision 1.80 / (download) - annotate - [select for diffs], Sun Apr 28 10:25:04 2013 UTC (10 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.79: +5 -5 lines
Diff to previous 1.79 (colored) to selected 1.55 (colored)

Build only rumpcomp_user.c as part of the rumpcomp_user rules
(otherwise ioconf.c wants to be part of .ALLSRC for whatever reason
I'm not really interested in, but which the make gurus will surely
explain to me)

Revision 1.79 / (download) - annotate - [select for diffs], Sat Apr 27 12:51:45 2013 UTC (10 years, 11 months ago) by pooka
Branch: MAIN
Changes since 1.78: +4 -1 lines
Diff to previous 1.78 (colored) to selected 1.55 (colored)

Allow to completely skip the ldscript, useful for linkers that don't need one.

Revision 1.78 / (download) - annotate - [select for diffs], Sun Mar 17 01:13:00 2013 UTC (11 years ago) by christos
Branch: MAIN
CVS Tags: agc-symver-base, agc-symver
Changes since 1.77: +2 -2 lines
Diff to previous 1.77 (colored) to selected 1.55 (colored)

fix typo

Revision 1.77 / (download) - annotate - [select for diffs], Sat Mar 16 23:51:39 2013 UTC (11 years ago) by christos
Branch: MAIN
Changes since 1.76: +5 -5 lines
Diff to previous 1.76 (colored) to selected 1.55 (colored)

order too

Revision 1.76 / (download) - annotate - [select for diffs], Sat Mar 16 23:37:43 2013 UTC (11 years ago) by christos
Branch: MAIN
Changes since 1.75: +5 -5 lines
Diff to previous 1.75 (colored) to selected 1.55 (colored)

uniquefy, really should fix this so there are no dup rules.

Revision 1.75 / (download) - annotate - [select for diffs], Sat Mar 16 21:38:21 2013 UTC (11 years ago) by christos
Branch: MAIN
Changes since 1.74: +10 -5 lines
Diff to previous 1.74 (colored) to selected 1.55 (colored)

Fix the build w/o DESTDIR

Revision 1.74 / (download) - annotate - [select for diffs], Fri Mar 15 12:42:18 2013 UTC (11 years ago) by pooka
Branch: MAIN
Changes since 1.73: +2 -2 lines
Diff to previous 1.73 (colored) to selected 1.55 (colored)

one more typofix

Revision 1.73 / (download) - annotate - [select for diffs], Fri Mar 15 12:18:41 2013 UTC (11 years ago) by pooka
Branch: MAIN
Changes since 1.72: +2 -2 lines
Diff to previous 1.72 (colored) to selected 1.55 (colored)

On second thought, let's use make syntax in makefiles ...

Revision 1.72 / (download) - annotate - [select for diffs], Fri Mar 15 12:15:52 2013 UTC (11 years ago) by pooka
Branch: MAIN
Changes since 1.71: +8 -1 lines
Diff to previous 1.71 (colored) to selected 1.55 (colored)

Use correct ldscript etc. for Sun ld.

Revision 1.71 / (download) - annotate - [select for diffs], Fri Mar 15 11:15:22 2013 UTC (11 years ago) by pooka
Branch: MAIN
Changes since 1.70: +5 -5 lines
Diff to previous 1.70 (colored) to selected 1.55 (colored)

Use "-isysroot ${DESTDIR}" for RUMPCOMP_USER when run as part of build.sh
so as to catch the necessary headers, which, unlike in the buildrump.sh
case, are not supposed to be intermingled with the ones provided by
the host.

Revision 1.70 / (download) - annotate - [select for diffs], Fri Mar 1 18:11:11 2013 UTC (11 years ago) by pooka
Branch: MAIN
Changes since 1.69: +13 -13 lines
Diff to previous 1.69 (colored) to selected 1.55 (colored)

Shuffle the namespaces in the previous around a bit, and make it
rumpcomp_user instead of rumpuser_component.  This makes sure the
rumpuser namespace is used only by librumpuser.

Revision 1.69 / (download) - annotate - [select for diffs], Fri Mar 1 14:05:43 2013 UTC (11 years ago) by pooka
Branch: MAIN
Changes since 1.68: +37 -10 lines
Diff to previous 1.68 (colored) to selected 1.55 (colored)

Allow rump kernel components to define their own hypercalls.  This is
useful for example for supporting the tap device on Linux, for which
Linux-specific ioctl's are required (or at least so I was told).

Revision 1.68 / (download) - annotate - [select for diffs], Thu Nov 22 21:21:21 2012 UTC (11 years, 4 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7
Changes since 1.67: +2 -2 lines
Diff to previous 1.67 (colored) to selected 1.55 (colored)

Pass linker script with -Wl,-T to avoid clang incompating itself out
without flagging an error.

Revision 1.67 / (download) - annotate - [select for diffs], Wed Nov 21 17:53:10 2012 UTC (11 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.66: +3 -4 lines
Diff to previous 1.66 (colored) to selected 1.55 (colored)

Instead of maintaining an evergrowing list of -U's, leave that up
to an external script.

Revision 1.66 / (download) - annotate - [select for diffs], Wed Nov 21 17:51:42 2012 UTC (11 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.65: +6 -9 lines
Diff to previous 1.65 (colored) to selected 1.55 (colored)

Don't duplicate arbitrary chunks of bsd.sys.mk in here (especially
-Wsign-compare, since that doesn't even work with the kernel, and was
just previously masked by -isystem).  Reorder a bit too.

Revision 1.65 / (download) - annotate - [select for diffs], Wed Nov 21 17:48:05 2012 UTC (11 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.64: +12 -3 lines
Diff to previous 1.64 (colored) to selected 1.55 (colored)

Don't unconditionally use the error-silencing magic of -isystem
(as opposed to -I) on every component, only the zfs ones depend on it
to build.  Regular modules might benefit from a similar move.

Revision 1.64 / (download) - annotate - [select for diffs], Tue Nov 13 19:12:42 2012 UTC (11 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.63: +3 -1 lines
Diff to previous 1.63 (colored) to selected 1.55 (colored)

add some -U's for linux builds

Revision 1.63 / (download) - annotate - [select for diffs], Fri Aug 10 16:05:27 2012 UTC (11 years, 7 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base6
Branch point for: tls-maxphys
Changes since 1.62: +2 -2 lines
Diff to previous 1.62 (colored) to selected 1.55 (colored)

Deal with optional HAVE_GCC.

Revision 1.62 / (download) - annotate - [select for diffs], Sun Aug 5 15:37:39 2012 UTC (11 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.61: +10 -3 lines
Diff to previous 1.61 (colored) to selected 1.55 (colored)

Make it easy to turn -DDIAGNOSTIC off (RUMP_DIAGNOSTIC=no) and -DDEBUG
on (RUMP_DEBUG=yes).

Revision 1.61 / (download) - annotate - [select for diffs], Tue May 10 00:33:58 2011 UTC (12 years, 10 months ago) by matt
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, rmind-uvmplock-nbase, rmind-uvmplock-base, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp
Branch point for: yamt-pagecache, matt-nb6-plus
Changes since 1.60: +6 -1 lines
Diff to previous 1.60 (colored) to selected 1.55 (colored)

Make rump compile things with -std=gnu99 like the kernel and modules.

Revision 1.60 / (download) - annotate - [select for diffs], Tue Feb 1 01:15:51 2011 UTC (13 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: bouyer-quota2-nbase, bouyer-quota2-base
Changes since 1.59: +2 -2 lines
Diff to previous 1.59 (colored) to selected 1.55 (colored)

Define COMPAT_50 to be 1 just like config(8) would be opt_compat_netbsd.h

Revision 1.59 / (download) - annotate - [select for diffs], Thu Jan 6 11:22:54 2011 UTC (13 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: jruoho-x86intr-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.58: +5 -1 lines
Diff to previous 1.58 (colored) to selected 1.55 (colored)

Support LOCKDEBUG.  To use it, compile sys/rump with RUMP_LOCKDEBUG=yes.

requested by martin (sparc64 gdb cannot reliably produce a stack trace)

Revision 1.58 / (download) - annotate - [select for diffs], Mon Dec 6 09:12:34 2010 UTC (13 years, 3 months ago) by pooka
Branch: MAIN
CVS Tags: matt-mips64-premerge-20101231
Changes since 1.57: +3 -3 lines
Diff to previous 1.57 (colored) to selected 1.55 (colored)

use -isystem where appropriate

Revision 1.57 / (download) - annotate - [select for diffs], Tue May 11 21:08:07 2010 UTC (13 years, 10 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2
Changes since 1.56: +2 -2 lines
Diff to previous 1.56 (colored) to selected 1.55 (colored)

Limit visibility of _RUMPKERNEL to prevent abuse.

Revision 1.56 / (download) - annotate - [select for diffs], Mon Apr 26 23:01:53 2010 UTC (13 years, 11 months ago) by pooka
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Changes since 1.55: +3 -1 lines
Diff to previous 1.55 (colored)

Give a cpp hint if the native kernel abi is supported.

Revision 1.55 / (download) - annotate - [selected], Sun Mar 28 04:29:34 2010 UTC (14 years ago) by mrg
Branch: MAIN
Changes since 1.54: +19 -4 lines
Diff to previous 1.54 (colored)

apply a patch from dennis fergusson:

fix the powerpc64 quirk handling by introducing a prefix quirk and
using it as appropriate.  fix the (postfix) quirk.

now rump and powerpc64 get along nicely.

Revision 1.54 / (download) - annotate - [select for diffs], Mon Mar 22 05:39:00 2010 UTC (14 years ago) by mrg
Branch: MAIN
Changes since 1.53: +3 -1 lines
Diff to previous 1.53 (colored) to selected 1.55 (colored)

add + _SYMQUIRK='|\.(rump|RUMP)' for powerpc64, as recommended by pooka.
it gets rid of many of the warnings trying to link rump_cd9960, but
there are a bunch remaining.  atomic ops seem missing, and some ktrace
points.

Revision 1.53 / (download) - annotate - [select for diffs], Sun Mar 21 06:55:44 2010 UTC (14 years ago) by pooka
Branch: MAIN
Changes since 1.52: +3 -16 lines
Diff to previous 1.52 (colored) to selected 1.55 (colored)

Move make snippets for use with config(1) ioconf functionality from
rump into share/mk.  This is to make it useful for all kernel
builders.

Note: we have waaay too many weird and wonderful ways of making
kernel code (monolithic kernel, modules, rump).  There should be
only one way to build kernel code instead of a maze of twisty little
.mk files, all not quite alike.  When that is fixed, this snippet can go
into the more generic .mk file.

Revision 1.52 / (download) - annotate - [select for diffs], Mon Mar 1 15:41:15 2010 UTC (14 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9
Branch point for: rmind-uvmplock
Changes since 1.51: +5 -5 lines
Diff to previous 1.51 (colored) to selected 1.55 (colored)

Rename IOCONFIG to IOCONF.  It matches the config(1) keyword and
aligns better in Makefiles.

Revision 1.51 / (download) - annotate - [select for diffs], Wed Feb 17 13:28:40 2010 UTC (14 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.50: +3 -2 lines
Diff to previous 1.50 (colored) to selected 1.55 (colored)

Invert inverted comment and verbosify it.

Revision 1.50 / (download) - annotate - [select for diffs], Tue Feb 16 20:42:44 2010 UTC (14 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.49: +2 -2 lines
Diff to previous 1.49 (colored) to selected 1.55 (colored)

Globally define -Wno-pointer-sign, as it has become a pointless
exercise of "add it to every Makefile individually".

XXX: should autosynchronize with the rest of the kernel buildflags
in sys/conf/Makefile.kern.inc.

Revision 1.49 / (download) - annotate - [select for diffs], Tue Feb 9 16:16:26 2010 UTC (14 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.48: +2 -2 lines
Diff to previous 1.48 (colored) to selected 1.55 (colored)

IOCONFIG comes from .CURDIR

Revision 1.48 / (download) - annotate - [select for diffs], Wed Feb 3 21:15:39 2010 UTC (14 years, 1 month ago) by pooka
Branch: MAIN
CVS Tags: uebayasi-xip-base
Branch point for: uebayasi-xip
Changes since 1.47: +3 -1 lines
Diff to previous 1.47 (colored) to selected 1.55 (colored)

add a rule for locators.h too

Revision 1.47 / (download) - annotate - [select for diffs], Wed Feb 3 21:11:24 2010 UTC (14 years, 1 month ago) by pooka
Branch: MAIN
Changes since 1.46: +16 -2 lines
Diff to previous 1.46 (colored) to selected 1.55 (colored)

If IOCONFIG is defined, autogenerate ioconf.c and locators.h
from ${IOCONFIG}.

Revision 1.46 / (download) - annotate - [select for diffs], Sun Jan 31 00:38:36 2010 UTC (14 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.45: +27 -4 lines
Diff to previous 1.45 (colored) to selected 1.55 (colored)

Make (no pun intended) it possible to perform component symbol
protection from a shell prompt with the command line:

    make -f /sys/rump/Makefile RUMP_SYMREN=module.kobj

This is benefitial especially on i386, where rump ABI matches the
kernel ABI (sans the renaming isolation).  In the above example
module.kobj can then be loaded in a rump kernel either statically
at link-time simply by giving module.kobj as an object to the
linker, or dynamically at runtime by calling rump_sys_modctl(MODCTL_LOAD).

Revision 1.45 / (download) - annotate - [select for diffs], Sat Dec 12 17:10:19 2009 UTC (14 years, 3 months ago) by pooka
Branch: MAIN
CVS Tags: matt-premerge-20091211
Changes since 1.44: +2 -10 lines
Diff to previous 1.44 (colored) to selected 1.55 (colored)

Use linker script to make __start/stop_link_set_modules be present
in libs built with binutils >=2.19.  This is a less error-prone
method than the previous where components had to be tagged in the
Makefile as modules (and if they weren't, things broke.  and vice
versa).

Revision 1.44 / (download) - annotate - [select for diffs], Fri Nov 27 13:36:30 2009 UTC (14 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.43: +4 -1 lines
Diff to previous 1.43 (colored) to selected 1.55 (colored)

Include arch/include/Makefile.inc for some compiler flags.

Revision 1.43 / (download) - annotate - [select for diffs], Fri Nov 20 12:24:17 2009 UTC (14 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.42: +5 -2 lines
Diff to previous 1.42 (colored) to selected 1.55 (colored)

Hmm, in addition to leaving out -lc, -nostdlibs also leaves out
libgcc, and causes problems on some platforms.  Currently there is
no easy way to say "link against libgcc but not against libc", so
just comment out -nostdlibs until a better way is invented.

Revision 1.42 / (download) - annotate - [select for diffs], Tue Nov 17 16:17:06 2009 UTC (14 years, 4 months ago) by pooka
Branch: MAIN
Changes since 1.41: +4 -1 lines
Diff to previous 1.41 (colored) to selected 1.55 (colored)

Don't link rump kernel libs against libc.  They have no host system
dependencies apart from indirect ones via rumpuser.

Revision 1.41 / (download) - annotate - [select for diffs], Sun Sep 13 22:51:41 2009 UTC (14 years, 6 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, jym-xensuspend-nbase
Changes since 1.40: +10 -1 lines
Diff to previous 1.40 (colored) to selected 1.55 (colored)

binutils 2.19 has changed the old behaviour of defining __start_SECTNAME
for orphaned sections to using PROVIDE.  What this means is that
unless a rump component internally references that symbol, it will
not be included in the component shared library, and hence cannot
be referenced when the component is loaded.  Add a workaround which
works both with 2.16 and 2.19: force a reference to the __start
symbol internally and hence retain it in the resulting library.

Revision 1.40 / (download) - annotate - [select for diffs], Tue Sep 8 20:24:08 2009 UTC (14 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.39: +2 -1 lines
Diff to previous 1.39 (colored) to selected 1.55 (colored)

kernel code needs -Wno-format-zero-length

Revision 1.39 / (download) - annotate - [select for diffs], Mon Sep 7 13:02:37 2009 UTC (14 years, 6 months ago) by pooka
Branch: MAIN
Changes since 1.38: +4 -1 lines
Diff to previous 1.38 (colored) to selected 1.55 (colored)

Always define __NetBSD__ (for builds on non-NetBSD)

Revision 1.38 / (download) - annotate - [select for diffs], Sun May 3 16:53:54 2009 UTC (14 years, 10 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, jymxensuspend-base, jym-xensuspend-base
Changes since 1.37: +2 -1 lines
Diff to previous 1.37 (colored) to selected 1.55 (colored)

define DEBUGPRINT

Revision 1.37 / (download) - annotate - [select for diffs], Sun Apr 26 20:45:37 2009 UTC (14 years, 11 months ago) by pooka
Branch: MAIN
CVS Tags: nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base
Changes since 1.36: +3 -2 lines
Diff to previous 1.36 (colored) to selected 1.55 (colored)

prettyprint long line, no functional change

Revision 1.36 / (download) - annotate - [select for diffs], Wed Apr 1 17:51:12 2009 UTC (15 years ago) by perry
Branch: MAIN
Changes since 1.35: +3 -2 lines
Diff to previous 1.35 (colored) to selected 1.55 (colored)

More reproducible build fixes:

1) invoke objcopy with --preserve-dates or it will update all the
   dates in the .a file to the present date.
2) add an invocation of ar-as-ranlib or the object file index ends up
   with the date in it. (it might also end up with an incorrect
   index.)

Revision 1.35 / (download) - annotate - [select for diffs], Sat Mar 21 04:59:08 2009 UTC (15 years ago) by pooka
Branch: MAIN
Changes since 1.34: +1 -2 lines
Diff to previous 1.34 (colored) to selected 1.55 (colored)

remove RANLIB too.  pointed out by perry.

Revision 1.34 / (download) - annotate - [select for diffs], Thu Mar 19 12:01:50 2009 UTC (15 years ago) by pooka
Branch: MAIN
Changes since 1.33: +2 -2 lines
Diff to previous 1.33 (colored) to selected 1.55 (colored)

Reflect the change to archivebuild in bsd.lib.mk rev 1.296 for
deterministic builds, as hinted by perry.

Revision 1.33 / (download) - annotate - [select for diffs], Thu Feb 12 13:23:17 2009 UTC (15 years, 1 month ago) by lukem
Branch: MAIN
CVS Tags: nick-hppapmap-base2
Changes since 1.32: +2 -2 lines
Diff to previous 1.32 (colored) to selected 1.55 (colored)

Drop to WARNS?=3 as src/sys doesn't compile with -Wsign-compare yet

Revision 1.32 / (download) - annotate - [select for diffs], Fri Jan 23 19:14:30 2009 UTC (15 years, 2 months ago) by pooka
Branch: MAIN
Branch point for: jym-xensuspend
Changes since 1.31: +3 -2 lines
Diff to previous 1.31 (colored) to selected 1.55 (colored)

* enable COMPAT_50 (we need a better compat model here, but this is
  enough for now)
* _RUMPKERNEL is not going anywhere anymore, so adjust comment

Revision 1.31 / (download) - annotate - [select for diffs], Sun Jan 18 20:42:11 2009 UTC (15 years, 2 months ago) by he
Branch: MAIN
Changes since 1.30: +2 -2 lines
Diff to previous 1.30 (colored) to selected 1.55 (colored)

Change the use of formally undocumented features, which have now been
made to fail.  Specifically, change
.ifdef(SYMBOL) -> .ifdef SYMBOL or .if defined(SYMBOL),
and corresponding for .ifndef.

Also correct one error in lib/libm/Makefile (.ifdef (${MKCOMPLEX} != "no")?!?).

Revision 1.30 / (download) - annotate - [select for diffs], Wed Jan 14 23:22:09 2009 UTC (15 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: mjf-devfs2-base
Changes since 1.29: +1 -3 lines
Diff to previous 1.29 (colored) to selected 1.55 (colored)

Do rump kernel symbol protection for vax.  All archs support it now.

Revision 1.29 / (download) - annotate - [select for diffs], Mon Jan 12 02:22:55 2009 UTC (15 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.28: +15 -5 lines
Diff to previous 1.28 (colored) to selected 1.55 (colored)

* Add adapted version of the userspace atomic_cas ops for platforms
  lacking special instructions.  We always use the spinlocked version
  (could use RAS on UP NetBSD host, but it's not portable).
* Add platform-based symbol quirk tables for selectively not renaming
  toolchain symbols for some platforms.  Although, this should really
  depend on the (toolchain,platform)-tuple and not just the platform.

This allows arm, hppa, mips and sh3 to build succesfully with an
isolated rump kernel namespace.  ... now, one arch remains: vax.
you must compile vax.  then, only then will you MI be.

Revision 1.28 / (download) - annotate - [select for diffs], Sun Jan 11 12:55:37 2009 UTC (15 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored) to selected 1.55 (colored)

Treat all of ^__ as compiler namespace and do not rename those
symbols.  This fixes e.g. fortify and sh3 millicode issues.  This
is still not perfect, however, since e.g. the MIPS _gp_disp is not
in ^__.

XXX: we provide a few ^__ symbols in the kernel, but those can be
easily renamed.  The harder problem is how to keep the kernel clean
of those afterwards.

Revision 1.27 / (download) - annotate - [select for diffs], Sat Jan 10 23:38:40 2009 UTC (15 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.26: +2 -2 lines
Diff to previous 1.26 (colored) to selected 1.55 (colored)

* sparc supports rump kernel symbol rename
* plonk vax in here since it has issues with rename

Revision 1.26 / (download) - annotate - [select for diffs], Sat Jan 10 20:19:43 2009 UTC (15 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.25: +5 -1 lines
Diff to previous 1.25 (colored) to selected 1.55 (colored)

Disable symbol renaming for now on arm, mips, sh3 and sparc to
allow them to build.  Some libgcc symbols are being renamed also,
plus not all atomic operations are provided by libkern on these
archs.

Revision 1.25 / (download) - annotate - [select for diffs], Thu Jan 8 20:00:12 2009 UTC (15 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.24: +3 -3 lines
Diff to previous 1.24 (colored) to selected 1.55 (colored)

Add Makefile.rump to DPSRCS.  Should solve issues with UPDATE=1 builds.

Revision 1.24 / (download) - annotate - [select for diffs], Thu Jan 8 18:42:42 2009 UTC (15 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.23: +20 -1 lines
Diff to previous 1.23 (colored) to selected 1.55 (colored)

Rename symbols in rump kernel libraries to always belong to a "rump"
symbol namespace.  This has several implications:
  * no symbols are accidentally linked against host platform libraries
  * all host platform access is done via rumpuser, and hence the
    portability of rump is now well defined
  * functionality such as proplib can now exist within the rump virtual
    kernel and the application using it

Thanks to uwe for originally suggesting the bulk renaming approach
over a pint of what I believe was very crisp, curious and untypical
stout.  It had an almost acidic characteristic with fruity notes
and lacking dark and roasted flavours.

And thanks to lukem for pointing me in the right direction with make.

Revision 1.23 / (download) - annotate - [select for diffs], Fri Jan 2 11:13:38 2009 UTC (15 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored) to selected 1.55 (colored)

Define -DMODULAR in Makefile.rump instead of the sys/rump/librump
Makefile.inc so that it gets picked up by UPDATE=1

Revision 1.22 / (download) - annotate - [select for diffs], Thu Jan 1 22:16:35 2009 UTC (15 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored) to selected 1.55 (colored)

disable strict aliasing to mirror kernel build flags

Revision 1.21 / (download) - annotate - [select for diffs], Thu Jan 1 19:43:57 2009 UTC (15 years, 2 months ago) by pooka
Branch: MAIN
Changes since 1.20: +3 -1 lines
Diff to previous 1.20 (colored) to selected 1.55 (colored)

Purge multiple kernel opt files.

Revision 1.20 / (download) - annotate - [select for diffs], Tue Dec 30 21:31:10 2008 UTC (15 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.19: +3 -2 lines
Diff to previous 1.19 (colored) to selected 1.55 (colored)

Move list of rump-uses-kmod archs to bsd.own.mk for wider consumption.

Revision 1.19 / (download) - annotate - [select for diffs], Tue Dec 30 19:05:40 2008 UTC (15 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.18: +3 -2 lines
Diff to previous 1.18 (colored) to selected 1.55 (colored)

Switch amd64 rumps to the kernel ABI.

Revision 1.18 / (download) - annotate - [select for diffs], Mon Dec 29 22:16:15 2008 UTC (15 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.17: +7 -2 lines
Diff to previous 1.17 (colored) to selected 1.55 (colored)

Switch i386 away from rump/include/machine.  This means that rump
on i386 now uses the native kernel ABI.  This in turn means that
rump modules and kernel modules are binary equivalent and can be
used interchangeably.

Revision 1.17 / (download) - annotate - [select for diffs], Mon Dec 29 18:53:57 2008 UTC (15 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.16: +4 -2 lines
Diff to previous 1.16 (colored) to selected 1.55 (colored)

We are conseptually a module, so -D_MODULE.  Group CPPFLAGS better.

Revision 1.16 / (download) - annotate - [select for diffs], Tue Dec 16 23:49:48 2008 UTC (15 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored) to selected 1.55 (colored)

Pick PPC_OEA over PPC_IBM4XX.  I've decided I like it more.
(plus it hopefully builds without source changes)

Revision 1.15 / (download) - annotate - [select for diffs], Tue Dec 16 23:17:17 2008 UTC (15 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored) to selected 1.55 (colored)

liberate trailing whitespace

Revision 1.14 / (download) - annotate - [select for diffs], Tue Dec 16 23:16:46 2008 UTC (15 years, 3 months ago) by pooka
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored) to selected 1.55 (colored)

-Isys/arch is used in kernel builds

Revision 1.13 / (download) - annotate - [select for diffs], Mon Dec 8 12:57:33 2008 UTC (15 years, 3 months ago) by pooka
Branch: MAIN
CVS Tags: haad-nbase2, haad-dm-base2, haad-dm-base
Changes since 1.12: +6 -1 lines
Diff to previous 1.12 (colored) to selected 1.55 (colored)

Instead of punishing all archs for a fake vmparam.h, punish only
evbppc for its insolence and pick a ppc cpu family at random in
Makefile.rump.

Revision 1.12 / (download) - annotate - [select for diffs], Thu Oct 9 13:40:38 2008 UTC (15 years, 5 months ago) by pooka
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, haad-dm-base1, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored) to selected 1.55 (colored)

Compile all rump kernel portions with -DMULTIPROCESSOR.

Revision 1.11 / (download) - annotate - [select for diffs], Tue Jul 29 20:18:25 2008 UTC (15 years, 8 months ago) by pooka
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base
Changes since 1.10: +3 -1 lines
Diff to previous 1.10 (colored) to selected 1.55 (colored)

Prevent amd64 compiler flag -mcmodel=kernel for rump kernel code.
This allows to compile rump libraries as shared libraries also on mad64.

Problem spotted by Greg Oster.  I guess his build broke or something ...

Revision 1.10 / (download) - annotate - [select for diffs], Tue Jul 29 13:17:41 2008 UTC (15 years, 8 months ago) by pooka
Branch: MAIN
Changes since 1.9: +10 -18 lines
Diff to previous 1.9 (colored) to selected 1.55 (colored)

Install rump libraries and utilities to the base system and remove the
private non-installed build infrastructure from sys/rump.

breakdown of commit:
  * install relevant headers into /usr/include/rump
  * build sys/rump/librump/rumpuser and sys/rump/librump/rumpkern
    from src/lib and install as librumpuser and librump, respectively
    + this retains the ability to test a librump build with just the
      kernel sources at hand
  * move sys/rump/fs/lib/libukfs and sys/rump/fs/lib/libp2k to src/lib
    for general consumption, they are not kernel-space dwellers anyway
  * build and install sys/rump/fs/lib/lib$fs as librumpfs_$fs
  * add chapter 3 manual pages for rump, rumpuser, ukfs and p2k
  * build and install userspace kernel file system daemons if MKPUFFS=yes
    is spexified
  * retire fsconsole for now, it will make a comeback with an actually
    implemented version shortly

Revision 1.9 / (download) - annotate - [select for diffs], Fri Jul 18 16:20:03 2008 UTC (15 years, 8 months ago) by pooka
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored) to selected 1.55 (colored)

enable DIAGNOSTIC

Revision 1.8 / (download) - annotate - [select for diffs], Sat May 31 19:28:36 2008 UTC (15 years, 10 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, wrstuden-revivesa-base-1, wrstuden-revivesa-base
Branch point for: simonb-wapbl, haad-dm
Changes since 1.7: +2 -2 lines
Diff to previous 1.7 (colored) to selected 1.55 (colored)

Turn off DIAGNOSTIC so it builds.

Revision 1.7 / (download) - annotate - [select for diffs], Sat May 3 14:48:31 2008 UTC (15 years, 10 months ago) by lukem
Branch: MAIN
CVS Tags: yamt-pf42-base2, yamt-nfs-mp-base2, hpcarm-cleanup-nbase
Branch point for: wrstuden-revivesa
Changes since 1.6: +2 -4 lines
Diff to previous 1.6 (colored) to selected 1.55 (colored)

Rename MKPRIVATELIB to LIBISPRIVATE, to make it clearer that this is
a variable that is used by in-tree Makefiles to control behaviour.
(MKsomevar variables are generally intended to be controlled by the end-user)

Revision 1.6 / (download) - annotate - [select for diffs], Thu Jan 24 22:41:07 2008 UTC (16 years, 2 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored) to selected 1.55 (colored)

Use namei() etc. from kernel sources instead of a reimplementation.
To accommodate, give the rootvnode its own vnode op vector with a
simple lookup operation.  This is used for looking up the file
system's device vnode instead of doing that directly in a homesmoked
namei().

Revision 1.5 / (download) - annotate - [select for diffs], Sat Aug 25 10:22:31 2007 UTC (16 years, 7 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, vmlocking-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, nick-csl-alignment-base5, matt-armv6-prevmlocking, matt-armv6-base, jmcneill-pm-base, jmcneill-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-nbase, bouyer-xeni386-merge1, bouyer-xeni386-base, bouyer-xeni386, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: yamt-lazymbuf, mjf-devfs, matt-armv6, jmcneill-pm
Changes since 1.4: +2 -1 lines
Diff to previous 1.4 (colored) to selected 1.55 (colored)

Don't play rename & typecast games with kauth_cred_t, but rather
declare the type in rump.h only if necessary with the help of ifdef
magic.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Aug 15 22:13:15 2007 UTC (16 years, 7 months ago) by pooka
Branch: MAIN
Branch point for: vmlocking
Changes since 1.3: +3 -1 lines
Diff to previous 1.3 (colored) to selected 1.55 (colored)

Wrap malloc() so that we catch the kernel arguments (namely M_ZERO)
properly.  It's fairly amusing that this wasn't noticed until now.

Revision 1.3 / (download) - annotate - [select for diffs], Tue Aug 7 21:33:13 2007 UTC (16 years, 7 months ago) by pooka
Branch: MAIN
Branch point for: nick-csl-alignment
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored) to selected 1.55 (colored)

Compile kernel stuff with DIAGNOSTIC.

Revision 1.2 / (download) - annotate - [select for diffs], Tue Aug 7 10:30:39 2007 UTC (16 years, 7 months ago) by pooka
Branch: MAIN
Changes since 1.1: +2 -2 lines
Diff to previous 1.1 (colored) to selected 1.55 (colored)

-I${NETBSDSRCDIR}/common/include

Revision 1.1 / (download) - annotate - [select for diffs], Sun Aug 5 22:28:01 2007 UTC (16 years, 7 months ago) by pooka
Branch: MAIN
CVS Tags: matt-mips64-base
Branch point for: matt-mips64
Diff to selected 1.55 (colored)

Introduce RUMPs - Runnable Userspace Meta-Programs

/sys/rump contains programs which run unmodified kernel code in an
emulated userspace environment.  The kernel environment is provided
by librump.  Currently supported are a number of file systems,
which by using puffs integrate seamlessly into the system and
provide a similar user experience to if the code was running as
part of the kernel.  Potential future rumpification targets include
for example parts of the networking stack and some device drivers.

This work was supported by Google Summer of Code 2007.

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.




CVSweb <webmaster@jp.NetBSD.org>