The NetBSD Project

CVS log for src/sys/conf/Makefile.kern.inc

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.300 / (download) - annotate - [select for diffs], Sun Jan 14 00:39:10 2024 UTC (2 months, 2 weeks ago) by gutteridge
Branch: MAIN
CVS Tags: HEAD
Changes since 1.299: +2 -2 lines
Diff to previous 1.299 (colored) to selected 1.73.8.4 (colored)

Makefile.kern.inc: fix grammar in a comment

Revision 1.295.4.1 / (download) - annotate - [select for diffs], Mon Sep 11 13:35:37 2023 UTC (6 months, 2 weeks ago) by martin
Branch: netbsd-10
CVS Tags: netbsd-10-0-RELEASE, netbsd-10-0-RC6, netbsd-10-0-RC5, netbsd-10-0-RC4, netbsd-10-0-RC3, netbsd-10-0-RC2, netbsd-10-0-RC1
Changes since 1.295: +18 -5 lines
Diff to previous 1.295 (colored) next main 1.296 (colored) to selected 1.73.8.4 (colored)

Pull up following revision(s) (requested by rin in ticket #363):

	sys/arch/aarch64/conf/Makefile.aarch64: revision 1.24
	sys/arch/aarch64/conf/Makefile.aarch64: revision 1.25
	sys/arch/shark/conf/Makefile.shark.inc: revision 1.28
	sys/arch/alpha/conf/Makefile.alpha: revision 1.88
	sys/arch/mips/conf/Makefile.mips: revision 1.73
	sys/conf/Makefile.kern.inc: revision 1.298
	sys/conf/Makefile.kern.inc: revision 1.299
	sys/arch/cats/conf/Makefile.cats.inc: revision 1.37
	sys/arch/arm/conf/Makefile.arm: revision 1.56
	sys/arch/arm/conf/Makefile.arm: revision 1.57
	sys/arch/riscv/conf/Makefile.riscv: revision 1.10

Always use arm-elf2aout; no a.out support both for binutils{,.old}

Fix kernel size inflation for arm and aarch64 (PR toolchain/57146)

For some conditions, SYSTEM_LD_TAIL is set for arm and aarch64.
Then, ctfmerge(1) in default SYSTEM_LD_TAIL is unintentionally
skipped, which results in the catastrophic kernel size inflation,
as reported in the PR.

Also, introduce and use OBJCOPY_STRIPFLAGS variable instead of
STRIPFLAGS, as strip(1) is replaced by objcopy(1) during MI
kernel build procedure.

For Makefile.{arm,aarch64}, weird logic is used to determine how
to handle debug symbols; MKDEBUG{,KERNEL} are taken into account
later in sys/conf/Makefile.kern.inc.

Use OBJCOPY_STRIPFLAGS instead of STRIPFLAGS.
Simplify fix for PR toolchain/57146

Introduce ARCH_STRIP_SYMBOLS variable to centralize logic for debug
symbols from MD Makefile's to Makefile.kern.inc.

Revision 1.299 / (download) - annotate - [select for diffs], Fri Jul 28 02:41:31 2023 UTC (8 months ago) by rin
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation
Changes since 1.298: +16 -6 lines
Diff to previous 1.298 (colored) to selected 1.73.8.4 (colored)

Simplify fix for PR toolchain/57146

Introduce ARCH_STRIP_SYMBOLS variable to centralize logic for debug
symbols from MD Makefile's to Makefile.kern.inc.

Revision 1.298 / (download) - annotate - [select for diffs], Wed Jul 26 03:39:55 2023 UTC (8 months ago) by rin
Branch: MAIN
Changes since 1.297: +6 -3 lines
Diff to previous 1.297 (colored) to selected 1.73.8.4 (colored)

Fix kernel size inflation for arm and aarch64 (PR toolchain/57146)

For some conditions, SYSTEM_LD_TAIL is set for arm and aarch64.
Then, ctfmerge(1) in default SYSTEM_LD_TAIL is unintentionally
skipped, which results in the catastrophic kernel size inflation,
as reported in the PR.

Also, introduce and use OBJCOPY_STRIPFLAGS variable instead of
STRIPFLAGS, as strip(1) is replaced by objcopy(1) during MI
kernel build procedure.

XXX
For Makefile.{arm,aarch64}, weird logic is used to determine how
to handle debug symbols; MKDEBUG{,KERNEL} are taken into account
later in sys/conf/Makefile.kern.inc.

Revision 1.297 / (download) - annotate - [select for diffs], Sat Jun 3 21:26:29 2023 UTC (9 months, 3 weeks ago) by lukem
Branch: MAIN
Changes since 1.296: +3 -3 lines
Diff to previous 1.296 (colored) to selected 1.73.8.4 (colored)

adapt to ${CC_WNO_ADDRESS_OF_PACKED_MEMBER}

Simplify CWARNFLAGS to use ${CC_WNO_ADDRESS_OF_PACKED_MEMBER}
which works for both clang and gcc, and remove compiler-specific
equivalents.

Revision 1.296 / (download) - annotate - [select for diffs], Sat Jun 3 08:52:58 2023 UTC (9 months, 3 weeks ago) by lukem
Branch: MAIN
Changes since 1.295: +2 -2 lines
Diff to previous 1.295 (colored) to selected 1.73.8.4 (colored)

bsd.own.mk: rename to CC_WNO_ADDRESS_OF_PACKED_MEMBER

Provide a single variable
	CC_WNO_ADDRESS_OF_PACKED_MEMBER
with options for both clang and gcc, to replace
	CLANG_NO_ADDR_OF_PACKED_MEMBER
	CC_NO_ADDR_OF_PACKED_MEMBER
	GCC_NO_ADDR_OF_PACKED_MEMBER

Using the convention CC_compilerflag, where compilerflag
is based on the full compiler flag name.

Revision 1.295 / (download) - annotate - [select for diffs], Sat Aug 27 20:37:49 2022 UTC (19 months ago) by rillig
Branch: MAIN
CVS Tags: netbsd-10-base, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: netbsd-10
Changes since 1.294: +2 -2 lines
Diff to previous 1.294 (colored) to selected 1.73.8.4 (colored)

sys: document how to run lint on the kernel code (experimental)

Revision 1.294 / (download) - annotate - [select for diffs], Wed Aug 3 09:37:37 2022 UTC (19 months, 3 weeks ago) by riastradh
Branch: MAIN
Changes since 1.293: +2 -1 lines
Diff to previous 1.293 (colored) to selected 1.73.8.4 (colored)

sys: Build kernel with -Wno-type-limits.

The type-limits warning is actively harmful because it discourages
writing safe portable overflow detection logic which happens, on some
architectures, to be dead code.

Revision 1.293 / (download) - annotate - [select for diffs], Thu Jan 6 17:05:32 2022 UTC (2 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.292: +3 -3 lines
Diff to previous 1.292 (colored) to selected 1.73.8.4 (colored)

Fix for systems that override SYSTEM_LD_TAIL

Revision 1.292 / (download) - annotate - [select for diffs], Tue Jan 4 19:52:02 2022 UTC (2 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.291: +10 -9 lines
Diff to previous 1.291 (colored) to selected 1.73.8.4 (colored)

use a function "runit" to echo and execute avoiding set -x.

Revision 1.291 / (download) - annotate - [select for diffs], Thu Dec 30 18:53:35 2021 UTC (2 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.290: +13 -13 lines
Diff to previous 1.290 (colored) to selected 1.73.8.4 (colored)

- With DEBUG=-g (which is also set when we build CTF) we build netbsd.gdb *and*
  netbsd-${KERNEL_CONFIG}.debug because it is not worth having two sets of
  rules (one that builds just netbsd.gdb and one that builds both netbsd.gdb
  and netbsd-${KERNEL_CONFIG}.debug. This maintains compatibility building
  netbsd.gdb when DEBUG=-g
- When either MKDEBUGKERNEL=yes or MKDEBUG=tes we set DEBUG=-g if DEBUG was
  not set.
- We only make a debuginstall rule to install netbsd-${KERNEL_CONFIG}.debug
  if MKDEBUG=yes

Revision 1.290 / (download) - annotate - [select for diffs], Thu Dec 30 17:25:40 2021 UTC (2 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.289: +2 -2 lines
Diff to previous 1.289 (colored) to selected 1.73.8.4 (colored)

forgot one KERNEL_BUILD (Tobias Nygren)

Revision 1.289 / (download) - annotate - [select for diffs], Thu Dec 30 17:16:32 2021 UTC (2 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.288: +7 -6 lines
Diff to previous 1.288 (colored) to selected 1.73.8.4 (colored)

Use the tail of KERNEL_BUILD since it can be a full path.

Revision 1.288 / (download) - annotate - [select for diffs], Thu Dec 30 03:24:50 2021 UTC (2 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.287: +2 -1 lines
Diff to previous 1.287 (colored) to selected 1.73.8.4 (colored)

Add ${_MKTARGET_INSTALL}

Revision 1.287 / (download) - annotate - [select for diffs], Thu Dec 30 03:23:05 2021 UTC (2 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.286: +2 -2 lines
Diff to previous 1.286 (colored) to selected 1.73.8.4 (colored)

use ${INSTALL_FILE} so that unpriv builds work.

Revision 1.286 / (download) - annotate - [select for diffs], Wed Dec 29 22:22:13 2021 UTC (2 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.285: +24 -7 lines
Diff to previous 1.285 (colored) to selected 1.73.8.4 (colored)

Enable split-debug files for kernels. Enabled by default with MKDEBUG=yes.

Revision 1.285 / (download) - annotate - [select for diffs], Mon Dec 20 20:33:20 2021 UTC (2 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.284: +3 -3 lines
Diff to previous 1.284 (colored) to selected 1.73.8.4 (colored)

Rename:
    MKKDEBUG -> MKDEBUGKERNEL
    MKTOOLSDEBUG -> MKDEBUGTOOLS
while keeping compatibility with the old names. Add missing documentation.
Now all debugging tunables are prefixed with MKDEBUG.

Revision 1.284 / (download) - annotate - [select for diffs], Wed Oct 27 03:06:59 2021 UTC (2 years, 5 months ago) by ryo
Branch: MAIN
Changes since 1.283: +2 -2 lines
Diff to previous 1.283 (colored) to selected 1.73.8.4 (colored)

revert previous: http://mail-index.netbsd.org/source-changes/2021/10/25/msg133295.html

going to add __always_inline to the functions called from _mcount()
discussed on http://mail-index.netbsd.org/source-changes-d/2021/10/25/msg013480.html

Revision 1.283 / (download) - annotate - [select for diffs], Mon Oct 25 07:54:44 2021 UTC (2 years, 5 months ago) by ryo
Branch: MAIN
Changes since 1.282: +3 -3 lines
Diff to previous 1.282 (colored) to selected 1.73.8.4 (colored)

In some arch, _mcount() would be called recursively when built with COPTS=-O0.

Normally, functions called from mcount.c are expected to be expanded inline,
so _mcount() will never be called recursively. But when build with COPTS=-O0,
`static inline' functions aren't inlined, and _mcount() will be called
recursively.

Even if _mcount() has `__attribute__((__no_ instrument_function__))',
it has no effect on the calling external (no-inlined) function.

To avoid this, PROF.<fn> is added can be set the profiling flag of any file.
"PROF.mcount.c" is set to blank by default, mcount.c itself is compiled
without -pg.

Revision 1.282 / (download) - annotate - [select for diffs], Sat Sep 11 20:28:05 2021 UTC (2 years, 6 months ago) by andvar
Branch: MAIN
Changes since 1.281: +3 -3 lines
Diff to previous 1.281 (colored) to selected 1.73.8.4 (colored)

Add missing double p and d for stopped and overriden accordingly.
Fix few more typos along the way, mainly in copy-pasted comments.

Revision 1.280.2.1 / (download) - annotate - [select for diffs], Thu Jun 17 04:46:27 2021 UTC (2 years, 9 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.280: +2 -2 lines
Diff to previous 1.280 (colored) next main 1.281 (colored) to selected 1.73.8.4 (colored)

Sync w/ HEAD.

Revision 1.280.6.1 / (download) - annotate - [select for diffs], Sun Jun 6 20:30:51 2021 UTC (2 years, 9 months ago) by cjep
Branch: cjep_sun2x
Changes since 1.280: +2 -2 lines
Diff to previous 1.280 (colored) next main 1.281 (colored) to selected 1.73.8.4 (colored)

sync with head

Revision 1.281 / (download) - annotate - [select for diffs], Wed Jun 2 15:45:28 2021 UTC (2 years, 9 months ago) by nia
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, cjep_sun2x-base1
Changes since 1.280: +2 -2 lines
Diff to previous 1.280 (colored) to selected 1.73.8.4 (colored)

drm2: build with -fwrapv, since the Linux kernel does and we don't
want to spend too much time fixing their code. silences a lot of
KUBSAN warnings.

we need to use COPTS to have per-option compiler flags. help from
Riastradh.

Revision 1.277.2.1 / (download) - annotate - [select for diffs], Sat Apr 17 17:26:17 2021 UTC (2 years, 11 months ago) by thorpej
Branch: thorpej-cfargs
Changes since 1.277: +1 -1 lines
Diff to previous 1.277 (colored) next main 1.278 (colored) to selected 1.73.8.4 (colored)

Sync with HEAD.

Revision 1.280 / (download) - annotate - [select for diffs], Tue Apr 6 15:05:12 2021 UTC (2 years, 11 months ago) by simonb
Branch: MAIN
CVS Tags: thorpej-cfargs-base, cjep_sun2x-base, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Branch point for: thorpej-i2c-spi-conf, cjep_sun2x
Changes since 1.279: +7 -7 lines
Diff to previous 1.279 (colored) to selected 1.73.8.4 (colored)

Revert rev 1.278 which tried to call ctfmerge only once - this has
caused kernels with embedded symbol tables to explode in size.

Revision 1.279 / (download) - annotate - [select for diffs], Mon Apr 5 22:52:03 2021 UTC (2 years, 11 months ago) by christos
Branch: MAIN
Changes since 1.278: +2 -2 lines
Diff to previous 1.278 (colored) to selected 1.73.8.4 (colored)

Don't use /usr/bin/time (it is not portable)

Revision 1.278 / (download) - annotate - [select for diffs], Mon Apr 5 06:22:00 2021 UTC (2 years, 11 months ago) by simonb
Branch: MAIN
Changes since 1.277: +7 -7 lines
Diff to previous 1.277 (colored) to selected 1.73.8.4 (colored)

Move the ctfmerge call from SYSTEM_LD_TAIL (used by both STAGE1 and STAGE2)
to SYSTEM_LD_TAIL_STAGE2 only.  ctfmerge is slow enough that just calling
it once is enough.

Revision 1.276.2.1 / (download) - annotate - [select for diffs], Sat Apr 3 22:28:42 2021 UTC (2 years, 11 months ago) by thorpej
Branch: thorpej-futex
Changes since 1.276: +3 -3 lines
Diff to previous 1.276 (colored) next main 1.277 (colored) to selected 1.73.8.4 (colored)

Sync with HEAD.

Revision 1.277 / (download) - annotate - [select for diffs], Sun Jan 31 23:17:21 2021 UTC (3 years, 1 month ago) by rillig
Branch: MAIN
CVS Tags: thorpej-futex-base
Branch point for: thorpej-cfargs
Changes since 1.276: +3 -3 lines
Diff to previous 1.276 (colored) to selected 1.73.8.4 (colored)

sys/conf: remove useless dollars from Makefile.kern.inc

When parsing a variable modifier such as :C or :S, all '$' but the very
last are silently swallowed.

See usr.bin/make/unit-tests/varmod-subst.mk for details.

Since August 2020, make has a strict lint mode that is activated by
passing it the option -dL.  In that mode, these redundant '$' are not
accepted anymore.

Revision 1.276 / (download) - annotate - [select for diffs], Sun Sep 6 07:20:29 2020 UTC (3 years, 6 months ago) by mrg
Branch: MAIN
Branch point for: thorpej-futex
Changes since 1.275: +2 -1 lines
Diff to previous 1.275 (colored) to selected 1.73.8.4 (colored)

add support for new GCC 9 warnings that may be too much to fix
right now.  new address-of-packed-member and format-overflow
warnings have new GCC_NO_ADDR_OF_PACKED_MEMBER amd
GCC_NO_FORMAT_OVERFLOW variables to remove these warnings.

apply to a bunch of the tree.  mostly, these are real bugs that
should be fixed, but in many cases, only by removing the 'packed'
attribute from some structure that doesn't really need it.  (i
looked at many different ones, and while perhaps 60-80% were
already properly aligned, it wasn't clear to me that the uses
were always coming from sane data vs network alignment, so it
doesn't seem safe to remove packed without careful research for
each affect struct.)  clang already warned (and was not erroring)
for many of these cases, but gcc picked up dozens more.

Revision 1.275 / (download) - annotate - [select for diffs], Wed Jul 22 19:37:59 2020 UTC (3 years, 8 months ago) by jdolecek
Branch: MAIN
Changes since 1.274: +3 -1 lines
Diff to previous 1.274 (colored) to selected 1.73.8.4 (colored)

enable -Walloca, warn if something uses alloca()

Revision 1.274 / (download) - annotate - [select for diffs], Thu Jun 25 14:52:26 2020 UTC (3 years, 9 months ago) by jdolecek
Branch: MAIN
Changes since 1.273: +2 -2 lines
Diff to previous 1.273 (colored) to selected 1.73.8.4 (colored)

enable gcc stack usage limit for kernel functions, set to 3.5 KiB for now
as that seems to be enough to accomodate the current biggest stack usages

there are about six functions which use over 3KiB local stack, and
about a dozen between 2-3 KiB, so pushing this further needs more work
if desired

compile tested on amd64, i386, sparc64, sparc, powerpc (evbppc - BookE),
m68k (mac68k)

Revision 1.273 / (download) - annotate - [select for diffs], Fri Jun 19 00:58:17 2020 UTC (3 years, 9 months ago) by simonb
Branch: MAIN
Changes since 1.272: +2 -2 lines
Diff to previous 1.272 (colored) to selected 1.73.8.4 (colored)

Use -fstack-usage only if we are using gcc.

Pointed out by maxv@

Revision 1.272 / (download) - annotate - [select for diffs], Thu Jun 18 11:50:44 2020 UTC (3 years, 9 months ago) by rin
Branch: MAIN
Changes since 1.271: +4 -1 lines
Diff to previous 1.271 (colored) to selected 1.73.8.4 (colored)

Discard -fstack-usage for vax, for which GCC does not support that option
at the moment.

Revision 1.271 / (download) - annotate - [select for diffs], Wed Jun 17 02:40:43 2020 UTC (3 years, 9 months ago) by simonb
Branch: MAIN
Changes since 1.270: +6 -3 lines
Diff to previous 1.270 (colored) to selected 1.73.8.4 (colored)

Add -fstack-usage to kernel builds. Produces .su files that can be
analysed to find large stack users.

Revision 1.270 / (download) - annotate - [select for diffs], Thu May 21 18:44:19 2020 UTC (3 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.269: +4 -4 lines
Diff to previous 1.269 (colored) to selected 1.73.8.4 (colored)

Do the chmod last so that the kernels get consistent permissions for MKREPRO
Reported by wiz@.

Revision 1.264.4.2 / (download) - annotate - [select for diffs], Wed Apr 8 14:08:01 2020 UTC (3 years, 11 months ago) by martin
Branch: phil-wifi
Changes since 1.264.4.1: +11 -1 lines
Diff to previous 1.264.4.1 (colored) to branchpoint 1.264 (colored) next main 1.265 (colored) to selected 1.73.8.4 (colored)

Merge changes from current as of 20200406

Revision 1.269 / (download) - annotate - [select for diffs], Sat Apr 4 19:50:54 2020 UTC (3 years, 11 months ago) by christos
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.268: +11 -1 lines
Diff to previous 1.268 (colored) to selected 1.73.8.4 (colored)

Infrastructure for putting kernel+modules in /netbsd/kernel and
/netbsd/modules respectively instead of /netbsd and
/stand/<arch>/<version>/modules.  This is only supported for x86,
and is turned off by default. To try it, add KERNEL_DIR=yes in your
/mk.conf and install a system from that build.

Revision 1.264.4.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:07:04 2019 UTC (4 years, 9 months ago) by christos
Branch: phil-wifi
Changes since 1.264: +12 -15 lines
Diff to previous 1.264 (colored) to selected 1.73.8.4 (colored)

Sync with HEAD

Revision 1.268 / (download) - annotate - [select for diffs], Tue Feb 5 08:33:25 2019 UTC (5 years, 1 month ago) by mrg
Branch: MAIN
CVS Tags: phil-wifi-20191119, phil-wifi-20190609, 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, is-mlppp-base, is-mlppp, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Changes since 1.267: +2 -1 lines
Diff to previous 1.267 (colored) to selected 1.73.8.4 (colored)

pass -Wno-error=implicit-fallthrough for zlib.c.

XXX: consider using copts.mk for various warning/copt flags passed
in kernel builds currently set via 'makeoptions' in files.* files.
this is suboptimal, as those all get embedded into the kernel with
config_file.h.

Revision 1.267 / (download) - annotate - [select for diffs], Sun Jan 27 02:08:41 2019 UTC (5 years, 2 months ago) by pgoyette
Branch: MAIN
Changes since 1.266: +3 -13 lines
Diff to previous 1.266 (colored) to selected 1.73.8.4 (colored)

Merge the [pgoyette-compat] branch

Revision 1.264.2.3 / (download) - annotate - [select for diffs], Sun Sep 30 01:45:49 2018 UTC (5 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.264.2.2: +3 -3 lines
Diff to previous 1.264.2.2 (colored) to branchpoint 1.264 (colored) next main 1.265 (colored) to selected 1.73.8.4 (colored)

Ssync with HEAD

Revision 1.266 / (download) - annotate - [select for diffs], Sat Sep 22 12:24:04 2018 UTC (5 years, 6 months ago) by rin
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930
Changes since 1.265: +3 -3 lines
Diff to previous 1.265 (colored) to selected 1.73.8.4 (colored)

- Determine KERN_AS automatically depending on whether OPT_MODULAR is
  set or not, in the same way as libcompat.

- Specify OPT_MODULAR in the port Makefile instead of KERN_AS.

Now, KERN_AS=library is used for kernels without module(7) for all ports.

OK christos

Revision 1.264.2.2 / (download) - annotate - [select for diffs], Thu Sep 6 06:55:47 2018 UTC (5 years, 6 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.264.2.1: +7 -1 lines
Diff to previous 1.264.2.1 (colored) to branchpoint 1.264 (colored) to selected 1.73.8.4 (colored)

Sync with HEAD

Resolve a couple of conflicts (result of the uimin/uimax changes)

Revision 1.265 / (download) - annotate - [select for diffs], Mon Aug 27 05:35:22 2018 UTC (5 years, 7 months ago) by riastradh
Branch: MAIN
CVS Tags: pgoyette-compat-0906
Changes since 1.264: +7 -1 lines
Diff to previous 1.264 (colored) to selected 1.73.8.4 (colored)

Add CFLAGS, CPPFLAGS, and CWARNFLAGS from options to .c files.

Revision 1.264.2.1 / (download) - annotate - [select for diffs], Tue Mar 6 05:40:32 2018 UTC (6 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.264: +3 -13 lines
Diff to previous 1.264 (colored) to selected 1.73.8.4 (colored)

No longer build the libcompat.o which ends up including most of the
compat_netbsd code without creating the module entry that other
modules are depending on, which in turn causes the modules to fail
to load because of redefined symbols.

Revision 1.264 / (download) - annotate - [select for diffs], Sat Feb 17 22:47:14 2018 UTC (6 years, 1 month ago) by joerg
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-base, 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
Branch point for: phil-wifi, pgoyette-compat
Changes since 1.263: +2 -2 lines
Diff to previous 1.263 (colored) to selected 1.73.8.4 (colored)

Restrict -fno-delete-null-pointer-checks to GCC.

Revision 1.263 / (download) - annotate - [select for diffs], Tue Feb 13 09:50:35 2018 UTC (6 years, 1 month ago) by mrg
Branch: MAIN
Changes since 1.262: +2 -1 lines
Diff to previous 1.262 (colored) to selected 1.73.8.4 (colored)

use -fno-delete-null-pointer-checks for kernels.

Revision 1.262 / (download) - annotate - [select for diffs], Mon Jan 22 17:38:46 2018 UTC (6 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.261: +3 -1 lines
Diff to previous 1.261 (colored) to selected 1.73.8.4 (colored)

- Coverity does not like -std=gnu99
- Another lose is that you need to manually edit the compiler XML to add
  all the kernel options because cov-configure barfs because it tries to
  test the compilation environment thinking that we are userland even
  when options like -ffreestanding are present.

Revision 1.261 / (download) - annotate - [select for diffs], Mon Dec 4 09:44:33 2017 UTC (6 years, 3 months ago) by martin
Branch: MAIN
Changes since 1.260: +3 -1 lines
Diff to previous 1.260 (colored) to selected 1.73.8.4 (colored)

We use .BEGIN for our own cleanup and won't ever need DTS support - so
avoid inclusion of dts.mk by defining _SKIP_DTS

Revision 1.158.2.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:57 2017 UTC (6 years, 3 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.158.2.2: +235 -287 lines
Diff to previous 1.158.2.2 (colored) to branchpoint 1.158 (colored) next main 1.159 (colored) to selected 1.73.8.4 (colored)

update from HEAD

Revision 1.183.2.6 / (download) - annotate - [select for diffs], Mon Aug 28 17:52:00 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.183.2.5: +2 -1 lines
Diff to previous 1.183.2.5 (colored) to branchpoint 1.183 (colored) next main 1.184 (colored) to selected 1.73.8.4 (colored)

Sync with HEAD

Revision 1.256.8.3 / (download) - annotate - [select for diffs], Tue Jul 25 01:58:09 2017 UTC (6 years, 8 months ago) by snj
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, matt-nb8-mediatek-base, matt-nb8-mediatek
Changes since 1.256.8.2: +2 -22 lines
Diff to previous 1.256.8.2 (colored) to branchpoint 1.256 (colored) next main 1.257 (colored) to selected 1.73.8.4 (colored)

Pull up following revision(s) (requested by jmcneill in ticket #141):
	sys/conf/dts.mk: 1.1-1.2
	sys/conf/Makefile.kern.inc: revision 1.260
Move the dts rule to a separate file and add dependencies handling.
--
do dts depend processing in two passes, one for /include/ and one for #include

Revision 1.256.8.2 / (download) - annotate - [select for diffs], Mon Jul 24 06:20:33 2017 UTC (6 years, 8 months ago) by snj
Branch: netbsd-8
Changes since 1.256.8.1: +6 -5 lines
Diff to previous 1.256.8.1 (colored) to branchpoint 1.256 (colored) to selected 1.73.8.4 (colored)

Pull up following revision(s) (requested by jmcneill in ticket #128):
	sys/conf/Makefile.kern.inc: revision 1.259
	sys/arch/arm/dts/sun8i-h3-orangepi-plus2e.dts: revision 1.1
	sys/arch/arm/dts/sun8i-h3.dtsi: revision 1.1
	sys/arch/arm/dts/sun8i-h3-nanopi-neo.dts: revision 1.1
Add support for dts files outside of external/gpl2.
--
Add local patches to sun8i-h3-orangepi-plus2e and sun8i-h3-nanopi-neo to
enable ethernet support.

Revision 1.256.8.1 / (download) - annotate - [select for diffs], Tue Jul 18 19:13:09 2017 UTC (6 years, 8 months ago) by snj
Branch: netbsd-8
Changes since 1.256: +21 -1 lines
Diff to previous 1.256 (colored) to selected 1.73.8.4 (colored)

Pull up following revision(s) (requested by jmcneill in ticket #114):
	sys/arch/arm/samsung/exynos_intr.h: revision 1.3
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.1
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.2
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.3
	sys/arch/arm/sunxi/sunxi_gates.c: revision 1.1
	distrib/utils/embedded/mkimage: revision 1.66
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.4
	sys/arch/arm/sunxi/sunxi_rsb.c: revision 1.1
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.5
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.6
	sys/arch/arm/sunxi/sun8i_h3_ccu.c: revision 1.7
	sys/dev/gpio/gpio.c: revision 1.59
	sys/arch/arm/sunxi/sunxi_ccu_prediv.c: revision 1.1
	sys/conf/Makefile.kern.inc: revision 1.257
	sys/arch/evbarm/conf/ODROID-XU_INSTALL: file removal
	sys/arch/arm/sunxi/sunxi_ccu_prediv.c: revision 1.2
	sys/conf/Makefile.kern.inc: revision 1.258
	sys/arch/arm/fdt/psci_fdt.h: revision 1.1
	sys/arch/arm/sunxi/sunxi_resets.c: revision 1.1
	sys/arch/evbarm/conf/files.sunxi: revision 1.1
	sys/arch/evbarm/fdt/fdt_machdep.c: revision 1.8
	sys/arch/evbarm/fdt/fdt_machdep.c: revision 1.9
	sys/arch/arm/samsung/files.exynos: revision 1.22
	distrib/utils/embedded/conf/armv7.conf: revision 1.13
	sys/arch/arm/samsung/files.exynos: revision 1.23
	sys/arch/evbarm/conf/std.tegra: revision 1.15
	distrib/utils/embedded/conf/armv7.conf: revision 1.14
	sys/arch/arm/samsung/files.exynos: revision 1.24
	distrib/utils/embedded/conf/armv7.conf: revision 1.15
	sys/arch/evbarm/sunxi/genassym.cf: revision 1.1
	sys/arch/arm/samsung/exynos_fdt.c: file removal
	sys/dev/fdt/fdt_pinctrl.c: revision 1.4
	sys/arch/arm/samsung/exynos_sysmmu.c: revision 1.2
	sys/arch/arm/sunxi/sun8i_h3_gpio.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_twi.c: revision 1.1
	sys/dev/usb/ehci.c: revision 1.255
	sys/arch/arm/sunxi/sunxi_twi.c: revision 1.2
	sys/arch/arm/sunxi/sun8i_a83t_ccu.h: revision 1.1
	sys/dev/ic/dwc_mmc.c: revision 1.11
	sys/arch/arm/cortex/gic.c: revision 1.24
	distrib/evbarm/instkernel/ramdisk/Makefile: revision 1.17
	etc/etc.evbarm/Makefile.inc: revision 1.87
	etc/etc.evbarm/Makefile.inc: revision 1.88
	sys/arch/arm/fdt/gic_fdt.c: revision 1.5
	etc/Makefile: revision 1.429
	sys/arch/arm/fdt/gic_fdt.c: revision 1.6
	sys/arch/arm/fdt/gic_fdt.c: revision 1.7
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.2
	sys/arch/evbarm/conf/std.sunxi: revision 1.1
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.3
	sys/arch/evbarm/conf/std.sunxi: revision 1.2
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.4
	sys/arch/evbarm/conf/std.sunxi: revision 1.3
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.5
	sys/arch/arm/sunxi/sunxi_ccu_div.c: revision 1.1
	sys/dev/gpio/gpiovar.h: revision 1.17
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.6
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.7
	sys/arch/arm/sunxi/sunxi_gpio.c: revision 1.8
	sys/arch/arm/sunxi/sunxi_rsb.h: revision 1.1
	sys/arch/arm/samsung/exynos_i2c.c: revision 1.12
	sys/dev/fdt/fdtvar.h: revision 1.21
	sys/arch/evbarm/sunxi/sunxi_start.S: revision 1.1
	sys/arch/arm/samsung/exynos_i2c.c: revision 1.13
	sys/dev/fdt/fdtvar.h: revision 1.22
	sys/arch/evbarm/conf/SUNXI: revision 1.10
	sys/dev/fdt/fdtvar.h: revision 1.23
	sys/arch/evbarm/conf/SUNXI: revision 1.11
	sys/dev/fdt/gpioleds.c: revision 1.1
	sys/dev/fdt/fdtvar.h: revision 1.24
	sys/arch/evbarm/conf/SUNXI: revision 1.12
	sys/arch/evbarm/conf/SUNXI: revision 1.13
	sys/arch/arm/cortex/gic.c: revision 1.30
	sys/arch/evbarm/conf/SUNXI: revision 1.14
	sys/arch/evbarm/conf/SUNXI: revision 1.15
	sys/arch/evbarm/conf/SUNXI: revision 1.16
	sys/arch/arm/sunxi/sunxi_emac.c: revision 1.1
	etc/Makefile: revision 1.430
	sys/arch/arm/sunxi/sunxi_emac.c: revision 1.2
	etc/Makefile: revision 1.431
	sys/arch/evbarm/conf/VEXPRESS_A15: revision 1.17
	sys/arch/arm/sunxi/sunxi_emac.c: revision 1.3
	sys/arch/arm/sunxi/sunxi_emac.c: revision 1.4
	sys/arch/arm/samsung/exynos5422_clock.c: revision 1.6
	sys/arch/arm/samsung/exynos_platform.c: revision 1.1
	sys/dev/ofw/ofw_subr.c: revision 1.29
	sys/arch/arm/samsung/exynos_platform.c: revision 1.2
	sys/arch/evbarm/conf/mk.vexpress: revision 1.3
	sys/arch/arm/samsung/exynos_platform.c: revision 1.3
	sys/arch/evbarm/conf/mk.vexpress: revision 1.4
	sys/arch/arm/samsung/exynos_platform.c: revision 1.4
	sys/arch/arm/arm/psci.h: revision 1.1
	sys/arch/arm/samsung/exynos_platform.c: revision 1.5
	sys/arch/arm/samsung/exynos_platform.c: revision 1.6
	sys/arch/evbarm/fdt/fdt_machdep.c: revision 1.10
	external/bsd/mdocml/bin/mandoc/Makefile: revision 1.12
	sys/dev/fdt/files.fdt: revision 1.17
	sys/dev/fdt/files.fdt: revision 1.18
	sys/dev/fdt/files.fdt: revision 1.19
	sys/arch/arm/samsung/exynos_sscom.c: revision 1.8
	sys/arch/arm/sunxi/sun8i_a83t_ccu.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_mmc.c: revision 1.1
	sys/arch/arm/samsung/exynos_sscom.c: revision 1.9
	sys/arch/arm/conf/files.arm: revision 1.133
	sys/arch/arm/samsung/mct_var.h: revision 1.5
	sys/arch/arm/sunxi/sunxi_platform.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_platform.c: revision 1.2
	sys/arch/evbarm/conf/std.vexpress: revision 1.6
	sys/arch/arm/sunxi/sunxi_platform.c: revision 1.3
	sys/arch/arm/sunxi/sun6i_a31_gpio.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_platform.c: revision 1.4
	sys/arch/arm/sunxi/sun6i_a31_gpio.c: revision 1.2
	sys/arch/arm/sunxi/files.sunxi: revision 1.1
	sys/dev/ofw/ofw_subr.c: revision 1.30
	sys/arch/arm/sunxi/files.sunxi: revision 1.2
	sys/dev/ofw/openfirm.h: revision 1.35
	sys/arch/arm/sunxi/files.sunxi: revision 1.3
	sys/dev/ofw/openfirm.h: revision 1.36
	sys/arch/arm/sunxi/files.sunxi: revision 1.4
	sys/arch/arm/sunxi/files.sunxi: revision 1.5
	sys/arch/evbarm/exynos/exynos_machdep.c: file removal
	sys/arch/arm/sunxi/sunxi_gpio.h: revision 1.1
	sys/arch/arm/samsung/sscom.c: revision 1.9
	sys/arch/arm/sunxi/files.sunxi: revision 1.6
	sys/dev/fdt/ohci_fdt.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_usbphy.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_gpio.h: revision 1.2
	sys/arch/arm/sunxi/files.sunxi: revision 1.7
	sys/arch/arm/sunxi/sunxi_usbphy.c: revision 1.2
	sys/arch/arm/sunxi/sunxi_gpio.h: revision 1.3
	sys/arch/arm/sunxi/files.sunxi: revision 1.8
	sys/arch/arm/sunxi/sunxi_usbphy.c: revision 1.3
	sys/arch/arm/sunxi/files.sunxi: revision 1.9
	sys/arch/arm/samsung/exynos_sscom.c: revision 1.10
	sys/arch/evbarm/conf/mk.tegra: revision 1.5
	sys/arch/arm/samsung/exynos_dwcmmc.c: revision 1.4
	sys/arch/evbarm/conf/mk.tegra: revision 1.6
	sys/arch/evbarm/conf/EXYNOS: revision 1.15
	sys/arch/evbarm/conf/EXYNOS: revision 1.16
	sys/arch/evbarm/conf/EXYNOS: revision 1.17
	sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.1
	sys/arch/evbarm/conf/EXYNOS: revision 1.19
	sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.2
	sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.3
	sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.4
	sys/arch/arm/sunxi/sunxi_ccu.c: revision 1.5
	sys/arch/arm/sunxi/sunxi_emac.h: revision 1.1
	sys/arch/evbarm/conf/mk.sunxi: revision 1.1
	sys/arch/evbarm/include/bootconfig.h: revision 1.7
	sys/arch/evbarm/conf/TEGRA: revision 1.24
	sys/arch/arm/arm/psci.c: revision 1.1
	sys/dev/led.c: revision 1.1
	sys/dev/led.c: revision 1.2
	sys/arch/arm/arm/psci_arm.S: revision 1.1
	sys/arch/arm/sunxi/sunxi_ccu_gate.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_ccu_gate.c: revision 1.2
	sys/dev/fdt/ehci_fdt.c: revision 1.1
	sys/dev/fdt/ehci_fdt.c: revision 1.2
	sys/arch/arm/sunxi/sun6i_a31_ccu.h: revision 1.1
	sys/arch/evbarm/conf/EXYNOS: revision 1.21
	sys/arch/arm/sunxi/files.sunxi: revision 1.10
	sys/arch/arm/sunxi/files.sunxi: revision 1.11
	sys/dev/fdt/fdtbus.c: revision 1.14
	sys/arch/arm/sunxi/sunxi_mmc.h: revision 1.1
	sys/arch/arm/samsung/exynos5422_dma.c: file removal
	usr.bin/config/mkmakefile.c: revision 1.69
	sys/conf/files: revision 1.1178
	sys/arch/arm/sunxi/sunxi_platform.h: revision 1.1
	sys/arch/evbarm/exynos/exynos_start.S: revision 1.4
	sys/arch/arm/samsung/exynos_pinctrl.c: revision 1.11
	sys/arch/arm/samsung/exynos_pinctrl.c: revision 1.12
	sys/arch/arm/sunxi/sunxi_rtc.c: revision 1.1
	sys/arch/arm/sunxi/sun8i_h3_ccu.h: revision 1.1
	sys/arch/arm/samsung/exynos5410_clock.c: revision 1.1
	sys/arch/arm/samsung/exynos5410_clock.c: revision 1.2
	sys/arch/evbarm/conf/SUNXI: revision 1.1
	external/bsd/elftosb/usr.sbin/elftosb/Makefile: revision 1.5
	sys/arch/evbarm/conf/SUNXI: revision 1.2
	sys/arch/arm/fdt/psci_fdt.c: revision 1.1
	sys/arch/evbarm/conf/SUNXI: revision 1.3
	sys/arch/evbarm/conf/SUNXI: revision 1.4
	sys/arch/evbarm/conf/files.exynos: revision 1.3
	sys/arch/evbarm/conf/SUNXI: revision 1.5
	sys/arch/evbarm/conf/SUNXI: revision 1.6
	sys/arch/arm/sunxi/sunxi_ccu_nm.c: revision 1.1
	sys/dev/fdt/fixedfactorclock.c: revision 1.1
	sys/dev/fdt/fdt_subr.c: revision 1.14
	sys/arch/evbarm/conf/SUNXI: revision 1.7
	sys/arch/arm/sunxi/sunxi_ccu_nm.c: revision 1.2
	sys/arch/arm/sunxi/sun8i_a83t_gpio.c: revision 1.1
	sys/dev/fdt/fdt_subr.c: revision 1.15
	sys/arch/evbarm/conf/SUNXI: revision 1.8
	sys/arch/arm/sunxi/sunxi_ccu_nm.c: revision 1.3
	sys/dev/ic/dwc_mmc_reg.h: revision 1.6
	sys/dev/fdt/fdt_subr.c: revision 1.16
	sys/arch/evbarm/conf/SUNXI: revision 1.9
	usr.bin/config/mkmakefile.c: revision 1.70
	sys/dev/fdt/fdt_phy.c: revision 1.1
	sys/arch/evbarm/conf/ODROID-XU: file removal
	sys/arch/arm/fdt/arm_fdt.c: revision 1.4
	sys/arch/arm/samsung/exynos_reg.h: revision 1.14
	sys/conf/files: revision 1.1180
	sys/arch/arm/samsung/exynos_reg.h: revision 1.15
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.1
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.2
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.3
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.4
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.5
	sys/arch/arm/sunxi/sunxi_ccu.h: revision 1.6
	sys/dev/ic/dwc_mmc_var.h: revision 1.6
	sys/arch/arm/samsung/exynos_combiner.c: revision 1.7
	sys/arch/evbarm/exynos/platform.h: revision 1.2
	sys/arch/arm/fdt/files.fdt: revision 1.12
	sys/arch/evbarm/conf/std.exynos: revision 1.2
	sys/arch/evbarm/conf/std.exynos: revision 1.3
	sys/arch/arm/rockchip/rockchip_dwcmmc.c: revision 1.6
	sys/arch/arm/sunxi/sunxi_com.c: revision 1.1
	sys/dev/led.h: revision 1.1
	sys/arch/evbarm/conf/std.exynos: revision 1.5
	sys/arch/arm/sunxi/sunxi_com.c: revision 1.2
	sys/arch/evbarm/conf/files.evbarm: revision 1.26
	usr.bin/config/defs.h: revision 1.99
	sys/arch/arm/fdt/arm_fdtvar.h: revision 1.6
	sys/arch/arm/samsung/exynos_soc.c: revision 1.32
	sys/arch/arm/sunxi/sun6i_a31_ccu.c: revision 1.1
	sys/arch/arm/sunxi/sun6i_a31_ccu.c: revision 1.2
	sys/arch/arm/samsung/mct.c: revision 1.11
	sys/arch/evbarm/conf/ODROID-U: file removal
	sys/arch/arm/samsung/mct.c: revision 1.12
	sys/arch/arm/sunxi/sunxi_ccu_nkmp.c: revision 1.1
	sys/arch/arm/sunxi/sunxi_ccu_nkmp.c: revision 1.2
	sys/arch/arm/sunxi/sunxi_ccu_nkmp.c: revision 1.3
	sys/arch/arm/sunxi/sunxi_ccu_nkmp.c: revision 1.4
Get the EXYNOS kernel building again with recent FDT changes. Untested.
Use arm_fdt_cpu_hatch and add mmu entry for DTB
Fix exynos5 devmap, bootstrap, and implement early_putchar.
Calculate UART frequency based on bootloader config.
Fix KERNEL_BASE_PHYS (how did this ever work?)
Avoid divide-by-zero for unconfigured PLLs
Correctly initialize i2cbus attach args.
Add delay and enable mct timecounter.
Fix build w/o VERBOSE_INIT_ARM
Remove ODROID-U and ODROID-XU kernel configs as they no longer work.
- Replace CONSADDR with SSCOM2CONSOLE in example
- Remove gtmr (Exynos5422 uses mct)
- cinclude EXYNOS.local instead of TEGRA.local
Use fdtbus_intr_establish to hook in block interrupts instead of
intr_establish.
Simplify MCT; just enable it and then attach an ARMv7 generic timer.
Add support for building DTB files during kernel build, from christos.
build vexpress-v2p-ca15-tc1.dtb with the kernel
build tegra124-apalis-eval.dtb, tegra124-jetson-tk1.dtb, tegra124-nyan-big.dtb, tegra124-nyan-blaze.dtb, and tegra124-venice2.dtb with the kernel
Allow multiline makeoptions to work by quoting the newline..
Bump for quoting makeoptions with multiple lines.
un-c99
bump required config version for multiline makeoptions feature
Set DTS makeoption in kernel config
Assign DTB files to a variable so we can make -V DTB
put the dtb files with their kernels.
no need for debug printing.
Don't assume that CPU index = GIC CPU interface number. We can determine
the current CPU interface number by reading from the read-only
GICD_ITARGETSR0 through GICD_ITARGETSR7 registers.
This gets interrupts working on Exynos 5422, where the boot processor has
GIC CPU interface #4.
use -v to get the expanded variable.
Use -v to get the expanded variables.
Get baud rate from sclk_uartN instead of uartN. Print IRQ number at attach.
Fix PLL con0 register locations and add uart clocks
Disable exyortc for now, it doesn't work.
More or less a rewrite of dwc_mmc, based on awin_mmc, adding DMA support.
Update for new dwc_mmc driver
Fix dmesg
Add Exynos 5410 clock controller driver.
Fix a few typos in clock parent names for mmc clocks.
From jmcneill@
Update for new dwc_mmc driver
Implement platform reset for exynos5
Attach fdtbus to a /clocks node with no compatible string.
Add support for ARM Power State Coordination Interface (PSCI).
Support interrupt sharing.
Add initial support for Allwinner H3 SoC.
ARM Trusted Firmware reserves SGIs 8-15 for secure use. Even without ATF,
U-Boot on some platforms may use SGIs in this range for the PSCI
implementation.
Change ARMGIC_IPI_BASE to 0 from (16 - NIPI) and add a compile-time assert
to ensure that we don't end up with a conflict.
Add H3 MMC support
SD/MMC clock fixes
Add FDT PHY interface.
Add glue for generic ehci/ohci bindings.
Rename a variable, NFC.
Support parents in different clock domains.
Add USB stuff. Doesn't quite work yet.
Synopsys DesignWare APB UART needs "options COM_AWIN" for now.
Add i2c glue.
Add RTC driver.
PHY registers start at index 1. Now USB works.
Don't allow sharing edge and level triggered interrupts.
Add arm_fdt_memory_dump helper for dumping physical addresses from ddb
Print clocks with aprint_debug
Remove unused defines
Add fdtbus_get_string helper
Add of_search_compatible, which searches an array of compat_data structures
for a matching "compatible" entry matching the supplied OFW node. This
allows us to associate data with compatible strings.
Add driver for Allwinner Gigabit Ethernet (EMAC) as found in sun8i and
later family SoCs.
This is a port of my FreeBSD driver which has been confirmed to work on
Allwinner H3, A83T, and A64 SoCs.
Fix dmesg
Add basic support for Allwinner A31.
Add basic FDT GPIO support.
Fix the pinctrl api to match the spec. A pinctrl config can have more
than one xref, and an xref may have specifier data associated with it.
Enable sunxi pinctrl support
Adjust to new pinctrl API
Add P2WI/RSB driver, based on awin_p2wi.c.
Fix typo in a compat string.
Configure pin defaults at attach
No need to explicitly set pinctrl config 0 now
Fix some register definitions.
Disallow sharing between MPSAFE and non-MPSAFE handlers.
Add of_match_compat_data.
This routine searches an array of compat_data structures for a
matching "compatible" entry matching the supplied OFW node.
Add options __HAVE_CPU_UAREA_ALLOC_IDLELWP
Add support for reserved memory and MEMORY_DISK_DYNAMIC for FDT-based
kernels.
the extent code cannot use the full range of u_long,
so ignore the last page before 4GB too.  ok jmcneill@
Copy install ramdisk to releasedir. Provide both a raw ffs and
Legacy U-Boot version of it.
Replace HUMMINGBIRD_A31 with SUNXI kernel on armv7.img and include .dtb
files for SUNXI and TEGRA kernels on the MSDOS partition.
Let the controller provide a default name for pins. This makes pins easier
to locate when we have multiple banks and a variable number of pins per
bank.
Attach gpio(4) to sunxigpio
Test for kernel build directory before reading DTB list
Add support for Allwinner A83T SoC.
Add A83T files
Fixup busdma sync and locking in the RX path. Disable batch RX/TX ints.
Fix AHB2 register definition and explicitly set AHB2 parent to PLL_PERIPH0/2 -- this gives us 50% more bus bandwidth for emac
Restore TX_INTERVAL_DEFAULT to 64
Drop the sunxi_emac_rx_batch feature. It was originally designed to
reduce the amount of mutex unlock/lock cycles during the RX path on
FreeBSD and if_input, but it is not required to drop the lock before
calling if_percpuq_enqueue on NetBSD.
Write back the data value instead of mask in sunxi_gpio_write
Add a helper for exposing LED controls via sysctl.
Add GPIO LED driver.
add gpioleds
Add misc. gates and resets driver, and explicitly enable PIO clocks
at attach.
Add fdtbus_get_string_index helper.
Add driver for fixed-factor clocks.
Add ffclock
Remove the requirement for ehci to attach after companion devices.
"go for it" - skrll@
Remove the hack to find companion devices and just assume 1 companion if
ETTF flag is not set.
Remove pass numbers for ehci/ohci now that the attach order no longer matters
Use unsigned char for ctype functions, suggested by christos
Add : to body of populate_sunxi to appease bash.
port-evbarm/52388: Fix number of args to a debug printf.

Revision 1.260.2.2 / (download) - annotate - [select for diffs], Sat Jul 15 15:20:53 2017 UTC (6 years, 8 months ago) by christos
Branch: perseant-stdc-iso10646
Changes since 1.260.2.1: +540 -0 lines
Diff to previous 1.260.2.1 (colored) to branchpoint 1.260 (colored) next main 1.261 (colored) to selected 1.73.8.4 (colored)

2814968

Revision 1.260.2.1, Sat Jul 15 15:20:52 2017 UTC (6 years, 8 months ago) by christos
Branch: perseant-stdc-iso10646
Changes since 1.260: +0 -540 lines
FILE REMOVED

file Makefile.kern.inc was added on branch perseant-stdc-iso10646 on 2017-07-15 15:20:53 +0000

Revision 1.260 / (download) - annotate - [select for diffs], Sat Jul 15 15:20:52 2017 UTC (6 years, 8 months ago) by christos
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, perseant-stdc-iso10646-base, nick-nhusb-base-20170825
Branch point for: perseant-stdc-iso10646
Changes since 1.259: +2 -22 lines
Diff to previous 1.259 (colored) to selected 1.73.8.4 (colored)

Move the dts rule to a separate file and add dependencies handling.

Revision 1.259 / (download) - annotate - [select for diffs], Thu Jul 13 01:17:03 2017 UTC (6 years, 8 months ago) by jmcneill
Branch: MAIN
Changes since 1.258: +6 -5 lines
Diff to previous 1.258 (colored) to selected 1.73.8.4 (colored)

Add support for dts files outside of external/gpl2.

Revision 1.258 / (download) - annotate - [select for diffs], Sat Jun 17 17:08:49 2017 UTC (6 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.257: +3 -2 lines
Diff to previous 1.257 (colored) to selected 1.73.8.4 (colored)

Assign DTB files to a variable so we can make -V DTB

Revision 1.257 / (download) - annotate - [select for diffs], Thu Jun 15 21:41:01 2017 UTC (6 years, 9 months ago) by jmcneill
Branch: MAIN
Changes since 1.256: +20 -1 lines
Diff to previous 1.256 (colored) to selected 1.73.8.4 (colored)

Add support for building DTB files during kernel build, from christos.

Revision 1.250.2.2 / (download) - annotate - [select for diffs], Mon Mar 20 06:57:26 2017 UTC (7 years ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.250.2.1: +3 -2 lines
Diff to previous 1.250.2.1 (colored) to branchpoint 1.250 (colored) next main 1.251 (colored) to selected 1.73.8.4 (colored)

Sync with HEAD

Revision 1.183.2.5 / (download) - annotate - [select for diffs], Sun Feb 5 13:40:26 2017 UTC (7 years, 1 month ago) by skrll
Branch: nick-nhusb
Changes since 1.183.2.4: +11 -4 lines
Diff to previous 1.183.2.4 (colored) to branchpoint 1.183 (colored) to selected 1.73.8.4 (colored)

Sync with HEAD

Revision 1.256 / (download) - annotate - [select for diffs], Wed Jan 11 12:19:43 2017 UTC (7 years, 2 months ago) by joerg
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, nick-nhusb-base-20170204, netbsd-8-base, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Branch point for: netbsd-8
Changes since 1.255: +3 -2 lines
Diff to previous 1.255 (colored) to selected 1.73.8.4 (colored)

Disable a couple of warnings until further investigation.

Revision 1.255 / (download) - annotate - [select for diffs], Sun Jan 8 17:10:35 2017 UTC (7 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.254: +1 -4 lines
Diff to previous 1.254 (colored) to selected 1.73.8.4 (colored)

Move to ssp.c suggested by uebayasi@

Revision 1.254 / (download) - annotate - [select for diffs], Sun Jan 8 05:02:08 2017 UTC (7 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.253: +4 -1 lines
Diff to previous 1.253 (colored) to selected 1.73.8.4 (colored)

Add COPTS for xhci.c, since the do_command_locked causes a spurious stack
proector warning.

Revision 1.250.2.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:30 2017 UTC (7 years, 2 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.250: +9 -3 lines
Diff to previous 1.250 (colored) to selected 1.73.8.4 (colored)

Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.253 / (download) - annotate - [select for diffs], Wed Jan 4 21:37:46 2017 UTC (7 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-20170107
Changes since 1.252: +9 -3 lines
Diff to previous 1.252 (colored) to selected 1.73.8.4 (colored)

Collect a list of kernel swap files to be removed (Yorick Hardy)

Revision 1.252 / (download) - annotate - [select for diffs], Wed Jan 4 19:55:06 2017 UTC (7 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.251: +3 -3 lines
Diff to previous 1.251 (colored) to selected 1.73.8.4 (colored)

match the M* and N* targets.

Revision 1.251 / (download) - annotate - [select for diffs], Wed Jan 4 15:43:04 2017 UTC (7 years, 2 months ago) by christos
Branch: MAIN
Changes since 1.250: +3 -3 lines
Diff to previous 1.250 (colored) to selected 1.73.8.4 (colored)

PR/51772: Yorick Hardy: Don't hard-code "netbsd", use ${.TARGET} consistently.

Revision 1.183.2.4 / (download) - annotate - [select for diffs], Fri Apr 22 15:44:12 2016 UTC (7 years, 11 months ago) by skrll
Branch: nick-nhusb
Changes since 1.183.2.3: +9 -9 lines
Diff to previous 1.183.2.3 (colored) to branchpoint 1.183 (colored) to selected 1.73.8.4 (colored)

Sync with HEAD

Revision 1.250 / (download) - annotate - [select for diffs], Sat Apr 9 18:51:44 2016 UTC (7 years, 11 months ago) by riastradh
Branch: MAIN
CVS Tags: pgoyette-localcount-base, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161204, nick-nhusb-base-20161004, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.249: +9 -9 lines
Diff to previous 1.249 (colored) to selected 1.73.8.4 (colored)

Use && to fail early if subcommands of kernel link fail.

(Remind me why we string together shell commands instead of just
using make targets?)

Revision 1.183.2.3 / (download) - annotate - [select for diffs], Sun Dec 27 12:09:48 2015 UTC (8 years, 3 months ago) by skrll
Branch: nick-nhusb
Changes since 1.183.2.2: +15 -15 lines
Diff to previous 1.183.2.2 (colored) to branchpoint 1.183 (colored) to selected 1.73.8.4 (colored)

Sync with HEAD (as of 26th Dec)

Revision 1.249 / (download) - annotate - [select for diffs], Fri Nov 27 20:59:47 2015 UTC (8 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: nick-nhusb-base-20160319, nick-nhusb-base-20151226
Changes since 1.248: +3 -3 lines
Diff to previous 1.248 (colored) to selected 1.73.8.4 (colored)

use commands() instead of target() because assym.mk creates all the targets
unconditionally.

Revision 1.248 / (download) - annotate - [select for diffs], Fri Nov 27 20:33:55 2015 UTC (8 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.247: +13 -13 lines
Diff to previous 1.247 (colored) to selected 1.73.8.4 (colored)

PR/50483: David A. Holland: fix building of assym.d:

	1. use += to add to DEPS
	2. move inclusion of rules mk. files before the rules are defined
	   so that variables are set.

Now we get on amd64:

	mkdep: ignoring acpi_wakeup_low.d: No such file or directory
	mkdep: ignoring amd64func.d: No such file or directory
	mkdep: ignoring busfunc.d: No such file or directory
	mkdep: ignoring copy.d: No such file or directory
	mkdep: ignoring cpu_in_cksum.d: No such file or directory
	mkdep: ignoring cpufunc.d: No such file or directory

because there are no rules to generate those, but it is harmless.

Revision 1.183.2.2 / (download) - annotate - [select for diffs], Tue Sep 22 12:05:56 2015 UTC (8 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.183.2.1: +188 -244 lines
Diff to previous 1.183.2.1 (colored) to branchpoint 1.183 (colored) to selected 1.73.8.4 (colored)

Sync with HEAD

Revision 1.247 / (download) - annotate - [select for diffs], Tue Sep 15 02:22:43 2015 UTC (8 years, 6 months ago) by uebayasi
Branch: MAIN
CVS Tags: nick-nhusb-base-20150921
Changes since 1.246: +1 -1 lines
Diff to previous 1.246 (colored) to selected 1.73.8.4 (colored)

Clean up splash image build.  Print messages when creating files.

Revision 1.246 / (download) - annotate - [select for diffs], Fri Sep 11 01:40:52 2015 UTC (8 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.245: +1 -1 lines
Diff to previous 1.245 (colored) to selected 1.73.8.4 (colored)

Indent.

Revision 1.245 / (download) - annotate - [select for diffs], Thu Sep 10 13:11:39 2015 UTC (8 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.244: +1 -1 lines
Diff to previous 1.244 (colored) to selected 1.73.8.4 (colored)

Fix dependency of *.d -> assym.h in `-S' mode.

Revision 1.244 / (download) - annotate - [select for diffs], Mon Sep 7 15:55:06 2015 UTC (8 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.243: +14 -18 lines
Diff to previous 1.243 (colored) to selected 1.73.8.4 (colored)

Preserve the order of files in ${ALLFILES} -> ${OBJS} conversion.

Revision 1.243 / (download) - annotate - [select for diffs], Sun Sep 6 15:20:59 2015 UTC (8 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.242: +2 -2 lines
Diff to previous 1.242 (colored) to selected 1.73.8.4 (colored)

More build ordering.

Revision 1.242 / (download) - annotate - [select for diffs], Sun Sep 6 14:35:01 2015 UTC (8 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.241: +2 -2 lines
Diff to previous 1.241 (colored) to selected 1.73.8.4 (colored)

Don't pass ``-DCOPY_SYMTAB'' to ${CC}; it's replaced with opt_copy_symtab.h.

Revision 1.241 / (download) - annotate - [select for diffs], Sun Sep 6 06:41:14 2015 UTC (8 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.240: +1 -18 lines
Diff to previous 1.240 (colored) to selected 1.73.8.4 (colored)

Move ldscript related code out of Makefile.kern.inc.

Revision 1.240 / (download) - annotate - [select for diffs], Sun Sep 6 06:13:16 2015 UTC (8 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.239: +5 -47 lines
Diff to previous 1.239 (colored) to selected 1.73.8.4 (colored)

Clean up.  Move assym.h/vers.c related code out of Makefile.kern.inc.

Revision 1.239 / (download) - annotate - [select for diffs], Sun Sep 6 04:42:06 2015 UTC (8 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.238: +10 -28 lines
Diff to previous 1.238 (colored) to selected 1.73.8.4 (colored)

Clean up.  Move SSP-specific adjustment out of Makefile.kern.inc.

Revision 1.238 / (download) - annotate - [select for diffs], Sun Sep 6 02:05:11 2015 UTC (8 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.237: +2 -1 lines
Diff to previous 1.237 (colored) to selected 1.73.8.4 (colored)

Allow MD to link libraries.  Build rules are written in MD makefiles until
config(1) will support library properly.

Revision 1.237 / (download) - annotate - [select for diffs], Fri Sep 4 06:10:47 2015 UTC (8 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.236: +4 -1 lines
Diff to previous 1.236 (colored) to selected 1.73.8.4 (colored)

Make config(1) output only ${ALLFILES}, selected input files, and pass it to
Makefile.kern.inc, where files are filtered by suffix.

Revision 1.236 / (download) - annotate - [select for diffs], Thu Sep 3 14:23:52 2015 UTC (8 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.235: +2 -6 lines
Diff to previous 1.235 (colored) to selected 1.73.8.4 (colored)

Add generated *.c files (devsw.c and ioconf.c) to ${CFILES} by config(1)
internally.  ${MI_CFILES} in Makefile.kern.inc is no longer needed.

Revision 1.235 / (download) - annotate - [select for diffs], Thu Sep 3 12:31:16 2015 UTC (8 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.234: +11 -4 lines
Diff to previous 1.234 (colored) to selected 1.73.8.4 (colored)

Prepare for relative ${MD_OBJS}.

Revision 1.234 / (download) - annotate - [select for diffs], Thu Sep 3 09:28:00 2015 UTC (8 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.233: +4 -1 lines
Diff to previous 1.233 (colored) to selected 1.73.8.4 (colored)

Move `all' target definition to Makefile.kern.inc.

Revision 1.233 / (download) - annotate - [select for diffs], Thu Sep 3 06:24:15 2015 UTC (8 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.232: +1 -1 lines
Diff to previous 1.232 (colored) to selected 1.73.8.4 (colored)

Kernel depends on swap<kernel>.o too.

Revision 1.232 / (download) - annotate - [select for diffs], Thu Sep 3 06:10:53 2015 UTC (8 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.231: +2 -2 lines
Diff to previous 1.231 (colored) to selected 1.73.8.4 (colored)

Sort dependendy to keep alphabetical build order.

Revision 1.231 / (download) - annotate - [select for diffs], Thu Sep 3 06:09:46 2015 UTC (8 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.230: +4 -0 lines
Diff to previous 1.230 (colored) to selected 1.73.8.4 (colored)

Define kernel dependency in Makefile.kern.inc.

Revision 1.230 / (download) - annotate - [select for diffs], Thu Sep 3 04:17:55 2015 UTC (8 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.229: +56 -23 lines
Diff to previous 1.229 (colored) to selected 1.73.8.4 (colored)

Rename ${COMPILE.c} to ${KCOMPILE.c} to avoid potential conflicts with those
in sys.mk.  Define .go/.po suffix rules.

Revision 1.229 / (download) - annotate - [select for diffs], Thu Sep 3 03:47:25 2015 UTC (8 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.228: +12 -12 lines
Diff to previous 1.228 (colored) to selected 1.73.8.4 (colored)

Refactor.

Revision 1.228 / (download) - annotate - [select for diffs], Thu Sep 3 01:40:06 2015 UTC (8 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.227: +6 -3 lines
Diff to previous 1.227 (colored) to selected 1.73.8.4 (colored)

Simplify.  Wrap long lines.

Revision 1.227 / (download) - annotate - [select for diffs], Thu Sep 3 01:30:18 2015 UTC (8 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.226: +0 -4 lines
Diff to previous 1.226 (colored) to selected 1.73.8.4 (colored)

Stop ordering objects alphabetically now that I am sure I can fix fallouts.

Revision 1.226 / (download) - annotate - [select for diffs], Thu Sep 3 01:09:38 2015 UTC (8 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.225: +1 -11 lines
Diff to previous 1.225 (colored) to selected 1.73.8.4 (colored)

Build conf/param.c normally.

Revision 1.225 / (download) - annotate - [select for diffs], Wed Sep 2 23:03:41 2015 UTC (8 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.224: +1 -1 lines
Diff to previous 1.224 (colored) to selected 1.73.8.4 (colored)

Fix link of kernels whose name don't start with "netbsd*".

Revision 1.224 / (download) - annotate - [select for diffs], Wed Sep 2 15:35:52 2015 UTC (8 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.223: +5 -1 lines
Diff to previous 1.223 (colored) to selected 1.73.8.4 (colored)

Build param.c under conf/ using suffix rules in `-S' mode.

Revision 1.223 / (download) - annotate - [select for diffs], Wed Sep 2 15:29:23 2015 UTC (8 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.222: +13 -15 lines
Diff to previous 1.222 (colored) to selected 1.73.8.4 (colored)

Clean up `swap<kernel>.o' handling.

Revision 1.222 / (download) - annotate - [select for diffs], Wed Sep 2 14:17:03 2015 UTC (8 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.221: +20 -1 lines
Diff to previous 1.221 (colored) to selected 1.73.8.4 (colored)

Define ${OBJS} in `Makefile.kern.inc'.  Relative paths are not truncated
(a/b/c/x.c -> x.c) in `-S' mode.  Don't provide some explicit rules for `-S'
mode for safety.

Revision 1.221 / (download) - annotate - [select for diffs], Wed Sep 2 13:42:14 2015 UTC (8 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.220: +19 -16 lines
Diff to previous 1.220 (colored) to selected 1.73.8.4 (colored)

Output relative path for ${CFILES} and ${SFILES} in generated `Makefile'.
`Makefile.kern.inc' knows how to deal with $S prefix, so don't bother it in
config(1).

Revision 1.220 / (download) - annotate - [select for diffs], Wed Sep 2 12:38:48 2015 UTC (8 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.219: +2 -14 lines
Diff to previous 1.219 (colored) to selected 1.73.8.4 (colored)

Add swap<kernel>.o to common ${SYSTEM_LD} as it is always linked.

Revision 1.219 / (download) - annotate - [select for diffs], Wed Sep 2 03:22:41 2015 UTC (8 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.218: +12 -11 lines
Diff to previous 1.218 (colored) to selected 1.73.8.4 (colored)

Clean up some rules and make them less error prone.

Revision 1.218 / (download) - annotate - [select for diffs], Tue Sep 1 23:04:35 2015 UTC (8 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.217: +44 -28 lines
Diff to previous 1.217 (colored) to selected 1.73.8.4 (colored)

Define suffix rules at the end to override system definitions.  Provide them
only if ___USE_SUFFIX_RULES___ is defined (config -S).

Revision 1.217 / (download) - annotate - [select for diffs], Tue Sep 1 16:04:04 2015 UTC (8 years, 6 months ago) by uebayasi
Branch: MAIN
Changes since 1.216: +18 -2 lines
Diff to previous 1.216 (colored) to selected 1.73.8.4 (colored)

Experimental suffix-rules build (disabled by default).

Revision 1.216 / (download) - annotate - [select for diffs], Sun Aug 30 21:16:10 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.215: +3 -3 lines
Diff to previous 1.215 (colored) to selected 1.73.8.4 (colored)

Fix "Define compile rules in sys/conf/Makefile.kern.inc ...".

Use `.if !commands(xxx)' to check if `xxx' has a defined, overriden rule,
instead of `.if !targets(xxx)'.  The latter evaluates as true even when `xxx'
has an empty rule to define a dependency.

Revision 1.215 / (download) - annotate - [select for diffs], Sun Aug 30 14:06:17 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.214: +0 -3 lines
Diff to previous 1.214 (colored) to selected 1.73.8.4 (colored)

A makeoptions `DEFWARNINGS', forcibly disabling all ${CC} warnings, is only
used by hpcmips's NULLCONF, which doesn't even build for other causes.

If some source doen't build and needs a workaround, that should be deal with
by modifying per-file ${CC} options (e.g. COPTS.foo.c+=-fno-xxx).  Let's not
use DEFWARNINGS any longer.

Revision 1.214 / (download) - annotate - [select for diffs], Sun Aug 30 07:33:53 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.213: +2 -7 lines
Diff to previous 1.213 (colored) to selected 1.73.8.4 (colored)

Move splash logic, keep Makefile.kern.inc clean.

Revision 1.213 / (download) - annotate - [select for diffs], Sun Aug 30 05:24:04 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.212: +2 -1 lines
Diff to previous 1.212 (colored) to selected 1.73.8.4 (colored)

Put back MEMORY_DISK_IMAGE logic, but use generated opt_memory_root_image.h
and don't polute Makefile.kern.inc.

Revision 1.212 / (download) - annotate - [select for diffs], Sun Aug 30 05:12:00 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.211: +14 -0 lines
Diff to previous 1.211 (colored) to selected 1.73.8.4 (colored)

Define compile rules in sys/conf/Makefile.kern.inc except those overriden by
"file ... compile-with ...".  As rules are still explicit, be careful to not
override by checking .if !target(xxx.o).

Revision 1.211 / (download) - annotate - [select for diffs], Sun Aug 30 01:46:02 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.210: +0 -9 lines
Diff to previous 1.210 (colored) to selected 1.73.8.4 (colored)

Use makeoptions_COPY_SYMTAB via opt_copy_symtab.h in sources.  Remove a hack
to set -DCOPY_SYMTAB from sys/conf/Makefile.kern.inc.  Remove unnecessary
dependencies too.

Revision 1.210 / (download) - annotate - [select for diffs], Sat Aug 29 16:27:07 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.209: +4 -113 lines
Diff to previous 1.209 (colored) to selected 1.73.8.4 (colored)

Move less important part out of Makefile.kern.inc.

Revision 1.209 / (download) - annotate - [select for diffs], Sat Aug 29 16:07:07 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.208: +9 -5 lines
Diff to previous 1.208 (colored) to selected 1.73.8.4 (colored)

Define two suffix rules, .c -> .o and .S -> .o, using ${NORMAL_C} and
${NORMAL_S} respectively.  Use the .c rule to build devsw.c, ioconf.c, and
param.c.  Other .c/.S files have explicit rules in the generated `Makefile',
and unaffected.

Revision 1.208 / (download) - annotate - [select for diffs], Sat Aug 29 15:58:38 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.207: +0 -2 lines
Diff to previous 1.207 (colored) to selected 1.73.8.4 (colored)

Now that MAXUSERS is in opt_param.h, param.o doesn't depend on Makefile.

Revision 1.207 / (download) - annotate - [select for diffs], Sat Aug 29 15:51:53 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.206: +0 -13 lines
Diff to previous 1.206 (colored) to selected 1.73.8.4 (colored)

According to nxr.netbsd.org, nothing uses MEMORY_DISK_IMAGE.  Retire it.
Premature design and its build rule bloats Makefile.kern.inc.  There are
other ways like MEMORY_DISK_DYNAMIC.

(When kernel will be built as relocatable, embedding binary data will be much
easier, and md(4), splash(4), and ksyms(4) will all benefit.)

Revision 1.206 / (download) - annotate - [select for diffs], Sat Aug 29 15:37:18 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.205: +0 -3 lines
Diff to previous 1.205 (colored) to selected 1.73.8.4 (colored)

genassym.cf and machdep.c are _KERNEL_OPT'ed, don't depend on Makefile.

Revision 1.205 / (download) - annotate - [select for diffs], Sat Aug 29 15:06:35 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.204: +0 -3 lines
Diff to previous 1.204 (colored) to selected 1.73.8.4 (colored)

conf.c doesn't exist.

autoconf.c exists, but it's just a C file, no need to depend on Makefile.

Revision 1.204 / (download) - annotate - [select for diffs], Sat Aug 29 14:43:38 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.203: +0 -3 lines
Diff to previous 1.203 (colored) to selected 1.73.8.4 (colored)

I don't see how uipc_proto.c can change its content by Makefile, don't depend
on Makefile.  vfs_conf.c doesn't even exist, remove it too.

Revision 1.203 / (download) - annotate - [select for diffs], Sat Aug 29 14:07:45 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.202: +1 -1 lines
Diff to previous 1.202 (colored) to selected 1.73.8.4 (colored)

Convert MAXUSERS, take 2.

Define MAXUSERS in opt_param.h and include it from sys/param.h, for more
accurate dependency.  Don't define -DMAXUSERS and add it to ${CPPFLAGS}.
config(5)'s "maxusers" syntax doesn't change.

(The version just before revert was OK, but I had something bad in my obj
dirs.)

Revision 1.202 / (download) - annotate - [select for diffs], Sat Aug 29 07:33:18 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.201: +1 -1 lines
Diff to previous 1.201 (colored) to selected 1.73.8.4 (colored)

Revert MAXUSERS changes.  Need fresh air.

Revision 1.201 / (download) - annotate - [select for diffs], Sat Aug 29 07:08:38 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.200: +1 -1 lines
Diff to previous 1.200 (colored) to selected 1.73.8.4 (colored)

Define MAXUXERS in opt_param.h.  Bump config(1) version.

Revision 1.200 / (download) - annotate - [select for diffs], Sat Aug 29 05:03:36 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.199: +33 -0 lines
Diff to previous 1.199 (colored) to selected 1.73.8.4 (colored)

Comment.

Revision 1.199 / (download) - annotate - [select for diffs], Sat Aug 29 05:02:43 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.198: +22 -0 lines
Diff to previous 1.198 (colored) to selected 1.73.8.4 (colored)

Define some suffix rules.  Not used and harmless, because all rules are
explicit now.

Revision 1.198 / (download) - annotate - [select for diffs], Sat Aug 29 04:46:27 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.197: +1 -1 lines
Diff to previous 1.197 (colored) to selected 1.73.8.4 (colored)

Specify explicit output (-o) to ${LINT} too.

Revision 1.197 / (download) - annotate - [select for diffs], Sat Aug 29 04:43:05 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.196: +6 -6 lines
Diff to previous 1.196 (colored) to selected 1.73.8.4 (colored)

Specifiy explicit output (-o) to ${CC}.

Revision 1.196 / (download) - annotate - [select for diffs], Thu Aug 27 06:28:09 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.195: +3 -0 lines
Diff to previous 1.195 (colored) to selected 1.73.8.4 (colored)

netbsd depends on $S/kern/kern_ksyms_buf.c; rarely updated but better safe.

Revision 1.195 / (download) - annotate - [select for diffs], Thu Aug 27 03:20:13 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.194: +2 -2 lines
Diff to previous 1.194 (colored) to selected 1.73.8.4 (colored)

Tweak previous.

Revision 1.194 / (download) - annotate - [select for diffs], Thu Aug 27 03:17:46 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.193: +10 -6 lines
Diff to previous 1.193 (colored) to selected 1.73.8.4 (colored)

Echo exact objects (swap*.o etc.) when linking kernel.

Revision 1.193 / (download) - annotate - [select for diffs], Wed Aug 26 03:00:52 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.192: +2 -2 lines
Diff to previous 1.192 (colored) to selected 1.73.8.4 (colored)

Have MI genassym.cf.

Revision 1.192 / (download) - annotate - [select for diffs], Wed Aug 26 02:54:09 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.191: +0 -2 lines
Diff to previous 1.191 (colored) to selected 1.73.8.4 (colored)

Don't allow MD to override the assym.h generation rule.

(Nothing defines it except i386/bioscall/Makefile, but it is not part of
kernel build.)

Revision 1.191 / (download) - annotate - [select for diffs], Tue Aug 25 08:01:18 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.190: +2 -2 lines
Diff to previous 1.190 (colored) to selected 1.73.8.4 (colored)

Make <kernel>.ldscript ready to include assym.h.

Revision 1.190 / (download) - annotate - [select for diffs], Tue Aug 25 02:57:32 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.189: +4 -13 lines
Diff to previous 1.189 (colored) to selected 1.73.8.4 (colored)

Redo Rev. 1.188:
o Explicitly add dependency of `<kernel>' on `<kernel>.ldscript', instead of
  relying on ${SYSTEM_DEP}, which is evaluated much earlier than
  `sys/conf/Makefile.kern.inc' is included, to avoid evaluation ordering
  problems.
o Print a message when creating a `<kernel>.ldscript'.
o Trim empty lines in `<kernel>.ldscript'.

Revision 1.189 / (download) - annotate - [select for diffs], Mon Aug 24 18:02:55 2015 UTC (8 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.188: +9 -1 lines
Diff to previous 1.188 (colored) to selected 1.73.8.4 (colored)

Fix the build: provide compatibility with ports that define KERNLDSCRIPT to
a file?

Revision 1.188 / (download) - annotate - [select for diffs], Mon Aug 24 15:50:47 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.187: +10 -2 lines
Diff to previous 1.187 (colored) to selected 1.73.8.4 (colored)

If a kernel linker script is provided, preprocess it by cpp(1).

Thus some constants (PAGE_SIZE, COHERENCY_UNIT, ...) can be replaced in linker
scripts without setting unnecessary temporary symbols, or doing ugly sed(1)
hacks.  No headers are included yet.

Revision 1.187 / (download) - annotate - [select for diffs], Mon Aug 24 15:44:01 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.186: +1 -1 lines
Diff to previous 1.186 (colored) to selected 1.73.8.4 (colored)

Fix vers.o dependency:
o Depend on ${SYSTEM_OBJ} instead of ${SYSTEM_DEP}.  The latter is obviously
  meant for kernels.
o Depend on Makefile instead of ${SYSTEM_SWAP_DEP}, which has existed since
  Rev. 1.1, but seems not used now.  Makefile is a file that must be updated
  after every config(1) run.  This is simpler than dependency on swap<kernel>.c.

Revision 1.186 / (download) - annotate - [select for diffs], Mon Aug 24 14:04:25 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.185: +1 -0 lines
Diff to previous 1.185 (colored) to selected 1.73.8.4 (colored)

Define ${LINKSCRIPT} in one place.

Revision 1.185 / (download) - annotate - [select for diffs], Wed Aug 19 05:46:11 2015 UTC (8 years, 7 months ago) by uebayasi
Branch: MAIN
Changes since 1.184: +8 -1 lines
Diff to previous 1.184 (colored) to selected 1.73.8.4 (colored)

If MD ldscript is generated, give it dependency on ${SYSTEM_OBJ}.

Revision 1.183.2.1 / (download) - annotate - [select for diffs], Sat Jun 6 14:40:05 2015 UTC (8 years, 9 months ago) by skrll
Branch: nick-nhusb
Changes since 1.183: +7 -1 lines
Diff to previous 1.183 (colored) to selected 1.73.8.4 (colored)

Sync with HEAD

Revision 1.184 / (download) - annotate - [select for diffs], Fri May 1 02:00:41 2015 UTC (8 years, 11 months ago) by nat
Branch: MAIN
CVS Tags: nick-nhusb-base-20150606
Changes since 1.183: +7 -1 lines
Diff to previous 1.183 (colored) to selected 1.73.8.4 (colored)

Include splash with genfb.
splash.o is only included with options SPLASHSCREEN.
splash_image.o target moved to Makefile.kern.inc.

This commit was approved by matt@

Revision 1.169.2.1 / (download) - annotate - [select for diffs], Sat Dec 13 19:23:09 2014 UTC (9 years, 3 months ago) by martin
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, 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
Changes since 1.169: +2 -2 lines
Diff to previous 1.169 (colored) next main 1.170 (colored) to selected 1.73.8.4 (colored)

Pull up following revision(s) (requested by nakayama in ticket #317):
	sys/conf/Makefile.kern.inc: revision 1.179
Trim " " at the beginning of version string to follow the change
in rev.1.60 of newvers.sh.
-const char sccs[] = "@(#)${fullversion}";
+const char sccs[] = "@(#)" ${fullversion_source};

Revision 1.183 / (download) - annotate - [select for diffs], Sat Nov 15 12:56:28 2014 UTC (9 years, 4 months ago) by uebayasi
Branch: MAIN
CVS Tags: nick-nhusb-base-20150406, nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.182: +2 -2 lines
Diff to previous 1.182 (colored) to selected 1.73.8.4 (colored)

Stop ordering dependencies alphabetically.

Revision 1.182 / (download) - annotate - [select for diffs], Sat Nov 15 08:20:42 2014 UTC (9 years, 4 months ago) by uebayasi
Branch: MAIN
Changes since 1.181: +4 -0 lines
Diff to previous 1.181 (colored) to selected 1.73.8.4 (colored)

Don't sort objects for modular build.

Revision 1.181 / (download) - annotate - [select for diffs], Sat Nov 15 08:20:01 2014 UTC (9 years, 4 months ago) by uebayasi
Branch: MAIN
Changes since 1.180: +3 -3 lines
Diff to previous 1.180 (colored) to selected 1.73.8.4 (colored)

Separate linker script argument (${LINKSCRIPT}) from ${LINKFORMAT}

${LINKFORMAT} specifies ABI options, and used for ld -r.  ${LINKSCRIPT} (-T
ldscript) is used only for final link.

Revision 1.180 / (download) - annotate - [select for diffs], Thu Nov 13 13:44:31 2014 UTC (9 years, 4 months ago) by uebayasi
Branch: MAIN
Changes since 1.179: +3 -3 lines
Diff to previous 1.179 (colored) to selected 1.73.8.4 (colored)

`ld -r' needs ${LINKFORMAT}.  This fixes the experimental config(1) modular
build for MIPS64 ports.

Revision 1.179 / (download) - annotate - [select for diffs], Fri Nov 7 12:34:14 2014 UTC (9 years, 4 months ago) by nakayama
Branch: MAIN
Changes since 1.178: +2 -2 lines
Diff to previous 1.178 (colored) to selected 1.73.8.4 (colored)

Trim " " at the beginning of version string to follow the change
in rev.1.60 of newvers.sh.

-const char sccs[] = "@(#)${fullversion}";
+const char sccs[] = "@(#)" ${fullversion_source};

Revision 1.178 / (download) - annotate - [select for diffs], Thu Nov 6 12:02:59 2014 UTC (9 years, 4 months ago) by uebayasi
Branch: MAIN
Changes since 1.177: +2 -2 lines
Diff to previous 1.177 (colored) to selected 1.73.8.4 (colored)

Leave .map when linking .ko in modular build.

Revision 1.177 / (download) - annotate - [select for diffs], Thu Nov 6 11:59:17 2014 UTC (9 years, 4 months ago) by uebayasi
Branch: MAIN
Changes since 1.176: +1 -1 lines
Diff to previous 1.176 (colored) to selected 1.73.8.4 (colored)

More clean files.

Revision 1.176 / (download) - annotate - [select for diffs], Fri Oct 10 08:13:52 2014 UTC (9 years, 5 months ago) by uebayasi
Branch: MAIN
Changes since 1.175: +1 -1 lines
Diff to previous 1.175 (colored) to selected 1.73.8.4 (colored)

Fix link echo indent.

Revision 1.175 / (download) - annotate - [select for diffs], Thu Oct 9 16:35:57 2014 UTC (9 years, 5 months ago) by uebayasi
Branch: MAIN
Changes since 1.174: +7 -1 lines
Diff to previous 1.174 (colored) to selected 1.73.8.4 (colored)

Define a command to generate relocatable objects using ld -r.

Revision 1.174 / (download) - annotate - [select for diffs], Sat Sep 20 19:22:09 2014 UTC (9 years, 6 months ago) by matt
Branch: MAIN
Changes since 1.173: +6 -2 lines
Diff to previous 1.173 (colored) to selected 1.73.8.4 (colored)

Also copy the symtab to the .gdb image.  If we are producing a .gdb, grab
the symtab from that since it will be a bit larger than the one from the
stripped kernel and thus can't be inserted into the .gdb kernel.

Revision 1.173 / (download) - annotate - [select for diffs], Fri Sep 5 06:52:12 2014 UTC (9 years, 6 months ago) by matt
Branch: MAIN
Changes since 1.172: +2 -1 lines
Diff to previous 1.172 (colored) to selected 1.73.8.4 (colored)

Add a commented out CWARNFLAGS to enable -Wc++-compat but don't treat them
as errors.

Revision 1.172 / (download) - annotate - [select for diffs], Thu Aug 21 07:57:25 2014 UTC (9 years, 7 months ago) by skrll
Branch: MAIN
Changes since 1.171: +2 -2 lines
Diff to previous 1.171 (colored) to selected 1.73.8.4 (colored)

More tidyup after joerg's copy&paste disaster.  I have ddb symbols again.

Revision 1.171 / (download) - annotate - [select for diffs], Wed Aug 20 22:02:20 2014 UTC (9 years, 7 months ago) by joerg
Branch: MAIN
Changes since 1.170: +2 -2 lines
Diff to previous 1.170 (colored) to selected 1.73.8.4 (colored)

Drop stray }

Revision 1.158.2.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:34 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.158.2.1: +32 -22 lines
Diff to previous 1.158.2.1 (colored) to branchpoint 1.158 (colored) to selected 1.73.8.4 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.170 / (download) - annotate - [select for diffs], Sun Aug 17 21:17:44 2014 UTC (9 years, 7 months ago) by joerg
Branch: MAIN
Changes since 1.169: +38 -63 lines
Diff to previous 1.169 (colored) to selected 1.73.8.4 (colored)

Reorganize symbol table embedding.  The existing option SYMTAB_SPACE is
replaced by the make option COPY_SYMTAB set to any value. The copy of
the symbol table is no longer put into a buffer in kern_ksyms.o, but a
small helper object. This object is build first with a dummy size, then
the kernel is linked to compute the real dimension of the symbol table
buffer. After that, the helper object is rebuild and the kernel linked
again.

Revision 1.167.2.1 / (download) - annotate - [select for diffs], Sun Aug 10 06:54:36 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-earlyentropy
Changes since 1.167: +6 -8 lines
Diff to previous 1.167 (colored) next main 1.168 (colored) to selected 1.73.8.4 (colored)

Rebase.

Revision 1.169 / (download) - annotate - [select for diffs], Fri Aug 8 14:42:58 2014 UTC (9 years, 7 months ago) by joerg
Branch: MAIN
CVS Tags: tls-maxphys-base, tls-earlyentropy-base, netbsd-7-base
Branch point for: netbsd-7
Changes since 1.168: +1 -8 lines
Diff to previous 1.168 (colored) to selected 1.73.8.4 (colored)

The bpendtsleep label has been gone for a long time, so cleanup the
associated hack here.

Revision 1.149.2.4 / (download) - annotate - [select for diffs], Thu May 22 11:40:18 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.149.2.3: +32 -15 lines
Diff to previous 1.149.2.3 (colored) to branchpoint 1.149 (colored) next main 1.150 (colored) to selected 1.73.8.4 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.159.2.2 / (download) - annotate - [select for diffs], Sun May 18 17:45:34 2014 UTC (9 years, 10 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.159.2.1: +12 -4 lines
Diff to previous 1.159.2.1 (colored) to branchpoint 1.159 (colored) next main 1.160 (colored) to selected 1.73.8.4 (colored)

sync with head

Revision 1.168 / (download) - annotate - [select for diffs], Mon May 5 19:06:29 2014 UTC (9 years, 10 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pagecache-base9, rmind-smpnet-nbase, rmind-smpnet-base
Changes since 1.167: +6 -1 lines
Diff to previous 1.167 (colored) to selected 1.73.8.4 (colored)

As discussed on tech-toolchain, offer a new make variable MKKDEBUG - if
set to "yes", kernel builds will gain debug info and a netbsd.gdb will
be created (same as adding "makeoptions DEBUG=-g" to the config file).

Revision 1.167 / (download) - annotate - [select for diffs], Mon Mar 10 02:36:50 2014 UTC (10 years ago) by ozaki-r
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.166: +2 -1 lines
Diff to previous 1.166 (colored) to selected 1.73.8.4 (colored)

Do COMPILE_CTFCONVERT on vers.o as same as other targets

Otherwise, we will get the error when building a kernel with -V MKDTRACE:
  ERROR: nbctfmerge: Input file vers.o was partially built from C sources,
  but no CTF data was present

Revision 1.166 / (download) - annotate - [select for diffs], Mon Mar 10 02:04:29 2014 UTC (10 years ago) by ozaki-r
Branch: MAIN
Changes since 1.165: +2 -2 lines
Diff to previous 1.165 (colored) to selected 1.73.8.4 (colored)

Use CTFMFLAGS, not CTFFLAGS, for CTFMERGE

Revision 1.165 / (download) - annotate - [select for diffs], Tue Mar 4 14:58:14 2014 UTC (10 years ago) by joerg
Branch: MAIN
Changes since 1.164: +3 -3 lines
Diff to previous 1.164 (colored) to selected 1.73.8.4 (colored)

Introduce GENASSYM_CPPFLAGS for options during genassym processing.
Consistently drop assembler flags.

Revision 1.118.4.2.4.4 / (download) - annotate - [select for diffs], Fri Feb 14 18:36:14 2014 UTC (10 years, 1 month ago) by matt
Branch: matt-nb5-mips64
Changes since 1.118.4.2.4.3: +5 -2 lines
Diff to previous 1.118.4.2.4.3 (colored) to branchpoint 1.118.4.2 (colored) next main 1.119 (colored) to selected 1.73.8.4 (colored)

SYSTEM_DEP?= -> SYSTEM_DEP+=
Add KERNLDSCRIPT to SYSTEM_DEP

Revision 1.164 / (download) - annotate - [select for diffs], Fri Oct 18 08:06:06 2013 UTC (10 years, 5 months ago) by mbalmer
Branch: MAIN
Changes since 1.163: +1 -2 lines
Diff to previous 1.163 (colored) to selected 1.73.8.4 (colored)

revert previous

Revision 1.163 / (download) - annotate - [select for diffs], Fri Oct 18 08:03:48 2013 UTC (10 years, 5 months ago) by mbalmer
Branch: MAIN
Changes since 1.162: +3 -2 lines
Diff to previous 1.162 (colored) to selected 1.73.8.4 (colored)

add a device-major for lua(4)

Revision 1.162 / (download) - annotate - [select for diffs], Sat Sep 21 22:28:12 2013 UTC (10 years, 6 months ago) by joerg
Branch: MAIN
Changes since 1.161: +3 -1 lines
Diff to previous 1.161 (colored) to selected 1.73.8.4 (colored)

Update LLVM/Clang snapshot to r191105. This brings in a better detection
of unused static variables and functions. Disable this for some external
code and for ioconf.c in the kernel.

Revision 1.159.2.1 / (download) - annotate - [select for diffs], Wed Aug 28 23:59:24 2013 UTC (10 years, 7 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.159: +21 -12 lines
Diff to previous 1.159 (colored) to selected 1.73.8.4 (colored)

sync with head

Revision 1.161 / (download) - annotate - [select for diffs], Fri Aug 9 09:08:47 2013 UTC (10 years, 7 months ago) by skrll
Branch: MAIN
Changes since 1.160: +20 -11 lines
Diff to previous 1.160 (colored) to selected 1.73.8.4 (colored)

Fix debug kernel builds when the automatic symbol table resizing kicks in.
Previously, the TAIL/HEAD link steps were being executed twice and the
(relinked/stripped) kernel would overwrite the debug version.

XXX this is all ugly.

Revision 1.160 / (download) - annotate - [select for diffs], Wed Jul 17 14:05:43 2013 UTC (10 years, 8 months ago) by matt
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2
Changes since 1.159: +2 -2 lines
Diff to previous 1.159 (colored) to selected 1.73.8.4 (colored)

Use += for SYSTEM_DEP not ?=

Revision 1.149.2.3 / (download) - annotate - [select for diffs], Wed Jan 16 05:33:12 2013 UTC (11 years, 2 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.149.2.2: +3 -2 lines
Diff to previous 1.149.2.2 (colored) to branchpoint 1.149 (colored) to selected 1.73.8.4 (colored)

sync with (a bit old) head

Revision 1.152.4.1 / (download) - annotate - [select for diffs], Tue Dec 4 07:00:30 2012 UTC (11 years, 3 months ago) by matt
Branch: matt-nb6-plus
Changes since 1.152: +2 -1 lines
Diff to previous 1.152 (colored) next main 1.153 (colored) to selected 1.73.8.4 (colored)

Add SYSTEM_LD_TAIL_DBSYM for arm.

Revision 1.158.2.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:01:57 2012 UTC (11 years, 4 months ago) by tls
Branch: tls-maxphys
Changes since 1.158: +3 -2 lines
Diff to previous 1.158 (colored) to selected 1.73.8.4 (colored)

Resync to 2012-11-19 00:00:00 UTC

Revision 1.159 / (download) - annotate - [select for diffs], Sun Nov 4 11:12:31 2012 UTC (11 years, 4 months ago) by apb
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet
Changes since 1.158: +3 -2 lines
Diff to previous 1.158 (colored) to selected 1.73.8.4 (colored)

Add references to ${_NETBSD_VERSION_DEPENDS} for files that
need to be re-created when the NetBSD version changes.  They
will also be re-created when any build settings are changed.

Revision 1.149.2.2 / (download) - annotate - [select for diffs], Tue Oct 30 17:20:48 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.149.2.1: +3 -6 lines
Diff to previous 1.149.2.1 (colored) to branchpoint 1.149 (colored) to selected 1.73.8.4 (colored)

sync with head

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

Deal with optional HAVE_GCC.

Revision 1.157 / (download) - annotate - [select for diffs], Fri Jul 27 05:40:51 2012 UTC (11 years, 8 months ago) by matt
Branch: MAIN
Changes since 1.156: +2 -1 lines
Diff to previous 1.156 (colored) to selected 1.73.8.4 (colored)

Enable -fno-common for GCC compiled kernels

Revision 1.149.2.1 / (download) - annotate - [select for diffs], Tue Apr 17 00:07:23 2012 UTC (11 years, 11 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.149: +51 -6 lines
Diff to previous 1.149 (colored) to selected 1.73.8.4 (colored)

sync with head

Revision 1.149.6.2 / (download) - annotate - [select for diffs], Thu Apr 5 21:33:22 2012 UTC (11 years, 11 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.149.6.1: +44 -6 lines
Diff to previous 1.149.6.1 (colored) to branchpoint 1.149 (colored) next main 1.150 (colored) to selected 1.73.8.4 (colored)

sync to latest -current.

Revision 1.156 / (download) - annotate - [select for diffs], Sun Mar 25 09:15:20 2012 UTC (12 years ago) by martin
Branch: MAIN
CVS Tags: yamt-pagecache-base5, yamt-pagecache-base4, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base10
Changes since 1.155: +3 -2 lines
Diff to previous 1.155 (colored) to selected 1.73.8.4 (colored)

Redo rev 1.154 by using an explicit MKSHNOECHO that does not output anything.

Revision 1.155 / (download) - annotate - [select for diffs], Sun Mar 25 06:55:20 2012 UTC (12 years ago) by joerg
Branch: MAIN
Changes since 1.154: +3 -3 lines
Diff to previous 1.154 (colored) to selected 1.73.8.4 (colored)

Don't pass assembler flags to genassym, it doesn't compile.

Revision 1.154 / (download) - annotate - [select for diffs], Sun Mar 25 01:56:02 2012 UTC (12 years ago) by uebayasi
Branch: MAIN
Changes since 1.153: +2 -2 lines
Diff to previous 1.153 (colored) to selected 1.73.8.4 (colored)

Don't print blank lines when !CTFCONVERT.

Revision 1.153 / (download) - annotate - [select for diffs], Mon Mar 19 05:38:26 2012 UTC (12 years ago) by bsh
Branch: MAIN
Changes since 1.152: +40 -3 lines
Diff to previous 1.152 (colored) to selected 1.73.8.4 (colored)

adjust the size of db_symtab space automatically.
proposed on tech-toolchain@, and got no objections.

Revision 1.149.6.1 / (download) - annotate - [select for diffs], Sat Feb 18 07:34:01 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.149: +8 -1 lines
Diff to previous 1.149 (colored) to selected 1.73.8.4 (colored)

merge to -current.

Revision 1.152 / (download) - annotate - [select for diffs], Sun Feb 12 16:34:11 2012 UTC (12 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: 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-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2
Branch point for: matt-nb6-plus
Changes since 1.151: +2 -1 lines
Diff to previous 1.151 (colored) to selected 1.73.8.4 (colored)

Change old-style function defintions to C89 prototypes.

Approved by releng.

Revision 1.151 / (download) - annotate - [select for diffs], Fri Feb 3 23:39:26 2012 UTC (12 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.150: +4 -1 lines
Diff to previous 1.150 (colored) to selected 1.73.8.4 (colored)

-Wold-style-definitions for i386 and amd64

Revision 1.150 / (download) - annotate - [select for diffs], Mon Dec 19 14:06:17 2011 UTC (12 years, 3 months ago) by joerg
Branch: MAIN
Changes since 1.149: +4 -1 lines
Diff to previous 1.149 (colored) to selected 1.73.8.4 (colored)

Move Clang-warning flags for ah_regdomain.c into sys/conf, they are
platform independent. Use the selective -Wno-* flags instead of
-Wno-error.

Revision 1.149 / (download) - annotate - [select for diffs], Sun Sep 25 22:26:33 2011 UTC (12 years, 6 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: yamt-pagecache, jmcneill-usbmp
Changes since 1.148: +2 -1 lines
Diff to previous 1.148 (colored) to selected 1.73.8.4 (colored)

Allow analyze to work by including bsd.clang-analyze.mk for kernels

Revision 1.148 / (download) - annotate - [select for diffs], Wed Aug 31 20:16:43 2011 UTC (12 years, 7 months ago) by plunky
Branch: MAIN
Changes since 1.147: +7 -1 lines
Diff to previous 1.147 (colored) to selected 1.73.8.4 (colored)

for multi-cpu machines, cpu_hatch() straddles the init of
__stack_chk_guard, so ensure stack protection is disabled
on x86 architectures (I don't know about other archs)

Revision 1.147 / (download) - annotate - [select for diffs], Sun Aug 28 23:15:53 2011 UTC (12 years, 7 months ago) by jmcneill
Branch: MAIN
Changes since 1.146: +5 -1 lines
Diff to previous 1.146 (colored) to selected 1.73.8.4 (colored)

let kernel makefile override *.d targets

Revision 1.146 / (download) - annotate - [select for diffs], Thu Aug 18 02:19:20 2011 UTC (12 years, 7 months ago) by christos
Branch: MAIN
Changes since 1.145: +1 -10 lines
Diff to previous 1.145 (colored) to selected 1.73.8.4 (colored)

Remove gcc-4.5 hacks

Revision 1.145 / (download) - annotate - [select for diffs], Thu Aug 11 22:37:57 2011 UTC (12 years, 7 months ago) by jmcneill
Branch: MAIN
Changes since 1.144: +3 -3 lines
Diff to previous 1.144 (colored) to selected 1.73.8.4 (colored)

let md makefile add newvers.sh flags by setting NVFLAGS

Revision 1.144 / (download) - annotate - [select for diffs], Tue Aug 9 13:02:53 2011 UTC (12 years, 7 months ago) by joerg
Branch: MAIN
Changes since 1.143: +3 -3 lines
Diff to previous 1.143 (colored) to selected 1.73.8.4 (colored)

Restrict -Wno-array-bounds to tulip.c with gcc.

Revision 1.143 / (download) - annotate - [select for diffs], Thu Jul 28 13:42:16 2011 UTC (12 years, 8 months ago) by uebayasi
Branch: MAIN
Changes since 1.142: +3 -3 lines
Diff to previous 1.142 (colored) to selected 1.73.8.4 (colored)

Define SYMTAB_SPACE in opt_ksyms.h, not opt_ddbparam.h.  Ensure
that ddb(4) code is independent of SYMTAB_SPACE value.

Revision 1.142 / (download) - annotate - [select for diffs], Thu Jul 7 08:47:22 2011 UTC (12 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.141: +3 -1 lines
Diff to previous 1.141 (colored) to selected 1.73.8.4 (colored)

adb_kbd.c and adb_ms.c need -Wno-cast-qual due to sysctl const issue.

Revision 1.141 / (download) - annotate - [select for diffs], Mon Jul 4 13:00:19 2011 UTC (12 years, 8 months ago) by mrg
Branch: MAIN
Changes since 1.140: +9 -2 lines
Diff to previous 1.140 (colored) to selected 1.73.8.4 (colored)

apply some -Wno-foo to 3 files that are non-trivial to solve, for GCC 4.5.

Revision 1.138.2.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:19:53 2011 UTC (12 years, 9 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.138: +7 -8 lines
Diff to previous 1.138 (colored) next main 1.139 (colored) to selected 1.73.8.4 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.140 / (download) - annotate - [select for diffs], Mon Jun 20 06:52:38 2011 UTC (12 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.139: +5 -6 lines
Diff to previous 1.139 (colored) to selected 1.73.8.4 (colored)

remove all the code that supported HAVE_GCC=3.  mostly from chuq.

Revision 1.139 / (download) - annotate - [select for diffs], Fri Jun 17 21:19:42 2011 UTC (12 years, 9 months ago) by matt
Branch: MAIN
Changes since 1.138: +3 -3 lines
Diff to previous 1.138 (colored) to selected 1.73.8.4 (colored)

If dbsym fails, not fail the command, remove the target too so that the
next invokation will try to remake it.

Revision 1.129.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:07:35 2011 UTC (12 years, 9 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.129: +22 -18 lines
Diff to previous 1.129 (colored) next main 1.130 (colored) to selected 1.73.8.4 (colored)

Sync with HEAD.

Revision 1.127.2.2 / (download) - annotate - [select for diffs], Tue May 31 03:04:33 2011 UTC (12 years, 10 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.127.2.1: +16 -18 lines
Diff to previous 1.127.2.1 (colored) to branchpoint 1.127 (colored) next main 1.128 (colored) to selected 1.73.8.4 (colored)

sync with head

Revision 1.138 / (download) - annotate - [select for diffs], Mon May 30 03:12:43 2011 UTC (12 years, 10 months ago) by joerg
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base
Branch point for: cherry-xenmp
Changes since 1.137: +1 -4 lines
Diff to previous 1.137 (colored) to selected 1.73.8.4 (colored)

Don't duplicate -Werror here, bsd.sys.mk already provides it

Revision 1.137 / (download) - annotate - [select for diffs], Thu May 26 12:56:30 2011 UTC (12 years, 10 months ago) by joerg
Branch: MAIN
Changes since 1.136: +4 -1 lines
Diff to previous 1.136 (colored) to selected 1.73.8.4 (colored)

Default to -Wno-sign-compare -Wno-pointer-sign for clang.
Push -Wno-array-bounds down to the cases that depend on it.
Selectively disable warnings for 3rd party software or non-trivial
issues to be reviewed later to get clang -Werror to build most of the
tree.

Revision 1.136 / (download) - annotate - [select for diffs], Mon May 23 13:55:55 2011 UTC (12 years, 10 months ago) by joerg
Branch: MAIN
Changes since 1.135: +4 -4 lines
Diff to previous 1.135 (colored) to selected 1.73.8.4 (colored)

Reorder flag order to not depend on -Wextra being applied before
-Wno-sign-compare

Revision 1.135 / (download) - annotate - [select for diffs], Sun May 22 20:49:46 2011 UTC (12 years, 10 months ago) by joerg
Branch: MAIN
Changes since 1.134: +1 -3 lines
Diff to previous 1.134 (colored) to selected 1.73.8.4 (colored)

Inherit SSP settings from bsd.sys.mk

Revision 1.134 / (download) - annotate - [select for diffs], Thu May 19 21:24:55 2011 UTC (12 years, 10 months ago) by joerg
Branch: MAIN
Changes since 1.133: +2 -2 lines
Diff to previous 1.133 (colored) to selected 1.73.8.4 (colored)

Spell --fatal-warnings with two hyphens

Revision 1.133 / (download) - annotate - [select for diffs], Tue May 17 07:16:02 2011 UTC (12 years, 10 months ago) by joerg
Branch: MAIN
Changes since 1.132: +7 -7 lines
Diff to previous 1.132 (colored) to selected 1.73.8.4 (colored)

Add support for source specific AFLAGS and COPTS.

Revision 1.132 / (download) - annotate - [select for diffs], Wed May 11 16:03:56 2011 UTC (12 years, 10 months ago) by jakllsch
Branch: MAIN
Changes since 1.131: +3 -3 lines
Diff to previous 1.131 (colored) to selected 1.73.8.4 (colored)

Make ${DBSYM} failure fatal.

Revision 1.131 / (download) - annotate - [select for diffs], Sat Apr 30 19:21:09 2011 UTC (12 years, 11 months ago) by plunky
Branch: MAIN
Changes since 1.130: +2 -2 lines
Diff to previous 1.130 (colored) to selected 1.73.8.4 (colored)

correct comment

Revision 1.127.2.1 / (download) - annotate - [select for diffs], Sat Mar 5 20:52:57 2011 UTC (13 years ago) by rmind
Branch: rmind-uvmplock
Changes since 1.127: +11 -2 lines
Diff to previous 1.127 (colored) to selected 1.73.8.4 (colored)

sync with head

Revision 1.129.4.1 / (download) - annotate - [select for diffs], Sat Mar 5 15:10:14 2011 UTC (13 years ago) by bouyer
Branch: bouyer-quota2
Changes since 1.129: +7 -1 lines
Diff to previous 1.129 (colored) next main 1.130 (colored) to selected 1.73.8.4 (colored)

Sync with HEAD

Revision 1.130 / (download) - annotate - [select for diffs], Thu Feb 17 18:47:13 2011 UTC (13 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: bouyer-quota2-nbase
Changes since 1.129: +7 -1 lines
Diff to previous 1.129 (colored) to selected 1.73.8.4 (colored)

If generating a gdb kernel and using dbsym, insert the symbols into it.
(This is useful when using the .gdb with an emulator so that ddb in the
emulator will have symbols).

Revision 1.129 / (download) - annotate - [select for diffs], Tue Jan 4 01:52:30 2011 UTC (13 years, 2 months ago) by matt
Branch: MAIN
CVS Tags: uebayasi-xip-base7, jruoho-x86intr-base, bouyer-quota2-base
Branch point for: jruoho-x86intr, bouyer-quota2
Changes since 1.128: +4 -1 lines
Diff to previous 1.128 (colored) to selected 1.73.8.4 (colored)

If using a kernel ldscript, make sure it's added to the list of kernel
dependencies.

Revision 1.128 / (download) - annotate - [select for diffs], Sun Jan 2 19:24:48 2011 UTC (13 years, 2 months ago) by matt
Branch: MAIN
Changes since 1.127: +2 -2 lines
Diff to previous 1.127 (colored) to selected 1.73.8.4 (colored)

Kernels modules are c99 (gnu99) just like the kernel.
Add(move) -std=gnu99 to CPPFLAGS (from COPTS).

Revision 1.125.2.1 / (download) - annotate - [select for diffs], Fri Apr 30 14:43:03 2010 UTC (13 years, 11 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.125: +28 -10 lines
Diff to previous 1.125 (colored) next main 1.126 (colored) to selected 1.73.8.4 (colored)

Sync with HEAD.

Revision 1.111.4.4 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:20 2010 UTC (14 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.111.4.3: +29 -11 lines
Diff to previous 1.111.4.3 (colored) to branchpoint 1.111 (colored) next main 1.112 (colored) to selected 1.73.8.4 (colored)

sync with head

Revision 1.127 / (download) - annotate - [select for diffs], Fri Mar 5 23:06:49 2010 UTC (14 years ago) by njoly
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, matt-mips64-premerge-20101231
Branch point for: rmind-uvmplock
Changes since 1.126: +10 -10 lines
Diff to previous 1.126 (colored) to selected 1.73.8.4 (colored)

Use 'a && b && ...' contructs for running multiple commands on a single line
in Makefiles, to properly detect/report failures.

Revision 1.126 / (download) - annotate - [select for diffs], Mon Mar 1 21:10:14 2010 UTC (14 years, 1 month ago) by darran
Branch: MAIN
Changes since 1.125: +22 -4 lines
Diff to previous 1.125 (colored) to selected 1.73.8.4 (colored)

DTrace: Add an SDT (Statically Defined Tracing) provider framework, and
implement most of the proc provider.  Adds proc:::create, exec,
exec_success, exec_faillure, signal_send, signal_discard, signal_handle,
lwp_create, lwp_start, lwp_exit.

Revision 1.118.4.2.4.3 / (download) - annotate - [select for diffs], Wed Jan 27 07:28:09 2010 UTC (14 years, 2 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.118.4.2.4.2: +7 -1 lines
Diff to previous 1.118.4.2.4.2 (colored) to branchpoint 1.118.4.2 (colored) to selected 1.73.8.4 (colored)

If we're making a gdb kernel, insert the symtab in that as well.

Revision 1.125 / (download) - annotate - [select for diffs], Tue Nov 10 20:24:50 2009 UTC (14 years, 4 months ago) by tron
Branch: MAIN
CVS Tags: uebayasi-xip-base, matt-premerge-20091211
Branch point for: uebayasi-xip
Changes since 1.124: +2 -2 lines
Diff to previous 1.124 (colored) to selected 1.73.8.4 (colored)

"cgd.c" doesn't use variable size stack allocations anymore.

Revision 1.118.4.2.4.2 / (download) - annotate - [select for diffs], Sat Sep 12 16:51:41 2009 UTC (14 years, 6 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-premerge-20091211
Changes since 1.118.4.2.4.1: +2 -2 lines
Diff to previous 1.118.4.2.4.1 (colored) to branchpoint 1.118.4.2 (colored) to selected 1.73.8.4 (colored)

Allow DBSYM to error out now that binutils can strip $L locals.

Revision 1.118.4.2.4.1 / (download) - annotate - [select for diffs], Sat Sep 5 03:49:50 2009 UTC (14 years, 6 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb4-mips64-k7-u2a-k9b
Changes since 1.118.4.2: +2 -2 lines
Diff to previous 1.118.4.2 (colored) to selected 1.73.8.4 (colored)

Don't abort if DBSYM fails.

Revision 1.120.2.2 / (download) - annotate - [select for diffs], Thu Jul 23 23:31:44 2009 UTC (14 years, 8 months ago) by jym
Branch: jym-xensuspend
Changes since 1.120.2.1: +1 -5 lines
Diff to previous 1.120.2.1 (colored) next main 1.121 (colored) to selected 1.73.8.4 (colored)

Sync with HEAD.

Revision 1.111.4.3 / (download) - annotate - [select for diffs], Sat May 16 10:41:17 2009 UTC (14 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.111.4.2: +1 -5 lines
Diff to previous 1.111.4.2 (colored) to branchpoint 1.111 (colored) to selected 1.73.8.4 (colored)

sync with head

Revision 1.124 / (download) - annotate - [select for diffs], Wed May 13 18:06:26 2009 UTC (14 years, 10 months ago) by cube
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, jymxensuspend-base, jym-xensuspend-nbase
Changes since 1.123: +1 -5 lines
Diff to previous 1.123 (colored) to selected 1.73.8.4 (colored)

Nothing has used config_time.h since 1/8/2008.

Revision 1.120.2.1 / (download) - annotate - [select for diffs], Wed May 13 17:19:04 2009 UTC (14 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.120: +13 -4 lines
Diff to previous 1.120 (colored) to selected 1.73.8.4 (colored)

Sync with HEAD.

Commit is split, to avoid a "too many arguments" protocol error.

Revision 1.111.4.2 / (download) - annotate - [select for diffs], Mon May 4 08:12:29 2009 UTC (14 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.111.4.1: +45 -25 lines
Diff to previous 1.111.4.1 (colored) to branchpoint 1.111 (colored) to selected 1.73.8.4 (colored)

sync with head.

Revision 1.118.2.3 / (download) - annotate - [select for diffs], Tue Apr 28 07:35:12 2009 UTC (14 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.118.2.2: +12 -4 lines
Diff to previous 1.118.2.2 (colored) to branchpoint 1.118 (colored) next main 1.119 (colored) to selected 1.73.8.4 (colored)

Sync with HEAD.

Revision 1.123 / (download) - annotate - [select for diffs], Mon Mar 30 16:34:19 2009 UTC (15 years ago) by perry
Branch: MAIN
CVS Tags: yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base, jym-xensuspend-base
Changes since 1.122: +10 -2 lines
Diff to previous 1.122 (colored) to selected 1.73.8.4 (colored)

Add a MKREPRO variable (defaults to "no") that invokes newvers.sh with
the -r flag if it is set to "yes", resulting in a reproducible kernel build.

Revision 1.118.4.2 / (download) - annotate - [select for diffs], Fri Mar 27 14:50:36 2009 UTC (15 years ago) by msaitoh
Branch: netbsd-5
CVS Tags: 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-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u1-k1-k5
Branch point for: matt-nb5-mips64
Changes since 1.118.4.1: +2 -2 lines
Diff to previous 1.118.4.1 (colored) to branchpoint 1.118 (colored) next main 1.119 (colored) to selected 1.73.8.4 (colored)

Pull up following revision(s) (requested by sketch in ticket #536):
	etc/Makefile: revision 1.364
	Makefile: revision 1.267
	usr.sbin/postinstall/postinstall: revision 1.90
	usr.bin/hexdump/parse.c: revision 1.25
	sys/arch/x86/acpi/genwakecode.sh: revision 1.3
	usr.sbin/postinstall/postinstall: revision 1.87
	usr.sbin/postinstall/postinstall: revision 1.88
	usr.sbin/postinstall/postinstall: revision 1.89
	sys/arch/x86/acpi/Makefile.wakecode.inc: revision 1.4
	sys/conf/Makefile.kern.inc: revision 1.120
Use ll instead of non-standard q as length modifier in format strings. Makes
this work on Solaris. OK by apb.
Not every grep knows -q. Ok by apb.
Use sed, awk and hexdump from tools to make this work on Solaris. Ok by apb.
Use awk and grep host tools where required.  'build.sh release' now
works on Solaris (but only with HOST_CC=/usr/sfw/bin/gcc for now).
"grep -q" is not portable; use "grep >/dev/null" instead.  Also add a
comment saying that postinstal is invoked during a cross build.
In file_exists_exact(), fix an incorrect test of "1" instead of "$1",
and improve the comment explaining what this function does.
As long as we don't yet have a working TOOL_GREP, fgrep is more portablethan grep -F.

Revision 1.122 / (download) - annotate - [select for diffs], Fri Mar 20 09:13:06 2009 UTC (15 years ago) by pooka
Branch: MAIN
Changes since 1.121: +3 -3 lines
Diff to previous 1.121 (colored) to selected 1.73.8.4 (colored)

fix cscope target

Philip Paeps, PR kern/41012

Revision 1.118.4.1 / (download) - annotate - [select for diffs], Sun Mar 15 19:43:48 2009 UTC (15 years ago) by snj
Branch: netbsd-5
CVS Tags: netbsd-5-0-RC3
Changes since 1.118: +2 -1 lines
Diff to previous 1.118 (colored) to selected 1.73.8.4 (colored)

Pull up following revision(s) (requested by christos in ticket #458):
	sys/conf/Makefile.kern.inc: revision 1.121
	sys/conf/files: revision 1.940
	sys/kern/init_main.c: revision 1.381
	sys/kern/kern_ssp.c: revision 1.1
	sys/kern/subr_autoconf.c: revision 1.168
	sys/sys/device.h: revision 1.116
	sys/sys/systm.h: revision 1.233
Unbreak ssp kernels. The issue here that when the ssp_init() call was
deferred, it caused the return from the enclosing function to break, as
well as the ssp return on i386. To fix both issues, split configure in
two pieces the one before calling ssp_init and the one after, and move
the ssp_init() call back in main. Put ssp_init() in its own file, and
compile this new file with -fno-stack-protector. Tested on amd64.
XXX: If we want to have ssp kernels working on 5.0, this change needs to
be pulled up.

Revision 1.118.2.2 / (download) - annotate - [select for diffs], Tue Mar 3 18:30:30 2009 UTC (15 years ago) by skrll
Branch: nick-hppapmap
Changes since 1.118.2.1: +2 -1 lines
Diff to previous 1.118.2.1 (colored) to branchpoint 1.118 (colored) to selected 1.73.8.4 (colored)

Sync with HEAD.

Revision 1.121 / (download) - annotate - [select for diffs], Thu Feb 12 18:24:18 2009 UTC (15 years, 1 month ago) by christos
Branch: MAIN
CVS Tags: nick-hppapmap-base2
Changes since 1.120: +2 -1 lines
Diff to previous 1.120 (colored) to selected 1.73.8.4 (colored)

Unbreak ssp kernels. The issue here that when the ssp_init() call was deferred,
it caused the return from the enclosing function to break, as well as the
ssp return on i386. To fix both issues, split configure in two pieces
the one before calling ssp_init and the one after, and move the ssp_init()
call back in main. Put ssp_init() in its own file, and compile this new file
with -fno-stack-protector. Tested on amd64.
XXX: If we want to have ssp kernels working on 5.0, this change needs to
be pulled up.

Revision 1.118.2.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:17:45 2009 UTC (15 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.118: +3 -3 lines
Diff to previous 1.118 (colored) to selected 1.73.8.4 (colored)

Sync with HEAD.

Revision 1.120 / (download) - annotate - [select for diffs], Sun Jan 18 13:53:03 2009 UTC (15 years, 2 months ago) by hans
Branch: MAIN
Branch point for: jym-xensuspend
Changes since 1.119: +2 -2 lines
Diff to previous 1.119 (colored) to selected 1.73.8.4 (colored)

Not every grep knows -q. Ok by apb.

Revision 1.108.6.5 / (download) - annotate - [select for diffs], Sat Jan 17 13:28:49 2009 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.108.6.4: +23 -15 lines
Diff to previous 1.108.6.4 (colored) to branchpoint 1.108 (colored) next main 1.109 (colored) to selected 1.73.8.4 (colored)

Sync with HEAD.

Revision 1.113.2.2 / (download) - annotate - [select for diffs], Sat Dec 13 01:14:07 2008 UTC (15 years, 3 months ago) by haad
Branch: haad-dm
Changes since 1.113.2.1: +24 -16 lines
Diff to previous 1.113.2.1 (colored) to branchpoint 1.113 (colored) next main 1.114 (colored) to selected 1.73.8.4 (colored)

Update haad-dm branch to haad-dm-base2.

Revision 1.119 / (download) - annotate - [select for diffs], Thu Nov 13 06:48:38 2008 UTC (15 years, 4 months ago) by matt
Branch: MAIN
CVS Tags: mjf-devfs2-base, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Changes since 1.118: +2 -2 lines
Diff to previous 1.118 (colored) to selected 1.73.8.4 (colored)

Sort the kernel objects.

Revision 1.118 / (download) - annotate - [select for diffs], Sat Oct 25 22:27:38 2008 UTC (15 years, 5 months ago) by apb
Branch: MAIN
CVS Tags: netbsd-5-base, netbsd-5-0-RC2, netbsd-5-0-RC1
Branch point for: nick-hppapmap, netbsd-5
Changes since 1.117: +22 -14 lines
Diff to previous 1.117 (colored) to selected 1.73.8.4 (colored)

Use ${TOOL_SED} instead if plain sed in Makefiles.

Revision 1.113.2.1 / (download) - annotate - [select for diffs], Sun Oct 19 22:16:18 2008 UTC (15 years, 5 months ago) by haad
Branch: haad-dm
Changes since 1.113: +10 -8 lines
Diff to previous 1.113 (colored) to selected 1.73.8.4 (colored)

Sync with HEAD.

Revision 1.117 / (download) - annotate - [select for diffs], Sun Oct 19 22:05:22 2008 UTC (15 years, 5 months ago) by apb
Branch: MAIN
CVS Tags: matt-mips64-base2
Changes since 1.116: +2 -2 lines
Diff to previous 1.116 (colored) to selected 1.73.8.4 (colored)

Use ${TOOL_AWK} instead of ${AWK} or plain "awk" in make commands.
Pass AWK=${TOOL_AWK:Q} to shell scripts that use awk.

Revision 1.108.6.4 / (download) - annotate - [select for diffs], Sun Sep 28 10:40:17 2008 UTC (15 years, 6 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.108.6.3: +9 -7 lines
Diff to previous 1.108.6.3 (colored) to branchpoint 1.108 (colored) to selected 1.73.8.4 (colored)

Sync with HEAD.

Revision 1.111.6.2 / (download) - annotate - [select for diffs], Thu Sep 18 04:36:46 2008 UTC (15 years, 6 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.111.6.1: +10 -8 lines
Diff to previous 1.111.6.1 (colored) to branchpoint 1.111 (colored) next main 1.112 (colored) to selected 1.73.8.4 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.116 / (download) - annotate - [select for diffs], Fri Sep 5 13:37:25 2008 UTC (15 years, 6 months ago) by tron
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, haad-dm-base1
Changes since 1.115: +3 -2 lines
Diff to previous 1.115 (colored) to selected 1.73.8.4 (colored)

Compile NetBSD/amd64 kernels with "-Wextra". Patches contributed by
Juan RP in PR port-amd64/39266.

Revision 1.115 / (download) - annotate - [select for diffs], Fri Sep 5 11:03:53 2008 UTC (15 years, 6 months ago) by tron
Branch: MAIN
Changes since 1.114: +3 -3 lines
Diff to previous 1.114 (colored) to selected 1.73.8.4 (colored)

Don't add "${CPUFLAGS}" and "${CWARNFLAGS}" to "AFLAGS" and "CFLAGS" twice.
Patch submitted by Juan Romero Pardines in PR kern/39265.

Revision 1.114 / (download) - annotate - [select for diffs], Fri Aug 29 00:02:24 2008 UTC (15 years, 7 months ago) by gmcgarry
Branch: MAIN
Changes since 1.113: +6 -5 lines
Diff to previous 1.113 (colored) to selected 1.73.8.4 (colored)

Wrap compiler-specific flags with HAVE_GCC and HAVE_PCC as necessary. Add a few flags for PCC.

Revision 1.108.6.3 / (download) - annotate - [select for diffs], Sun Jun 29 09:33:04 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.108.6.2: +1 -0 lines
Diff to previous 1.108.6.2 (colored) to branchpoint 1.108 (colored) to selected 1.73.8.4 (colored)

Sync with HEAD.

Revision 1.112.2.1 / (download) - annotate - [select for diffs], Fri Jun 27 15:11:20 2008 UTC (15 years, 9 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.112: +2 -1 lines
Diff to previous 1.112 (colored) next main 1.113 (colored) to selected 1.73.8.4 (colored)

Sync with head.

Revision 1.111.6.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:30:57 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.111: +4 -2 lines
Diff to previous 1.111 (colored) to selected 1.73.8.4 (colored)

Sync w/ -current. 34 merge conflicts to follow.

Revision 1.113 / (download) - annotate - [select for diffs], Sat Jun 21 01:00:43 2008 UTC (15 years, 9 months ago) by gmcgarry
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base
Branch point for: haad-dm
Changes since 1.112: +2 -1 lines
Diff to previous 1.112 (colored) to selected 1.73.8.4 (colored)

pcc needs -Wno-unreachable-code.

Revision 1.108.6.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:23:10 2008 UTC (15 years, 9 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.108.6.1: +2 -1 lines
Diff to previous 1.108.6.1 (colored) to branchpoint 1.108 (colored) to selected 1.73.8.4 (colored)

Sync with HEAD.

Revision 1.111.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:33:29 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.111: +3 -2 lines
Diff to previous 1.111 (colored) next main 1.112 (colored) to selected 1.73.8.4 (colored)

sync with head.

Revision 1.111.4.1 / (download) - annotate - [select for diffs], Fri May 16 02:23:48 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.111: +3 -2 lines
Diff to previous 1.111 (colored) to selected 1.73.8.4 (colored)

sync with head.

Revision 1.112 / (download) - annotate - [select for diffs], Wed May 14 18:15:41 2008 UTC (15 years, 10 months ago) by dholland
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, hpcarm-cleanup-nbase
Branch point for: simonb-wapbl
Changes since 1.111: +3 -2 lines
Diff to previous 1.111 (colored) to selected 1.73.8.4 (colored)

Print kernel version string along with the size output, to avoid having
to dig it out manually if installing by version number... and also to
make it somewhat easier to notice up front if one accidentally boots
the wrong test kernel. not like I've ever done that. ;-)

PR kern/38563.

Revision 1.108.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:35 2008 UTC (15 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.108: +6 -3 lines
Diff to previous 1.108 (colored) to selected 1.73.8.4 (colored)

Sync with HEAD.

Revision 1.111 / (download) - annotate - [select for diffs], Mon Mar 24 18:03:27 2008 UTC (16 years ago) by jmmv
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, wrstuden-revivesa
Changes since 1.110: +2 -2 lines
Diff to previous 1.110 (colored) to selected 1.73.8.4 (colored)

Fix flags for kern_synch.c: it is COPTS.<cfile>, not CFLAGS.<cfile>.

Revision 1.108.2.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:15:10 2008 UTC (16 years ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.108: +5 -2 lines
Diff to previous 1.108 (colored) next main 1.109 (colored) to selected 1.73.8.4 (colored)

sync with head.

Revision 1.101.8.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:34 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.101.8.2: +23 -9 lines
Diff to previous 1.101.8.2 (colored) to branchpoint 1.101 (colored) next main 1.102 (colored) to selected 1.73.8.4 (colored)

sync with HEAD

Revision 1.68.2.9 / (download) - annotate - [select for diffs], Wed Feb 27 08:36:31 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.68.2.8: +5 -2 lines
Diff to previous 1.68.2.8 (colored) to branchpoint 1.68 (colored) next main 1.69 (colored) to selected 1.73.8.4 (colored)

sync with head.

Revision 1.110 / (download) - annotate - [select for diffs], Mon Feb 25 05:56:13 2008 UTC (16 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, hpcarm-cleanup-base
Changes since 1.109: +2 -1 lines
Diff to previous 1.109 (colored) to selected 1.73.8.4 (colored)

Since we say the kernel is C99, add -std=gnu99 to COPTS

Revision 1.109 / (download) - annotate - [select for diffs], Sat Feb 23 17:43:36 2008 UTC (16 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.108: +4 -2 lines
Diff to previous 1.108 (colored) to selected 1.73.8.4 (colored)

Add assym.d to DEPS so it gets properly cleaned.

Revision 1.103.4.2 / (download) - annotate - [select for diffs], Mon Feb 18 21:05:31 2008 UTC (16 years, 1 month ago) by mjf
Branch: mjf-devfs
Changes since 1.103.4.1: +19 -8 lines
Diff to previous 1.103.4.1 (colored) to branchpoint 1.103 (colored) next main 1.104 (colored) to selected 1.73.8.4 (colored)

Sync with HEAD.

Revision 1.68.2.8 / (download) - annotate - [select for diffs], Mon Feb 4 09:23:15 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.68.2.7: +8 -1 lines
Diff to previous 1.68.2.7 (colored) to branchpoint 1.68 (colored) to selected 1.73.8.4 (colored)

sync with head.

Revision 1.108 / (download) - annotate - [select for diffs], Sun Feb 3 06:46:29 2008 UTC (16 years, 1 month ago) by matt
Branch: MAIN
CVS Tags: nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.107: +8 -1 lines
Diff to previous 1.107 (colored) to selected 1.73.8.4 (colored)

Add a syntax-only target which attempts to compile the entire kernel as one
entity.  Think of it as super-lint.  Due to bugs in the GCC C frontend it
doesn't quite work right but it does provide useful feedback.

Revision 1.68.2.7 / (download) - annotate - [select for diffs], Mon Jan 21 09:42:18 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.68.2.6: +12 -8 lines
Diff to previous 1.68.2.6 (colored) to branchpoint 1.68 (colored) to selected 1.73.8.4 (colored)

sync with head

Revision 1.104.6.1 / (download) - annotate - [select for diffs], Sat Jan 19 12:15:01 2008 UTC (16 years, 2 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.104: +12 -8 lines
Diff to previous 1.104 (colored) next main 1.105 (colored) to selected 1.73.8.4 (colored)

Sync with HEAD

Revision 1.107 / (download) - annotate - [select for diffs], Thu Jan 17 20:14:49 2008 UTC (16 years, 2 months ago) by joerg
Branch: MAIN
CVS Tags: bouyer-xeni386-nbase, bouyer-xeni386-base
Changes since 1.106: +6 -1 lines
Diff to previous 1.106 (colored) to selected 1.73.8.4 (colored)

Add a stub file that includes a bunch of kernel headers and always get
compiled with -g. For the initial set, netbsd on amd64 grows by around
80KB. This allows much easier use of GDB for post-mortem debugging as
it can understand the layout of data structures. The additional data can
be strip(1)ped off normally for size constraint environments.

Revision 1.106 / (download) - annotate - [select for diffs], Thu Jan 17 01:56:03 2008 UTC (16 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.105: +4 -4 lines
Diff to previous 1.105 (colored) to selected 1.73.8.4 (colored)

Remove unnecessary references to config_time.h.

Revision 1.105 / (download) - annotate - [select for diffs], Thu Jan 17 01:13:01 2008 UTC (16 years, 2 months ago) by lukem
Branch: MAIN
Changes since 1.104: +4 -5 lines
Diff to previous 1.104 (colored) to selected 1.73.8.4 (colored)

Use BUILDSYMLINKS from <bsd.files.mk> instead of custom copy rules
for config_time.h and athhal_options.h.

Note: we still copy param.c because I'm told that we should still support
people editing that on a per-compile basis.

Revision 1.101.8.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:52:05 2008 UTC (16 years, 2 months ago) by matt
Branch: matt-armv6
Changes since 1.101.8.1: +3 -2 lines
Diff to previous 1.101.8.1 (colored) to branchpoint 1.101 (colored) to selected 1.73.8.4 (colored)

sync with HEAD

Revision 1.103.4.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:19:15 2007 UTC (16 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.103: +3 -2 lines
Diff to previous 1.103 (colored) to selected 1.73.8.4 (colored)

Sync with HEAD.

Revision 1.68.2.6 / (download) - annotate - [select for diffs], Fri Dec 7 17:29:13 2007 UTC (16 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.68.2.5: +3 -2 lines
Diff to previous 1.68.2.5 (colored) to branchpoint 1.68 (colored) to selected 1.73.8.4 (colored)

sync with head

Revision 1.101.6.3 / (download) - annotate - [select for diffs], Mon Dec 3 16:14:30 2007 UTC (16 years, 3 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.101.6.2: +3 -2 lines
Diff to previous 1.101.6.2 (colored) to branchpoint 1.101 (colored) next main 1.102 (colored) to selected 1.73.8.4 (colored)

Sync with HEAD.

Revision 1.104 / (download) - annotate - [select for diffs], Thu Nov 29 01:39:27 2007 UTC (16 years, 4 months ago) by jnemeth
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, matt-armv6-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf, bouyer-xeni386-merge1
Branch point for: bouyer-xeni386
Changes since 1.103: +3 -2 lines
Diff to previous 1.103 (colored) to selected 1.73.8.4 (colored)

add dev/ofw/ofw_subr.c to VARSTACK

Revision 1.101.8.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:25:19 2007 UTC (16 years, 4 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.101: +3 -3 lines
Diff to previous 1.101 (colored) to selected 1.73.8.4 (colored)

sync with HEAD

Revision 1.68.2.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:29:52 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.68.2.4: +3 -3 lines
Diff to previous 1.68.2.4 (colored) to branchpoint 1.68 (colored) to selected 1.73.8.4 (colored)

sync with head.

Revision 1.101.6.2 / (download) - annotate - [select for diffs], Fri Oct 26 15:44:06 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.101.6.1: +2 -2 lines
Diff to previous 1.101.6.1 (colored) to branchpoint 1.101 (colored) to selected 1.73.8.4 (colored)

Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.101.10.2 / (download) - annotate - [select for diffs], Sun Oct 14 11:47:57 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.101.10.1: +2 -2 lines
Diff to previous 1.101.10.1 (colored) to branchpoint 1.101 (colored) next main 1.102 (colored) to selected 1.73.8.4 (colored)

sync with head.

Revision 1.99.6.4 / (download) - annotate - [select for diffs], Fri Oct 12 17:03:05 2007 UTC (16 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.99.6.3: +2 -2 lines
Diff to previous 1.99.6.3 (colored) to branchpoint 1.99 (colored) next main 1.100 (colored) to selected 1.73.8.4 (colored)

Sync with head.

Revision 1.99.6.3 / (download) - annotate - [select for diffs], Tue Oct 9 13:44:08 2007 UTC (16 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.99.6.2: +2 -2 lines
Diff to previous 1.99.6.2 (colored) to branchpoint 1.99 (colored) to selected 1.73.8.4 (colored)

Sync with head.

Revision 1.103 / (download) - annotate - [select for diffs], Mon Oct 8 21:25:35 2007 UTC (16 years, 5 months ago) by tls
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, vmlocking-base, jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: mjf-devfs
Changes since 1.102: +2 -2 lines
Diff to previous 1.102 (colored) to selected 1.73.8.4 (colored)

Fix accidental USE_SSP -> USE_FORT: now USE_SSP works as intended for
kernel builds.  Thanks to xtraeme for pointing this out.

Revision 1.101.10.1 / (download) - annotate - [select for diffs], Sat Oct 6 15:30:15 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.101: +2 -2 lines
Diff to previous 1.101 (colored) to selected 1.73.8.4 (colored)

sync with head.

Revision 1.101.6.1 / (download) - annotate - [select for diffs], Tue Oct 2 18:28:15 2007 UTC (16 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.101: +2 -2 lines
Diff to previous 1.101 (colored) to selected 1.73.8.4 (colored)

Sync with HEAD.

Revision 1.102 / (download) - annotate - [select for diffs], Tue Sep 25 15:16:05 2007 UTC (16 years, 6 months ago) by pooka
Branch: MAIN
CVS Tags: yamt-x86pmap-base2
Changes since 1.101: +2 -2 lines
Diff to previous 1.101 (colored) to selected 1.73.8.4 (colored)

ufs is ssp clean

Revision 1.68.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:33:04 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.68.2.3: +13 -6 lines
Diff to previous 1.68.2.3 (colored) to branchpoint 1.68 (colored) to selected 1.73.8.4 (colored)

sync with head.

Revision 1.100.2.1 / (download) - annotate - [select for diffs], Wed Jul 11 20:04:52 2007 UTC (16 years, 8 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.100: +2 -2 lines
Diff to previous 1.100 (colored) next main 1.101 (colored) to selected 1.73.8.4 (colored)

Sync with head.

Revision 1.99.6.2 / (download) - annotate - [select for diffs], Sat Jun 9 23:57:48 2007 UTC (16 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.99.6.1: +2 -2 lines
Diff to previous 1.99.6.1 (colored) to branchpoint 1.99 (colored) to selected 1.73.8.4 (colored)

Sync with head.

Revision 1.101 / (download) - annotate - [select for diffs], Mon May 28 12:06:24 2007 UTC (16 years, 10 months ago) by tls
Branch: MAIN
CVS Tags: yamt-x86pmap-base, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: yamt-x86pmap, matt-armv6, jmcneill-pm
Changes since 1.100: +2 -2 lines
Diff to previous 1.100 (colored) to selected 1.73.8.4 (colored)

Add new Makefile knob, USE_FORT, which extends USE_SSP by turning on the
FORTIFY_SOURCE feature of libssp, thus checking the size of arguments to
various string and memory copy and set functions (as well as a few system
calls and other miscellany) where known at function entry.  RedHat has
evidently built all "core system packages" with this option for some time.

This option should be used at the top of Makefiles (or Makefile.inc where
this is used for subdirectories) but after any setting of LIB.

This is only useful for userland code, and cannot be used in libc or in
any code which includes the libc internals, because it overrides certain
libc functions with macros.  Some effort has been made to make USE_FORT=yes
work correctly for a full-system build by having the bsd.sys.mk logic
disable the feature where it should not be used (libc, libssp iteself,
the kernel) but no attempt has been made to build the entire system with
USE_FORT and doing so will doubtless expose numerous bugs and misfeatures.

Adjust the system build so that all programs and libraries that are setuid,
directly handle network data (including serial comm data), perform
authentication, or appear likely to have (or have a history of having)
data-driven bugs (e.g. file(1)) are built with USE_FORT=yes by default,
with the exception of libc, which cannot use USE_FORT and thus uses
only USE_SSP by default.  Tested on i386 with no ill results; USE_FORT=no
per-directory or in a system build will disable if desired.

Revision 1.99.2.1 / (download) - annotate - [select for diffs], Sat Mar 24 14:55:18 2007 UTC (17 years ago) by yamt
Branch: yamt-idlelwp
Changes since 1.99: +12 -5 lines
Diff to previous 1.99 (colored) next main 1.100 (colored) to selected 1.73.8.4 (colored)

sync with head.

Revision 1.99.6.1 / (download) - annotate - [select for diffs], Tue Mar 13 16:50:20 2007 UTC (17 years ago) by ad
Branch: vmlocking
Changes since 1.99: +12 -5 lines
Diff to previous 1.99 (colored) to selected 1.73.8.4 (colored)

Sync with head.

Revision 1.100 / (download) - annotate - [select for diffs], Mon Mar 12 15:09:01 2007 UTC (17 years ago) by jmmv
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup
Branch point for: mjf-ufs-trans
Changes since 1.99: +12 -5 lines
Diff to previous 1.99 (colored) to selected 1.73.8.4 (colored)

Add the ability for platform-specific Makefiles to indicate which kernel
images to install into / (which might be more than just "netbsd").

Addresses PR port-shark/17569.

Revision 1.68.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:09:45 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.68.2.2: +3 -5 lines
Diff to previous 1.68.2.2 (colored) to branchpoint 1.68 (colored) to selected 1.73.8.4 (colored)

sync with head.

Revision 1.94.2.4 / (download) - annotate - [select for diffs], Sat Feb 10 14:42:03 2007 UTC (17 years, 1 month ago) by tron
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.94.2.3: +3 -5 lines
Diff to previous 1.94.2.3 (colored) to branchpoint 1.94 (colored) next main 1.95 (colored) to selected 1.73.8.4 (colored)

Pull up following revision(s) (requested by elad in ticket #408):
	sys/conf/Makefile.kern.inc: revision 1.99
We don't need to include kern_exit43.c to the list of files that we cannot
use SSP on now that zero sized arrays are treated properly in gcc.

Revision 1.84.2.3 / (download) - annotate - [select for diffs], Thu Feb 1 08:48:15 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.84.2.2: +3 -5 lines
Diff to previous 1.84.2.2 (colored) to branchpoint 1.84 (colored) next main 1.85 (colored) to selected 1.73.8.4 (colored)

Sync with head.

Revision 1.99 / (download) - annotate - [select for diffs], Sat Jan 27 01:37:57 2007 UTC (17 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: post-newlock2-merge, newlock2-nbase, newlock2-base, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp, vmlocking
Changes since 1.98: +3 -5 lines
Diff to previous 1.98 (colored) to selected 1.73.8.4 (colored)

We don't need to include kern_exit43.c to the list of files that we cannot
use SSP on now that zero sized arrays are treated properly in gcc.

Revision 1.84.2.2 / (download) - annotate - [select for diffs], Fri Jan 12 01:04:03 2007 UTC (17 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.84.2.1: +9 -5 lines
Diff to previous 1.84.2.1 (colored) to branchpoint 1.84 (colored) to selected 1.73.8.4 (colored)

Sync with head.

Revision 1.68.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:47:49 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.68.2.1: +39 -9 lines
Diff to previous 1.68.2.1 (colored) to branchpoint 1.68 (colored) to selected 1.73.8.4 (colored)

sync with head.

Revision 1.86.2.4 / (download) - annotate - [select for diffs], Thu Dec 21 15:07:58 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.86.2.3: +7 -5 lines
Diff to previous 1.86.2.3 (colored) to branchpoint 1.86 (colored) next main 1.87 (colored) to selected 1.73.8.4 (colored)

sync with head.

Revision 1.94.2.3 / (download) - annotate - [select for diffs], Wed Dec 20 22:54:32 2006 UTC (17 years, 3 months ago) by bouyer
Branch: netbsd-4
Changes since 1.94.2.2: +7 -5 lines
Diff to previous 1.94.2.2 (colored) to branchpoint 1.94 (colored) to selected 1.73.8.4 (colored)

Pull up following revision(s) (requested by tls in ticket #291):
	sys/conf/Makefile.kern.inc: revision 1.98
Add --param ssp-buffer-size=1 if USE_SSP as for userspace.
Add kern_exit_43.c to VARSTACK -- it isn't, really, but it causes an error
because it has a 0-element array on the stack and SSP always emits the
error that it is not protecting such a small array (ssp-buffer-size=0 is
not supported, so, really, it should not emit this error!).

Revision 1.94.2.2 / (download) - annotate - [select for diffs], Wed Dec 20 22:51:39 2006 UTC (17 years, 3 months ago) by bouyer
Branch: netbsd-4
Changes since 1.94.2.1: +2 -2 lines
Diff to previous 1.94.2.1 (colored) to branchpoint 1.94 (colored) to selected 1.73.8.4 (colored)

Pull up following revision(s) (requested by tls in ticket #290):
	sys/conf/Makefile.kern.inc: revision 1.97
use -fstack-protector instead of -fstack-protector-all since this breaks
on amd64 (it works on sparc64).

Revision 1.98 / (download) - annotate - [select for diffs], Mon Dec 18 22:37:36 2006 UTC (17 years, 3 months ago) by tls
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5
Changes since 1.97: +7 -5 lines
Diff to previous 1.97 (colored) to selected 1.73.8.4 (colored)

Add --param ssp-buffer-size=1 if USE_SSP as for userspace.
Add kern_exit_43.c to VARSTACK -- it isn't, really, but it causes an error
because it has a 0-element array on the stack and SSP always emits the
error that it is not protecting such a small array (ssp-buffer-size=0 is
not supported, so, really, it should not emit this error!).

Revision 1.86.2.3 / (download) - annotate - [select for diffs], Mon Dec 18 11:42:13 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.86.2.2: +5 -3 lines
Diff to previous 1.86.2.2 (colored) to branchpoint 1.86 (colored) to selected 1.73.8.4 (colored)

sync with head.

Revision 1.97 / (download) - annotate - [select for diffs], Tue Dec 12 21:31:58 2006 UTC (17 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base4
Changes since 1.96: +3 -3 lines
Diff to previous 1.96 (colored) to selected 1.73.8.4 (colored)

use -fstack-protector instead of -fstack-protector-all since this breaks
on amd64 (it works on sparc64).

Revision 1.96 / (download) - annotate - [select for diffs], Sun Dec 10 23:09:31 2006 UTC (17 years, 3 months ago) by christos
Branch: MAIN
Changes since 1.95: +3 -1 lines
Diff to previous 1.95 (colored) to selected 1.73.8.4 (colored)

there is no stack-protector for gcc3

Revision 1.86.2.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:16:52 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.86.2.1: +18 -3 lines
Diff to previous 1.86.2.1 (colored) to branchpoint 1.86 (colored) to selected 1.73.8.4 (colored)

sync with head.

Revision 1.94.2.1 / (download) - annotate - [select for diffs], Sun Dec 3 21:08:53 2006 UTC (17 years, 3 months ago) by tron
Branch: netbsd-4
Changes since 1.94: +2 -2 lines
Diff to previous 1.94 (colored) to selected 1.73.8.4 (colored)

Pull up following revision(s) (requested by tls in ticket #244):
	sys/conf/Makefile.kern.inc: revision 1.95
Add arch/xen/i386/gdt.c to list of kernel files that do variable-size
allocations on the stack.  This allocation could potentially be quite
large -- I am not sure how to best fix that.
Fixes USE_SSP i386 build.sh failure.

Revision 1.95 / (download) - annotate - [select for diffs], Sun Dec 3 01:45:57 2006 UTC (17 years, 3 months ago) by tls
Branch: MAIN
CVS Tags: yamt-splraiseipl-base3
Changes since 1.94: +2 -2 lines
Diff to previous 1.94 (colored) to selected 1.73.8.4 (colored)

Add arch/xen/i386/gdt.c to list of kernel files that do variable-size
allocations on the stack.  This allocation could potentially be quite
large -- I am not sure how to best fix that.

Fixes USE_SSP i386 build.sh failure.

Revision 1.84.2.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:39:15 2006 UTC (17 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.84: +32 -6 lines
Diff to previous 1.84 (colored) to selected 1.73.8.4 (colored)

Sync with head.

Revision 1.94 / (download) - annotate - [select for diffs], Wed Nov 15 23:09:53 2006 UTC (17 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: netbsd-4-base
Branch point for: netbsd-4
Changes since 1.93: +2 -2 lines
Diff to previous 1.93 (colored) to selected 1.73.8.4 (colored)

add aic97xx.c to the varstack list. from shannonjr.

Revision 1.93 / (download) - annotate - [select for diffs], Sat Nov 11 08:40:42 2006 UTC (17 years, 4 months ago) by jnemeth
Branch: MAIN
Changes since 1.92: +2 -2 lines
Diff to previous 1.92 (colored) to selected 1.73.8.4 (colored)

add another file to the VARSTACK list

Revision 1.92 / (download) - annotate - [select for diffs], Sat Nov 11 02:12:53 2006 UTC (17 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.91: +16 -1 lines
Diff to previous 1.91 (colored) to selected 1.73.8.4 (colored)

Add SSP support.
XXX: This is broken for me right now, because my kernel resets after fxp0
is probed, but it could be some bug in the driver/compiler.

Revision 1.91 / (download) - annotate - [select for diffs], Mon Oct 30 17:56:30 2006 UTC (17 years, 5 months ago) by garbled
Branch: MAIN
Changes since 1.90: +2 -2 lines
Diff to previous 1.90 (colored) to selected 1.73.8.4 (colored)

Add  -Wextra -Wno-unused for prep.

Revision 1.90 / (download) - annotate - [select for diffs], Thu Oct 26 05:10:55 2006 UTC (17 years, 5 months ago) by thorpej
Branch: MAIN
Changes since 1.89: +2 -2 lines
Diff to previous 1.89 (colored) to selected 1.73.8.4 (colored)

Insert a .WAIT between "depend" and "all" in the "dependall" target, so
that "make -j4 dependall" has the intended effect.

Revision 1.86.2.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:05:27 2006 UTC (17 years, 5 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.86: +8 -5 lines
Diff to previous 1.86 (colored) to selected 1.73.8.4 (colored)

sync with head

Revision 1.89 / (download) - annotate - [select for diffs], Tue Oct 17 14:28:46 2006 UTC (17 years, 5 months ago) by martin
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.88: +3 -3 lines
Diff to previous 1.88 (colored) to selected 1.73.8.4 (colored)

Sparc64 is -Wextra ready - but we are not sure where to go with __unused,
so add -Wno-unused-parameter for now.
Ok'd by christos.

Revision 1.88 / (download) - annotate - [select for diffs], Thu Oct 12 01:30:49 2006 UTC (17 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.87: +2 -2 lines
Diff to previous 1.87 (colored) to selected 1.73.8.4 (colored)

- sprinkle __unused on function decls.
- fix a couple of unused bugs
- no more -Wno-unused for i386

Revision 1.87 / (download) - annotate - [select for diffs], Wed Oct 4 16:03:01 2006 UTC (17 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.86: +8 -5 lines
Diff to previous 1.86 (colored) to selected 1.73.8.4 (colored)

Add -Wextra -Wno-unused for i386. Portmasters, please check your ports
and make sure they compile with these flags.

Revision 1.73.8.5 / (download) - annotate - [select for diffs], Thu Sep 14 12:31:26 2006 UTC (17 years, 6 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.73.8.4: +9 -1 lines
Diff to previous 1.73.8.4 (colored) to branchpoint 1.73 (colored) next main 1.74 (colored)

sync with head.

Revision 1.86 / (download) - annotate - [select for diffs], Mon Sep 11 03:12:48 2006 UTC (17 years, 6 months ago) by matt
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9
Branch point for: yamt-splraiseipl
Changes since 1.85: +2 -1 lines
Diff to previous 1.85 (colored) to selected 1.73.8.4 (colored)

Add AFLAGS+= ${AOPTS.${.IMPSRC:T}}

Revision 1.73.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:46:39 2006 UTC (17 years, 6 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.73: +22 -17 lines
Diff to previous 1.73 (colored) next main 1.74 (colored) to selected 1.73.8.4 (colored)

sync with head

Revision 1.85 / (download) - annotate - [select for diffs], Thu Sep 7 18:41:28 2006 UTC (17 years, 6 months ago) by mrg
Branch: MAIN
CVS Tags: rpaulo-netinet-merge-pcb-base
Changes since 1.84: +8 -1 lines
Diff to previous 1.84 (colored) to selected 1.73.8.4 (colored)

make the bpendtsleep: label only active if KERN_SYNCH_BPENDTSLEEP_LABEL
is defined.  if this option is present in the Makefile CFLAGS and we are
using GCC4, build kern_synch.c with -fno-reorder-blocks, so that this
actually works.

XXX be nice if KERN_SYNCH_BPENDTSLEEP_LABEL was a normal 'defflag' option
XXX but for now take the easy way out and make it checkable in CFLAGS.

Revision 1.73.8.4 / (download) - annotate - [selected], Sun Sep 3 15:23:47 2006 UTC (17 years, 6 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.73.8.3: +4 -4 lines
Diff to previous 1.73.8.3 (colored) to branchpoint 1.73 (colored)

sync with head.

Revision 1.84 / (download) - annotate - [select for diffs], Sun Aug 27 06:49:27 2006 UTC (17 years, 7 months ago) by simonb
Branch: MAIN
CVS Tags: yamt-pdpolicy-base8
Branch point for: newlock2
Changes since 1.83: +2 -2 lines
Diff to previous 1.83 (colored) to selected 1.73.8.4 (colored)

Add -Wa,-fatal-warnings to AFLAGS.  We want assembler warnings to be
fatal as well as compiler warnings.
Vague nods of agreement from Christos and Gimpy.

Revision 1.83 / (download) - annotate - [select for diffs], Thu Aug 24 21:23:40 2006 UTC (17 years, 7 months ago) by dsl
Branch: MAIN
Changes since 1.82: +3 -3 lines
Diff to previous 1.82 (colored) to selected 1.73.8.4 (colored)

Create a linker map file.
Very useful when trying to find out where recent 'bloat' has come from,
as well as giving exact details of what is actually in the kernel.

Revision 1.73.8.3 / (download) - annotate - [select for diffs], Mon Jun 26 12:46:37 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.73.8.2: +2 -13 lines
Diff to previous 1.73.8.2 (colored) to branchpoint 1.73 (colored) to selected 1.73.8.4 (colored)

sync with head.

Revision 1.68.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 15:00:01 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.68: +44 -36 lines
Diff to previous 1.68 (colored) to selected 1.73.8.4 (colored)

sync with head.

Revision 1.78.2.1 / (download) - annotate - [select for diffs], Mon Jun 19 03:46:56 2006 UTC (17 years, 9 months ago) by chap
Branch: chap-midi
Changes since 1.78: +3 -14 lines
Diff to previous 1.78 (colored) next main 1.79 (colored) to selected 1.73.8.4 (colored)

Sync with head.

Revision 1.73.6.3 / (download) - annotate - [select for diffs], Sat Jun 3 19:44:03 2006 UTC (17 years, 9 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.73.6.2: +2 -13 lines
Diff to previous 1.73.6.2 (colored) to branchpoint 1.73 (colored) next main 1.74 (colored) to selected 1.73.8.4 (colored)

Sync with head.

Revision 1.82 / (download) - annotate - [select for diffs], Fri Jun 2 22:16:18 2006 UTC (17 years, 10 months ago) by mrg
Branch: MAIN
CVS Tags: yamt-pdpolicy-base7, yamt-pdpolicy-base6, simonb-timecounters-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.81: +2 -13 lines
Diff to previous 1.81 (colored) to selected 1.73.8.4 (colored)

remove support for building (with) GCC 2.95.  also:
- always install <stdbool.h>
- don't generate a fake one for vax / gettext.

Revision 1.73.6.2 / (download) - annotate - [select for diffs], Thu Jun 1 22:36:01 2006 UTC (17 years, 10 months ago) by kardel
Branch: simonb-timecounters
Changes since 1.73.6.1: +11 -2 lines
Diff to previous 1.73.6.1 (colored) to branchpoint 1.73 (colored) to selected 1.73.8.4 (colored)

Sync with head.

Revision 1.73.12.2 / (download) - annotate - [select for diffs], Wed May 24 15:48:29 2006 UTC (17 years, 10 months ago) by tron
Branch: peter-altq
Changes since 1.73.12.1: +12 -3 lines
Diff to previous 1.73.12.1 (colored) to branchpoint 1.73 (colored) next main 1.74 (colored) to selected 1.73.8.4 (colored)

Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.

Revision 1.73.8.2 / (download) - annotate - [select for diffs], Wed May 24 10:57:35 2006 UTC (17 years, 10 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.73.8.1: +13 -4 lines
Diff to previous 1.73.8.1 (colored) to branchpoint 1.73 (colored) to selected 1.73.8.4 (colored)

sync with head.

Revision 1.81 / (download) - annotate - [select for diffs], Sun May 21 05:49:54 2006 UTC (17 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pdpolicy-base5
Changes since 1.80: +2 -2 lines
Diff to previous 1.80 (colored) to selected 1.73.8.4 (colored)

it is attributes no attribute

Revision 1.80 / (download) - annotate - [select for diffs], Sun May 21 04:53:23 2006 UTC (17 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.79: +2 -2 lines
Diff to previous 1.79 (colored) to selected 1.73.8.4 (colored)

Put back -Wno-attribute for now since not all archs have been fixed.

Revision 1.79 / (download) - annotate - [select for diffs], Sat May 20 00:47:27 2006 UTC (17 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.78: +2 -2 lines
Diff to previous 1.78 (colored) to selected 1.73.8.4 (colored)

Don't use -Wno-attributes for gcc4. All the code has been fixed and it will
just hide bugs.

Revision 1.73.10.2 / (download) - annotate - [select for diffs], Thu May 11 23:28:04 2006 UTC (17 years, 10 months ago) by elad
Branch: elad-kernelauth
Changes since 1.73.10.1: +13 -4 lines
Diff to previous 1.73.10.1 (colored) to branchpoint 1.73 (colored) next main 1.74 (colored) to selected 1.73.8.4 (colored)

sync with head

Revision 1.78 / (download) - annotate - [select for diffs], Thu May 11 17:21:38 2006 UTC (17 years, 10 months ago) by mrg
Branch: MAIN
CVS Tags: elad-kernelauth-base
Branch point for: chap-midi
Changes since 1.77: +9 -1 lines
Diff to previous 1.77 (colored) to selected 1.73.8.4 (colored)

if GCC>3:
- add -Wno-attributes -Wno-pointer-sign to CWARNFLAGS.
- add -fno-strict-aliasing to CFLAGS [*]

our kernel again needs a bunch of work for this to be enabled.

Revision 1.77 / (download) - annotate - [select for diffs], Fri Apr 28 03:40:15 2006 UTC (17 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.76: +3 -2 lines
Diff to previous 1.76 (colored) to selected 1.73.8.4 (colored)

Also search for headers in common/include

Revision 1.73.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:38:21 2006 UTC (17 years, 11 months ago) by simonb
Branch: simonb-timecounters
Changes since 1.73: +4 -4 lines
Diff to previous 1.73 (colored) to selected 1.73.8.4 (colored)

Sync with head.

Revision 1.76 / (download) - annotate - [select for diffs], Wed Apr 19 07:08:17 2006 UTC (17 years, 11 months ago) by lukem
Branch: MAIN
Changes since 1.75: +2 -2 lines
Diff to previous 1.75 (colored) to selected 1.73.8.4 (colored)

Order & uniq DEPS, a la <bsd.dep.mk>.

Revision 1.75 / (download) - annotate - [select for diffs], Wed Apr 19 07:06:22 2006 UTC (17 years, 11 months ago) by lukem
Branch: MAIN
Changes since 1.74: +2 -2 lines
Diff to previous 1.74 (colored) to selected 1.73.8.4 (colored)

Sort SYSTEM_OBJ before adding to SYSTEM_DEP.
Kernel builds are now more consistent with userland
(and IMHO building in order is more asthetically pleasing.)

Revision 1.73.10.1 / (download) - annotate - [select for diffs], Wed Apr 19 04:32:08 2006 UTC (17 years, 11 months ago) by elad
Branch: elad-kernelauth
Changes since 1.73: +2 -2 lines
Diff to previous 1.73 (colored) to selected 1.73.8.4 (colored)

sync with head.

Revision 1.73.8.1 / (download) - annotate - [select for diffs], Sat Apr 1 12:06:42 2006 UTC (18 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.73: +2 -2 lines
Diff to previous 1.73 (colored) to selected 1.73.8.4 (colored)

sync with head.

Revision 1.73.12.1 / (download) - annotate - [select for diffs], Fri Mar 31 09:45:17 2006 UTC (18 years ago) by tron
Branch: peter-altq
Changes since 1.73: +2 -2 lines
Diff to previous 1.73 (colored) to selected 1.73.8.4 (colored)

Merge 2006-03-31 NetBSD-current into the "peter-altq" branch.

Revision 1.74 / (download) - annotate - [select for diffs], Wed Mar 29 21:35:32 2006 UTC (18 years ago) by uwe
Branch: MAIN
CVS Tags: yamt-pdpolicy-base4, yamt-pdpolicy-base3
Changes since 1.73: +2 -2 lines
Diff to previous 1.73 (colored) to selected 1.73.8.4 (colored)

Don't add CPUFLAGS to CFLAGS twice.

Revision 1.73 / (download) - annotate - [select for diffs], Mon Dec 12 22:44:04 2005 UTC (18 years, 3 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, peter-altq, elad-kernelauth
Changes since 1.72: +15 -33 lines
Diff to previous 1.72 (colored) to selected 1.73.8.4 (colored)

If we are going to run mkdep separately for each file, we might as well
get this makefile to execute the mkdep commands - no need for a submake
and xargs at that point.
However we do need to do something to stop the 'mkdep -d' and CLEANDEPEND
command lines being to long.
Note that 'echo ${xxx} | cmd' is ok because echo is a shell builtin, and
isn't (usually) subject to the kernel's command line limits.

Revision 1.34.2.7 / (download) - annotate - [select for diffs], Sun Dec 11 10:28:47 2005 UTC (18 years, 3 months ago) by christos
Branch: ktrace-lwp
Changes since 1.34.2.6: +34 -11 lines
Diff to previous 1.34.2.6 (colored) next main 1.35 (colored) to selected 1.73.8.4 (colored)

Sync with head.

Revision 1.72 / (download) - annotate - [select for diffs], Thu Dec 1 06:01:18 2005 UTC (18 years, 4 months ago) by lukem
Branch: MAIN
CVS Tags: ktrace-lwp-base
Changes since 1.71: +2 -2 lines
Diff to previous 1.71 (colored) to selected 1.73.8.4 (colored)

Remove the .d files during __CLEANDEPEND

Revision 1.69.2.1 / (download) - annotate - [select for diffs], Tue Nov 29 21:23:07 2005 UTC (18 years, 4 months ago) by yamt
Branch: yamt-readahead
Changes since 1.69: +33 -10 lines
Diff to previous 1.69 (colored) next main 1.70 (colored) to selected 1.73.8.4 (colored)

sync with head.

Revision 1.71 / (download) - annotate - [select for diffs], Thu Nov 24 13:01:42 2005 UTC (18 years, 4 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-readahead-base3
Changes since 1.70: +27 -10 lines
Diff to previous 1.70 (colored) to selected 1.73.8.4 (colored)

use .d mechanism for kernel as well.

Revision 1.70 / (download) - annotate - [select for diffs], Thu Nov 24 12:54:29 2005 UTC (18 years, 4 months ago) by dbj
Branch: MAIN
Changes since 1.69: +7 -1 lines
Diff to previous 1.69 (colored) to selected 1.73.8.4 (colored)

  . Have dbsym explicitly suggest increasing SYMTAB_SPACE when
     an overflow occurs.
   . Make this error a fatal build time error
   . Move the support for dbsym into the MI Makefile.kern.inc,
     conditional upon the SYMTAB_SPACE option being defined in
     the kernel config file.

Revision 1.34.2.6 / (download) - annotate - [select for diffs], Thu Nov 10 14:01:40 2005 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.34.2.5: +41 -13 lines
Diff to previous 1.34.2.5 (colored) to selected 1.73.8.4 (colored)

Sync with HEAD. Here we go again...

Revision 1.69 / (download) - annotate - [select for diffs], Wed Nov 2 14:29:52 2005 UTC (18 years, 4 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base2, yamt-readahead-base
Branch point for: yamt-readahead
Changes since 1.68: +7 -2 lines
Diff to previous 1.68 (colored) to selected 1.73.8.4 (colored)

don't pass -t option to xargs unless MAKEVERBOSE is 2.

Revision 1.68 / (download) - annotate - [select for diffs], Sat Jun 18 22:56:02 2005 UTC (18 years, 9 months ago) by martin
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, thorpej-vnode-attr-base, thorpej-vnode-attr
Branch point for: yamt-lazymbuf
Changes since 1.67: +6 -3 lines
Diff to previous 1.67 (colored) to selected 1.73.8.4 (colored)

Do not use -Wreturn-type with gcc 2.95.x

Revision 1.67 / (download) - annotate - [select for diffs], Tue Jun 7 18:11:34 2005 UTC (18 years, 9 months ago) by sjg
Branch: MAIN
Changes since 1.66: +4 -3 lines
Diff to previous 1.66 (colored) to selected 1.73.8.4 (colored)

Sometimes .BEGIN target is not wanted - eg in sub-make's.

Revision 1.66 / (download) - annotate - [select for diffs], Thu Jun 2 05:11:55 2005 UTC (18 years, 10 months ago) by sjg
Branch: MAIN
Changes since 1.65: +17 -4 lines
Diff to previous 1.65 (colored) to selected 1.73.8.4 (colored)

Don't assume infinite command line length.

Revision 1.65 / (download) - annotate - [select for diffs], Wed Jun 1 00:11:32 2005 UTC (18 years, 10 months ago) by uwe
Branch: MAIN
Changes since 1.64: +2 -1 lines
Diff to previous 1.64 (colored) to selected 1.73.8.4 (colored)

Add CWARNFLAGS.<fn>

Revision 1.64 / (download) - annotate - [select for diffs], Tue May 31 14:59:31 2005 UTC (18 years, 10 months ago) by yamt
Branch: MAIN
Changes since 1.63: +4 -3 lines
Diff to previous 1.63 (colored) to selected 1.73.8.4 (colored)

- move COPTS.${.IMPSRC:T} and friends after other options so that
  they can override global options.
- put CPPFLAGS.${.IMPSRC:T} into CPPFLAGS, rather than CFLAGS.

Revision 1.63 / (download) - annotate - [select for diffs], Tue May 31 04:03:46 2005 UTC (18 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.62: +8 -6 lines
Diff to previous 1.62 (colored) to selected 1.73.8.4 (colored)

Add overrides for tools we use (genassym and hexdump). Now kernel compiles
work again (hi jason!)

Revision 1.62 / (download) - annotate - [select for diffs], Tue May 31 02:25:39 2005 UTC (18 years, 10 months ago) by christos
Branch: MAIN
Changes since 1.61: +3 -1 lines
Diff to previous 1.61 (colored) to selected 1.73.8.4 (colored)

Most of the kernel source now works with "-Wcast-qual -Wshadow
-Wreturn-type -Wwrite-strings -Wswitch" so I am turning them on. There
is going to be a little lossage on some platforms but you can always
compile with "make DEFWARNINGS=no". Tested on sparc64 and i386.

Revision 1.61 / (download) - annotate - [select for diffs], Mon May 30 15:54:30 2005 UTC (18 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.60: +4 -4 lines
Diff to previous 1.60 (colored) to selected 1.73.8.4 (colored)

Use TOOL_GENASSYM.  Part of PR toolchain/30350

Revision 1.60 / (download) - annotate - [select for diffs], Mon May 23 22:01:11 2005 UTC (18 years, 10 months ago) by dbj
Branch: MAIN
Changes since 1.59: +2 -2 lines
Diff to previous 1.59 (colored) to selected 1.73.8.4 (colored)

tweak reference of DEBUG variable to ignore options that don't start with -g

Revision 1.58.2.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:43 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.58: +3 -3 lines
Diff to previous 1.58 (colored) next main 1.59 (colored) to selected 1.73.8.4 (colored)

sync with -current

Revision 1.58.4.1 / (download) - annotate - [select for diffs], Sat Mar 19 08:33:49 2005 UTC (19 years ago) by yamt
Branch: yamt-km
Changes since 1.58: +3 -3 lines
Diff to previous 1.58 (colored) next main 1.59 (colored) to selected 1.73.8.4 (colored)

sync with head.  xen and whitespace.  xen part is not finished.

Revision 1.34.2.5 / (download) - annotate - [select for diffs], Fri Mar 4 16:40:43 2005 UTC (19 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.34.2.4: +3 -3 lines
Diff to previous 1.34.2.4 (colored) to selected 1.73.8.4 (colored)

Sync with HEAD.

Hi Perry!

Revision 1.59 / (download) - annotate - [select for diffs], Sat Feb 26 23:04:16 2005 UTC (19 years, 1 month ago) by perry
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, kent-audio2-base
Changes since 1.58: +3 -3 lines
Diff to previous 1.58 (colored) to selected 1.73.8.4 (colored)

nuke trailing whitespace

Revision 1.34.2.4 / (download) - annotate - [select for diffs], Sat Dec 18 09:31:56 2004 UTC (19 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.34.2.3: +11 -7 lines
Diff to previous 1.34.2.3 (colored) to selected 1.73.8.4 (colored)

Sync with HEAD.

Revision 1.58 / (download) - annotate - [select for diffs], Thu Dec 16 00:35:48 2004 UTC (19 years, 3 months ago) by heas
Branch: MAIN
CVS Tags: yamt-km-base2, yamt-km-base, kent-audio1-beforemerge
Branch point for: yamt-km, kent-audio2
Changes since 1.57: +11 -7 lines
Diff to previous 1.57 (colored) to selected 1.73.8.4 (colored)

Adjust the cscope target so that each source file on a separate line to avoid
overrunning cscope's read buffer and prefix files within lib/{kern,compat}
with the appropriate path.

Revision 1.34.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:26:14 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.34.2.2: +1 -1 lines
Diff to previous 1.34.2.2 (colored) to selected 1.73.8.4 (colored)

Fix the sync with head I botched.

Revision 1.34.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:44:18 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.34.2.1: +2 -1 lines
Diff to previous 1.34.2.1 (colored) to selected 1.73.8.4 (colored)

Sync with HEAD.

Revision 1.51.2.3 / (download) - annotate - [select for diffs], Mon Sep 13 17:32:31 2004 UTC (19 years, 6 months ago) by tron
Branch: netbsd-2-0
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2
Changes since 1.51.2.2: +2 -1 lines
Diff to previous 1.51.2.2 (colored) to branchpoint 1.51 (colored) next main 1.52 (colored) to selected 1.73.8.4 (colored)

Pull up revision 1.57 (requested by chs in ticket #843):
work around a binutils bug where converting ELF kernels to a.out with objcopy
produces corrupted binaries when the link_set_* sections extend into another
page after the end of the .text section by using a generated an ldscript that
puts all the link_set_* data into the .text section in the first place.

Revision 1.57 / (download) - annotate - [select for diffs], Mon Sep 13 09:39:40 2004 UTC (19 years, 6 months ago) by chs
Branch: MAIN
CVS Tags: kent-audio1-base, kent-audio1
Changes since 1.56: +2 -1 lines
Diff to previous 1.56 (colored) to selected 1.73.8.4 (colored)

work around a binutils bug where converting ELF kernels to a.out with objcopy
produces corrupted binaries when the link_set_* sections extend into another
page after the end of the .text section by using a generated an ldscript that
puts all the link_set_* data into the .text section in the first place.

Revision 1.34.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:44:43 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.34: +74 -35 lines
Diff to previous 1.34 (colored) to selected 1.73.8.4 (colored)

Sync with HEAD

Revision 1.56 / (download) - annotate - [select for diffs], Sat Jul 31 00:55:51 2004 UTC (19 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.55: +6 -6 lines
Diff to previous 1.55 (colored) to selected 1.73.8.4 (colored)

Rename LIBCOMPAT* -> SYSLIBCOMPAT*, now that <bsd.own.mk> provides LIBCOMPAT.
Fixes kernel link problem noted by Sebastien Erard.

Revision 1.51.2.2 / (download) - annotate - [select for diffs], Thu Jul 15 19:26:25 2004 UTC (19 years, 8 months ago) by he
Branch: netbsd-2-0
Changes since 1.51.2.1: +2 -1 lines
Diff to previous 1.51.2.1 (colored) to branchpoint 1.51 (colored) to selected 1.73.8.4 (colored)

Pull up revision 1.55 (requested by atatat in ticket #661):
  Make uudecode into a tool which can be used to build a
  kernel and redo the athhal-elf.o handling to take advantage
  of it.  This means that bsd.files.mk is no longer included
  by Makefile.i386 so CFLAGS will not be duplicated.

Revision 1.55 / (download) - annotate - [select for diffs], Thu Jul 15 03:35:20 2004 UTC (19 years, 8 months ago) by atatat
Branch: MAIN
Changes since 1.54: +2 -1 lines
Diff to previous 1.54 (colored) to selected 1.73.8.4 (colored)

Make uudecode into a tool that can be used to build a kernel and redo
the athhal-elf.o handling to take advantage of it.  This means that
bsd.files.mk is no longer included by Makefile.i386 so CFLAGS won't be
duplicated.

Revision 1.54 / (download) - annotate - [select for diffs], Tue Jul 13 09:07:54 2004 UTC (19 years, 8 months ago) by uebayasi
Branch: MAIN
Changes since 1.53: +2 -2 lines
Diff to previous 1.53 (colored) to selected 1.73.8.4 (colored)

Narrow a sed(1) RE handling a file/directory name so that build under a
directory named like 'xxx.cxxx/' succeeds.

Revision 1.51.2.1 / (download) - annotate - [select for diffs], Thu Apr 29 04:21:26 2004 UTC (19 years, 11 months ago) by jmc
Branch: netbsd-2-0
Changes since 1.51: +9 -6 lines
Diff to previous 1.51 (colored) to selected 1.73.8.4 (colored)

Pullup rev 1.52-1.53 (requested by pk in ticket #212)

Add `-fno-zero-initialized-in-bss' for kernel builds using gcc 3.x
so zero-initialised variables remain patchable.

Revision 1.53 / (download) - annotate - [select for diffs], Sun Apr 25 04:24:06 2004 UTC (19 years, 11 months ago) by matt
Branch: MAIN
Changes since 1.52: +9 -7 lines
Diff to previous 1.52 (colored) to selected 1.73.8.4 (colored)

-fno-zero-initialized-in-bss only to gcc3, not gcc2.95

Revision 1.52 / (download) - annotate - [select for diffs], Sat Apr 24 22:07:15 2004 UTC (19 years, 11 months ago) by pk
Branch: MAIN
Changes since 1.51: +3 -2 lines
Diff to previous 1.51 (colored) to selected 1.73.8.4 (colored)

Force zero-initialised variables into the .data segment.

Revision 1.51 / (download) - annotate - [select for diffs], Thu Dec 4 02:33:41 2003 UTC (20 years, 3 months ago) by lukem
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.50: +4 -4 lines
Diff to previous 1.50 (colored) to selected 1.73.8.4 (colored)

fix the MAKEVERBOSE messages to be consistent with the standard ones

Revision 1.50 / (download) - annotate - [select for diffs], Mon Dec 1 01:12:58 2003 UTC (20 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.49: +5 -5 lines
Diff to previous 1.49 (colored) to selected 1.73.8.4 (colored)

prefix ${.TARGET} with "${.CURDIR:T}/" in various _MKSHMSG macros;
per similar change to <bsd.own.mk>

Revision 1.49 / (download) - annotate - [select for diffs], Tue Nov 25 09:15:50 2003 UTC (20 years, 4 months ago) by pk
Branch: MAIN
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored) to selected 1.73.8.4 (colored)

Change default verbosity level to `traditional'.

Revision 1.48 / (download) - annotate - [select for diffs], Tue Nov 25 08:52:40 2003 UTC (20 years, 4 months ago) by pk
Branch: MAIN
Changes since 1.47: +4 -4 lines
Diff to previous 1.47 (colored) to selected 1.73.8.4 (colored)

NORMAL_C,NOPROF_C,NORMAL_S: put `@' in front of these to get saner output.
Also we can't use _MKTARGET_COMPILE here. For now, just hard-code the message.

Revision 1.47 / (download) - annotate - [select for diffs], Tue Nov 25 07:47:29 2003 UTC (20 years, 4 months ago) by pk
Branch: MAIN
Changes since 1.46: +3 -3 lines
Diff to previous 1.46 (colored) to selected 1.73.8.4 (colored)

SYSTEM_LD: don't display every object file on the planet thrice.

Revision 1.46 / (download) - annotate - [select for diffs], Thu Nov 20 07:08:02 2003 UTC (20 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.45: +8 -1 lines
Diff to previous 1.45 (colored) to selected 1.73.8.4 (colored)

Provide appropriate no-op defaults for _MK* macros, in case <bsd.own.mk>
is too old.

Revision 1.45 / (download) - annotate - [select for diffs], Mon Nov 17 09:39:29 2003 UTC (20 years, 4 months ago) by lukem
Branch: MAIN
Changes since 1.44: +37 -16 lines
Diff to previous 1.44 (colored) to selected 1.73.8.4 (colored)

Add support for MAKEVERBOSE (a first pass, at least).
Use COPTS.<sourcefile> instead of <sourcefile>_G.
Use HOST_SH (which defaults to `sh' if not set).

Revision 1.44 / (download) - annotate - [select for diffs], Fri Nov 14 08:33:36 2003 UTC (20 years, 4 months ago) by dsl
Branch: MAIN
Changes since 1.43: +2 -5 lines
Diff to previous 1.43 (colored) to selected 1.73.8.4 (colored)

Remove the .if !target(dependall) so that 'make dependall' works (again)
for the kernel.

Revision 1.43 / (download) - annotate - [select for diffs], Tue Nov 11 21:26:53 2003 UTC (20 years, 4 months ago) by enami
Branch: MAIN
Changes since 1.42: +5 -4 lines
Diff to previous 1.42 (colored) to selected 1.73.8.4 (colored)

Prevent mkdep from parsing compiler flags like -pipe.

Revision 1.42 / (download) - annotate - [select for diffs], Thu Nov 6 08:23:22 2003 UTC (20 years, 4 months ago) by jdolecek
Branch: MAIN
Changes since 1.41: +8 -1 lines
Diff to previous 1.41 (colored) to selected 1.73.8.4 (colored)

force -Wno-uninitialized if the compiler is gcc 2.95

Revision 1.41 / (download) - annotate - [select for diffs], Wed Oct 29 21:29:27 2003 UTC (20 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.40: +1 -6 lines
Diff to previous 1.40 (colored) to selected 1.73.8.4 (colored)

Back out -Wno-uninitialized for m68k -- the compiler bug is fixed.

Revision 1.40 / (download) - annotate - [select for diffs], Tue Oct 28 17:58:57 2003 UTC (20 years, 5 months ago) by skrll
Branch: MAIN
Changes since 1.39: +3 -1 lines
Diff to previous 1.39 (colored) to selected 1.73.8.4 (colored)

Add COPTS.<fn>, CPUFLAGS.<fn>, CPPFLAGS.<fn> to CFLAGS to mirror the
file specific flags support of bsd.{lib,prog}.mk.

From Christos.

Revision 1.39 / (download) - annotate - [select for diffs], Tue Oct 28 12:11:31 2003 UTC (20 years, 5 months ago) by he
Branch: MAIN
Changes since 1.38: +6 -1 lines
Diff to previous 1.38 (colored) to selected 1.73.8.4 (colored)

sys/dev/ata/wd.c causes spurious warning about blkno not
being initialized before used.  This appears to be a bug
specific to (at least) the m68k target, and will be reported
to the GCC maintainers.

Revision 1.38 / (download) - annotate - [select for diffs], Sun Oct 26 19:24:06 2003 UTC (20 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.37: +1 -4 lines
Diff to previous 1.37 (colored) to selected 1.73.8.4 (colored)

Delete -Wno-uninitialized. Tested on sparc64 and i386. Rationale:
Gcc-3.3 produces valid warnings in most cases and uncovers bugs. In the
cases where a variable is known to be initialized, we initialize it and
add: /* XXX: gcc */. If a $MACHINE_ARCH's compiler is busted, it can add
-Wno-uninitialized in the MD Makefile.

Revision 1.37 / (download) - annotate - [select for diffs], Wed Oct 1 23:11:29 2003 UTC (20 years, 6 months ago) by matt
Branch: MAIN
Changes since 1.36: +5 -2 lines
Diff to previous 1.36 (colored) to selected 1.73.8.4 (colored)

Make the kernel makefiles pay attention to NOGCCERROR

Revision 1.36 / (download) - annotate - [select for diffs], Mon Aug 18 00:15:41 2003 UTC (20 years, 7 months ago) by mrg
Branch: MAIN
Changes since 1.35: +2 -2 lines
Diff to previous 1.35 (colored) to selected 1.73.8.4 (colored)

allow DEBUG to be set to "-gstabs" or "-gstabs+", to enable building
netbsd.gdb.  (you need "-gstabs" for gcc3.3 and old gdb.)

Revision 1.35 / (download) - annotate - [select for diffs], Thu Jul 10 10:34:42 2003 UTC (20 years, 8 months ago) by lukem
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored) to selected 1.73.8.4 (colored)

Rename a large chunk of the make(1) variables which refer to a
program/tool from "FOO" to "TOOL_FOO".  The new variables are:
	TOOL_ASN1_COMPILE  TOOL_CAP_MKDB  TOOL_CAT  TOOL_CKSUM  TOOL_COMPILE_ET
	TOOL_CONFIG  TOOL_CRUNCHGEN  TOOL_CTAGS  TOOL_DB  TOOL_EQN  TOOL_FGEN
	TOOL_GENCAT  TOOL_GROFF  TOOL_HEXDUMP  TOOL_INDXBIB  TOOL_INSTALLBOOT
	TOOL_INSTALL_INFO  TOOL_M4  TOOL_MAKEFS  TOOL_MAKEINFO  TOOL_MAKEWHATIS
	TOOL_MDSETIMAGE  TOOL_MENUC  TOOL_MKCSMAPPER  TOOL_MKESDB
	TOOL_MKLOCALE  TOOL_MKMAGIC  TOOL_MKTEMP  TOOL_MSGC  TOOL_MTREE
	TOOL_PAX  TOOL_PIC  TOOL_PREPMKBOOTIMAGE  TOOL_PWD_MKDB  TOOL_REFER
	TOOL_ROFF_ASCII  TOOL_ROFF_DVI  TOOL_ROFF_HTML  TOOL_ROFF_PS
	TOOL_ROFF_RAW  TOOL_RPCGEN  TOOL_SOELIM  TOOL_SUNLABEL  TOOL_TBL
	TOOL_UUDECODE  TOOL_VGRIND  TOOL_ZIC

For each, provide default in <bsd.sys.mk> of the form:
	TOOL_FOO?=	foo
and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override:
	TOOL_FOO=	${TOOLDIR}/bin/${_TOOL_PREFIX}foo

Document all of these in bsd.README.

This cleans up a chunk of potential (and actual) namespace collision
within our build infrastructure, as well as improves consistency in
the share/mk documentation and provision of appropriate defaults for
each of these variables.

Revision 1.34 / (download) - annotate - [select for diffs], Fri May 30 18:43:23 2003 UTC (20 years, 10 months ago) by thorpej
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.33: +3 -3 lines
Diff to previous 1.33 (colored) to selected 1.73.8.4 (colored)

Add a CPUFLAGS variable which can be set by the user's mk.conf or in
the environment:

CPUFLAGS        Additional flags to the compiler/assembler to select
                CPU instruction set options, CPU tuning options, etc.

Since CPUFLAGS is not implicitly set by any part of the make infrastructure,
it is safe to set in mk.conf, unlike COPTS or DBG.

Revision 1.33 / (download) - annotate - [select for diffs], Fri Mar 7 01:26:12 2003 UTC (21 years ago) by thorpej
Branch: MAIN
Changes since 1.32: +13 -1 lines
Diff to previous 1.32 (colored) to selected 1.73.8.4 (colored)

Allow a memory disk image to be statically included in the kernel
to be specified in the kernel configuration file, like so:

makeoptions	MEMORY_DISK_IMAGE="/path/to/image.fs"

Revision 1.32 / (download) - annotate - [select for diffs], Wed Feb 5 18:07:46 2003 UTC (21 years, 1 month ago) by matt
Branch: MAIN
Changes since 1.31: +3 -3 lines
Diff to previous 1.31 (colored) to selected 1.73.8.4 (colored)

Add ${EXTRA_OBJ} so that pre-compiled .o's can be linked into the kernel.

Revision 1.13.4.9 / (download) - annotate - [select for diffs], Sun Jan 26 09:44:01 2003 UTC (21 years, 2 months ago) by jmc
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-PATCH002-RELEASE, netbsd-1-6-PATCH002-RC4, netbsd-1-6-PATCH002-RC3, netbsd-1-6-PATCH002-RC2, netbsd-1-6-PATCH002-RC1, netbsd-1-6-PATCH002, netbsd-1-6-PATCH001-RELEASE, netbsd-1-6-PATCH001-RC3, netbsd-1-6-PATCH001-RC2, netbsd-1-6-PATCH001-RC1, netbsd-1-6-PATCH001
Changes since 1.13.4.8: +2 -2 lines
Diff to previous 1.13.4.8 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored) to selected 1.73.8.4 (colored)

Pullup revisions 1.24-1.25 (requested by ttaka in ticket #1082)
 Back out revision 1.23, it breaks all kernel configs that do
 makeoptions     COPTS="foo"

Revision 1.3.2.11 / (download) - annotate - [select for diffs], Wed Dec 11 06:37:44 2002 UTC (21 years, 3 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.3.2.10: +12 -4 lines
Diff to previous 1.3.2.10 (colored) next main 1.4 (colored) to selected 1.73.8.4 (colored)

Sync with HEAD.

Revision 1.31 / (download) - annotate - [select for diffs], Tue Dec 10 19:33:11 2002 UTC (21 years, 3 months ago) by atatat
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.30: +3 -4 lines
Diff to previous 1.30 (colored) to selected 1.73.8.4 (colored)

Remove an antiquated comment and make .depend depend on config_time.h
so that the depend target can properly complete now that perry has the
time to use the time.

Revision 1.13.4.8 / (download) - annotate - [select for diffs], Sun Dec 1 22:26:32 2002 UTC (21 years, 4 months ago) by he
Branch: netbsd-1-6
Changes since 1.13.4.7: +2 -2 lines
Diff to previous 1.13.4.7 (colored) to branchpoint 1.13 (colored) to selected 1.73.8.4 (colored)

Pull up revision 1.23 (requested by sjg in ticket #877):
  Replace COPTS?= with COPTS+=, so that setting COPTS in
  /etc/mk.conf (common on sparc systems) does not cause the
  -O2 in DEFCOPTS to be lost, resulting an an unloadable
  kernel on sparc.

Revision 1.13.4.7 / (download) - annotate - [select for diffs], Sat Nov 30 13:05:35 2002 UTC (21 years, 4 months ago) by he
Branch: netbsd-1-6
Changes since 1.13.4.6: +17 -2 lines
Diff to previous 1.13.4.6 (colored) to branchpoint 1.13 (colored) to selected 1.73.8.4 (colored)

Pull up revision 1.21 (requested by thorpej in ticket #756):
  Build a .gdbinit in the kernel build directory.  The new
  .gdbinit will source all of the system-provided gdb scripts
  in sys/gdbscripts, as well as any files specified by the
  user in the GDBINIT make variable.

Revision 1.30 / (download) - annotate - [select for diffs], Mon Nov 25 01:37:11 2002 UTC (21 years, 4 months ago) by thorpej
Branch: MAIN
Changes since 1.29: +4 -1 lines
Diff to previous 1.29 (colored) to selected 1.73.8.4 (colored)

Add -Wno-sign-compare; that flag was made implicit with -Wall in
GCC 3.3, and our sources aren't really up to the task, yet.

Revision 1.29 / (download) - annotate - [select for diffs], Tue Nov 19 04:29:19 2002 UTC (21 years, 4 months ago) by atatat
Branch: MAIN
Changes since 1.28: +7 -1 lines
Diff to previous 1.28 (colored) to selected 1.73.8.4 (colored)

Alter config so that it emits a config_time.src file (the source file
for config_time.h) that contains, for example:

/* Sun Nov 17 05:37:51 2002 GMT */
#define CONFIG_TIME     1037511471
#define CONFIG_YEAR     2002
#define CONFIG_MONTH    11
#define CONFIG_DATE     17
#define CONFIG_HOUR      5
#define CONFIG_MINS     37
#define CONFIG_SECS     51

These values represent the current time as of when config was last
run, so that functions (eg, inittodr()) can use these values instead
of being updated once every year or so with the "current" time.

The associated modification to Makefile.kern.inc makes config_time.h
depend on this depend on this and the kernel Makefile, so that
granularity of kernel builds is not reduced.

Revision 1.3.2.10 / (download) - annotate - [select for diffs], Mon Nov 11 22:08:23 2002 UTC (21 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.3.2.9: +21 -8 lines
Diff to previous 1.3.2.9 (colored) to selected 1.73.8.4 (colored)

Catch up to -current

Revision 1.28 / (download) - annotate - [select for diffs], Sun Nov 3 21:12:27 2002 UTC (21 years, 4 months ago) by chris
Branch: MAIN
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored) to selected 1.73.8.4 (colored)

Remove an extra }

Revision 1.27 / (download) - annotate - [select for diffs], Sat Nov 2 07:57:05 2002 UTC (21 years, 5 months ago) by perry
Branch: MAIN
Changes since 1.26: +20 -9 lines
Diff to previous 1.26 (colored) to selected 1.73.8.4 (colored)

lint infrastructure overhaul to finally lint the kernel libs right.

XXX the dependencies for the kernel .ln files are just plain wrong. We
need some sort of extended make depend hack to do it right. We will
suffer with it for now.

Revision 1.26 / (download) - annotate - [select for diffs], Thu Oct 24 20:52:38 2002 UTC (21 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.25: +5 -3 lines
Diff to previous 1.25 (colored) to selected 1.73.8.4 (colored)

use -X to ignore static function unused warnings, and echo the command.

Revision 1.3.2.9 / (download) - annotate - [select for diffs], Fri Oct 18 02:41:20 2002 UTC (21 years, 5 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.3.2.8: +2 -9 lines
Diff to previous 1.3.2.8 (colored) to selected 1.73.8.4 (colored)

Catch up to -current.

Revision 1.10.2.6 / (download) - annotate - [select for diffs], Thu Oct 10 18:38:13 2002 UTC (21 years, 5 months ago) by jdolecek
Branch: kqueue
Changes since 1.10.2.5: +3 -3 lines
Diff to previous 1.10.2.5 (colored) next main 1.11 (colored) to selected 1.73.8.4 (colored)

sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work

Revision 1.25 / (download) - annotate - [select for diffs], Sun Oct 6 00:07:17 2002 UTC (21 years, 5 months ago) by fvdl
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-aftermerge
Changes since 1.24: +2 -2 lines
Diff to previous 1.24 (colored) to selected 1.73.8.4 (colored)

Back out revision 1.23, it breaks all kernel configs that do

	makeoptions	COPTS="foo"

There are quite a few of those in the tree, as well.

Revision 1.24 / (download) - annotate - [select for diffs], Sat Oct 5 17:17:48 2002 UTC (21 years, 5 months ago) by chs
Branch: MAIN
Changes since 1.23: +2 -9 lines
Diff to previous 1.23 (colored) to selected 1.73.8.4 (colored)

all ports are now fully prototyped and pointer-arith clean.
turn on these warnings all the time.

Revision 1.23 / (download) - annotate - [select for diffs], Sun Sep 29 07:22:58 2002 UTC (21 years, 6 months ago) by sjg
Branch: MAIN
CVS Tags: kqueue-base
Changes since 1.22: +2 -2 lines
Diff to previous 1.22 (colored) to selected 1.73.8.4 (colored)

Replace COPTS?= with COPTS+= so that a setting of COPTS in mk.conf
(common on sparc systems) does not cause the -O2 in DEFCOPTS to
be lost - which results in an unloadable kernel on sparc.

Reviewed by: christos

Revision 1.3.2.8 / (download) - annotate - [select for diffs], Tue Sep 17 21:19:09 2002 UTC (21 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.3.2.7: +18 -3 lines
Diff to previous 1.3.2.7 (colored) to selected 1.73.8.4 (colored)

Catch up to -current.

Revision 1.22 / (download) - annotate - [select for diffs], Fri Sep 6 13:18:43 2002 UTC (21 years, 6 months ago) by gehenna
Branch: MAIN
Changes since 1.21: +2 -2 lines
Diff to previous 1.21 (colored) to selected 1.73.8.4 (colored)

Merge the gehenna-devsw branch into the trunk.

This merge changes the device switch tables from static array to
dynamically generated by config(8).

- All device switches is defined as a constant structure in device drivers.

- The new grammer ``device-major'' is introduced to ``files''.

	device-major <prefix> char <num> [block <num>] [<rules>]

- All device major numbers must be listed up in port dependent majors.<arch>
  by using this grammer.

- Added the new naming convention.
  The name of the device switch must be <prefix>_[bc]devsw for auto-generation
  of device switch tables.

- The backward compatibility of loading block/character device
  switch by LKM framework is broken. This is necessary to convert
  from block/character device major to device name in runtime and vice versa.

- The restriction to assign device major by LKM is completely removed.
  We don't need to reserve LKM entries for dynamic loading of device switch.

- In compile time, device major numbers list is packed into the kernel and
  the LKM framework will refer it to assign device major number dynamically.

Revision 1.10.2.5 / (download) - annotate - [select for diffs], Fri Sep 6 08:43:38 2002 UTC (21 years, 6 months ago) by jdolecek
Branch: kqueue
Changes since 1.10.2.4: +54 -4 lines
Diff to previous 1.10.2.4 (colored) to selected 1.73.8.4 (colored)

sync kqueue branch with HEAD

Revision 1.21 / (download) - annotate - [select for diffs], Sun Sep 1 23:04:47 2002 UTC (21 years, 7 months ago) by thorpej
Branch: MAIN
Changes since 1.20: +17 -2 lines
Diff to previous 1.20 (colored) to selected 1.73.8.4 (colored)

Build a .gdbinit in the kernel build directory.  The new .gdbinit
will source all of the system-provided gdb scrips in sys/gdbscripts,
as well as any files specified by the user in the GDBINIT make var.

Revision 1.13.2.4 / (download) - annotate - [select for diffs], Thu Aug 29 05:22:17 2002 UTC (21 years, 7 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.13.2.3: +2 -2 lines
Diff to previous 1.13.2.3 (colored) to branchpoint 1.13 (colored) next main 1.14 (colored) to selected 1.73.8.4 (colored)

catch up with -current.

Revision 1.13.4.6 / (download) - annotate - [select for diffs], Sat Aug 17 16:02:38 2002 UTC (21 years, 7 months ago) by lukem
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-RELEASE, netbsd-1-6-RC3, netbsd-1-6-RC2
Changes since 1.13.4.5: +2 -2 lines
Diff to previous 1.13.4.5 (colored) to branchpoint 1.13 (colored) to selected 1.73.8.4 (colored)

Pull up revision 1.20 (requested by lukem):
vers.o should also depend upon $S/conf/newvers.sh and $S/conf/osrelease.sh

Revision 1.3.2.7 / (download) - annotate - [select for diffs], Tue Aug 13 02:19:16 2002 UTC (21 years, 7 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.3.2.6: +2 -2 lines
Diff to previous 1.3.2.6 (colored) to selected 1.73.8.4 (colored)

Catch up to -current.

Revision 1.20 / (download) - annotate - [select for diffs], Sun Aug 11 10:47:24 2002 UTC (21 years, 7 months ago) by lukem
Branch: MAIN
CVS Tags: gehenna-devsw-base
Changes since 1.19: +2 -2 lines
Diff to previous 1.19 (colored) to selected 1.73.8.4 (colored)

vers.o should also depend upon $S/conf/newvers.sh and $S/conf/osrelease.sh

Revision 1.3.2.6 / (download) - annotate - [select for diffs], Thu Aug 1 02:44:29 2002 UTC (21 years, 8 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.3.2.5: +12 -6 lines
Diff to previous 1.3.2.5 (colored) to selected 1.73.8.4 (colored)

Catch up to -current.

Revision 1.13.4.5 / (download) - annotate - [select for diffs], Mon Jul 15 16:08:15 2002 UTC (21 years, 8 months ago) by thorpej
Branch: netbsd-1-6
CVS Tags: netbsd-1-6-RC1
Changes since 1.13.4.4: +10 -20 lines
Diff to previous 1.13.4.4 (colored) to branchpoint 1.13 (colored) to selected 1.73.8.4 (colored)

pullup-1-6 ticket #496 (wrstuden).

Original log message:
Fix cscope and mkid targets so that they work even when the kernel
compile directory is not under /usr/src/sys (i.e. when 'S' is not
'../../../..'). Pointed out by Robert Elz in PR 17384.

Revision 1.13.2.3 / (download) - annotate - [select for diffs], Mon Jul 15 10:35:06 2002 UTC (21 years, 8 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.13.2.2: +37 -2 lines
Diff to previous 1.13.2.2 (colored) to branchpoint 1.13 (colored) to selected 1.73.8.4 (colored)

catch up with -current.

Revision 1.19 / (download) - annotate - [select for diffs], Fri Jul 12 17:48:23 2002 UTC (21 years, 8 months ago) by wrstuden
Branch: MAIN
Changes since 1.18: +2 -13 lines
Diff to previous 1.18 (colored) to selected 1.73.8.4 (colored)

cscope.out target needs depend too, zap old comments

Revision 1.18 / (download) - annotate - [select for diffs], Tue Jul 2 19:52:16 2002 UTC (21 years, 9 months ago) by wrstuden
Branch: MAIN
Changes since 1.17: +10 -20 lines
Diff to previous 1.17 (colored) to selected 1.73.8.4 (colored)

Fix cscope and mkid targets so that they work even when the kernel
compile directory is not under /usr/src/sys (i.e. when 'S' is not
'../../../..'). Pointed out by Robert Elz in PR 17384.

Thanks again to Andrew Brown for figuring out how to rip .depend apart.

Revision 1.10.2.4 / (download) - annotate - [select for diffs], Sun Jun 23 17:44:53 2002 UTC (21 years, 9 months ago) by jdolecek
Branch: kqueue
Changes since 1.10.2.3: +5 -3 lines
Diff to previous 1.10.2.3 (colored) to selected 1.73.8.4 (colored)

catch up with -current on kqueue branch

Revision 1.3.2.5 / (download) - annotate - [select for diffs], Thu Jun 20 03:43:17 2002 UTC (21 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.3.2.4: +34 -4 lines
Diff to previous 1.3.2.4 (colored) to selected 1.73.8.4 (colored)

Catch up to -current.

Revision 1.13.4.4 / (download) - annotate - [select for diffs], Wed Jun 19 00:03:16 2002 UTC (21 years, 9 months ago) by lukem
Branch: netbsd-1-6
Changes since 1.13.4.3: +32 -5 lines
Diff to previous 1.13.4.3 (colored) to branchpoint 1.13 (colored) to selected 1.73.8.4 (colored)

Pull up revision 1.17 (requested by wrstuden in ticket #318):
Updated version of cscope/mkid support. Check libkern and compat lib
for source files. Also include header files in mkid run.

Revision 1.17 / (download) - annotate - [select for diffs], Tue Jun 18 23:46:52 2002 UTC (21 years, 9 months ago) by wrstuden
Branch: MAIN
Changes since 1.16: +32 -5 lines
Diff to previous 1.16 (colored) to selected 1.73.8.4 (colored)

Updated version of cscope/mkid support. Check libkern and compat lib
for source files. Also include header files in mkid run.

Revision 1.13.4.3 / (download) - annotate - [select for diffs], Tue Jun 18 14:54:45 2002 UTC (21 years, 9 months ago) by lukem
Branch: netbsd-1-6
Changes since 1.13.4.2: +30 -1 lines
Diff to previous 1.13.4.2 (colored) to branchpoint 1.13 (colored) to selected 1.73.8.4 (colored)

Pull up revision 1.16 (requested by wrstuden in ticket #301):
Add cscope and mkid (and cscope.out and ID) targets to kernel compile
Makefiles. The main feature added by these targets is that they cover
ONLY the source files used for a given kernel and no other. Thus when
examining MD routines provided by all machines, you will see only
those applicable for your kernel.

Revision 1.16 / (download) - annotate - [select for diffs], Mon Jun 17 20:31:26 2002 UTC (21 years, 9 months ago) by wrstuden
Branch: MAIN
Changes since 1.15: +31 -2 lines
Diff to previous 1.15 (colored) to selected 1.73.8.4 (colored)

Add cscope and mkid (and cscope.out and ID) targets to kernel compile
Makefiles. The main feature added by these targets is that they cover
ONLY the source files used for a given kernel and no other. Thus when
examining MD routines provided by all machines, you will see only
those applicable for your kernel.

Revision 1.13.2.2 / (download) - annotate - [select for diffs], Thu May 30 14:45:16 2002 UTC (21 years, 10 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.13.2.1: +3 -2 lines
Diff to previous 1.13.2.1 (colored) to branchpoint 1.13 (colored) to selected 1.73.8.4 (colored)

Catch up with -current.

Revision 1.13.4.2 / (download) - annotate - [select for diffs], Wed May 29 16:32:57 2002 UTC (21 years, 10 months ago) by tv
Branch: netbsd-1-6
Changes since 1.13.4.1: +1 -0 lines
Diff to previous 1.13.4.1 (colored) to branchpoint 1.13 (colored) to selected 1.73.8.4 (colored)

Pull up revision 1.15 (requested by tv in ticket #65):
Make sure DBSYM is defined if not overridden by USETOOLS=yes.

Revision 1.15 / (download) - annotate - [select for diffs], Wed May 29 16:12:54 2002 UTC (21 years, 10 months ago) by tv
Branch: MAIN
Changes since 1.14: +2 -1 lines
Diff to previous 1.14 (colored) to selected 1.73.8.4 (colored)

Make sure DBSYM is defined if not overridden by USETOOLS=yes.

Revision 1.13.4.1 / (download) - annotate - [select for diffs], Tue May 28 01:52:33 2002 UTC (21 years, 10 months ago) by lukem
Branch: netbsd-1-6
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored) to selected 1.73.8.4 (colored)

Pull up revision 1.14 (requested by fvdl):
Add -Wno-format-zero-length, for forward compatibility with gcc 3.2.
Our in-tree gcc 2.95.3 accepts the flag as well.

Revision 1.14 / (download) - annotate - [select for diffs], Sun May 26 00:15:25 2002 UTC (21 years, 10 months ago) by fvdl
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored) to selected 1.73.8.4 (colored)

Add -Wno-format-zero-length, for forward compatibility with gcc 3.2.
Our in-tree gcc 2.95.3 accepts the flag as well.

Revision 1.13.2.1 / (download) - annotate - [select for diffs], Thu May 16 13:14:26 2002 UTC (21 years, 10 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored) to selected 1.73.8.4 (colored)

Make this compile devsw.c (the initial devsw tables and conversion table)

Revision 1.13 / (download) - annotate - [select for diffs], Tue May 7 02:00:17 2002 UTC (21 years, 10 months ago) by uwe
Branch: MAIN
CVS Tags: netbsd-1-6-base
Branch point for: netbsd-1-6, gehenna-devsw
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored) to selected 1.73.8.4 (colored)

lint target depends on ${LINTSTUBS}, not on (nonexistent) ${KERNLINTSTUBS}.

Revision 1.3.2.4 / (download) - annotate - [select for diffs], Mon Apr 1 07:44:55 2002 UTC (22 years ago) by nathanw
Branch: nathanw_sa
Changes since 1.3.2.3: +2 -1 lines
Diff to previous 1.3.2.3 (colored) to selected 1.73.8.4 (colored)

Catch up to -current.
(CVS: It's not just a program. It's an adventure!)

Revision 1.12 / (download) - annotate - [select for diffs], Mon Mar 18 15:20:08 2002 UTC (22 years ago) by tv
Branch: MAIN
CVS Tags: eeh-devprop-base, eeh-devprop
Changes since 1.11: +2 -1 lines
Diff to previous 1.11 (colored) to selected 1.73.8.4 (colored)

Make sure USETOOLS value is propagated (for USETOOLS?=no case in each
kernel Makefile).  Perhaps we should .include this file earlier....

Revision 1.10.2.3 / (download) - annotate - [select for diffs], Sat Mar 16 16:00:41 2002 UTC (22 years ago) by jdolecek
Branch: kqueue
Changes since 1.10.2.2: +2 -1 lines
Diff to previous 1.10.2.2 (colored) to selected 1.73.8.4 (colored)

Catch up with -current.

Revision 1.3.2.3 / (download) - annotate - [select for diffs], Thu Feb 28 04:13:02 2002 UTC (22 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.3.2.2: +2 -1 lines
Diff to previous 1.3.2.2 (colored) to selected 1.73.8.4 (colored)

Catch up to -current.

Revision 1.11 / (download) - annotate - [select for diffs], Mon Feb 11 03:43:53 2002 UTC (22 years, 1 month ago) by mrg
Branch: MAIN
CVS Tags: newlock-base, newlock, ifpoll-base
Changes since 1.10: +2 -1 lines
Diff to previous 1.10 (colored) to selected 1.73.8.4 (colored)

make .s and .S files depend on assym.h

Revision 1.10.2.2 / (download) - annotate - [select for diffs], Thu Jan 10 19:52:30 2002 UTC (22 years, 2 months ago) by thorpej
Branch: kqueue
Changes since 1.10.2.1: +283 -0 lines
Diff to previous 1.10.2.1 (colored) to selected 1.73.8.4 (colored)

Sync kqueue branch with -current.

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Tue Jan 8 00:29:12 2002 UTC (22 years, 2 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.3.2.1: +283 -0 lines
Diff to previous 1.3.2.1 (colored) to selected 1.73.8.4 (colored)

Catch up to -current.

Revision 1.10.2.1, Sun Dec 23 22:45:07 2001 UTC (22 years, 3 months ago) by thorpej
Branch: kqueue
Changes since 1.10: +0 -283 lines
FILE REMOVED

file Makefile.kern.inc was added on branch kqueue on 2002-01-10 19:52:30 +0000

Revision 1.10 / (download) - annotate - [select for diffs], Sun Dec 23 22:45:07 2001 UTC (22 years, 3 months ago) by thorpej
Branch: MAIN
Branch point for: kqueue
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored) to selected 1.73.8.4 (colored)

Add -ffreestanding to kernel builds.  It's not always safe to
use GCC's built-ins.

Revision 1.9 / (download) - annotate - [select for diffs], Mon Dec 10 05:24:17 2001 UTC (22 years, 3 months ago) by chs
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored) to selected 1.73.8.4 (colored)

don't strip any symbols from profiling kernels,
that makes it harder to figure out what's going on.

Revision 1.8 / (download) - annotate - [select for diffs], Sun Dec 9 16:04:03 2001 UTC (22 years, 3 months ago) by atatat
Branch: MAIN
Changes since 1.7: +5 -4 lines
Diff to previous 1.7 (colored) to selected 1.73.8.4 (colored)

Make the kernel depend on `vers.o' instead of `newvers'.  This
eliminates the need to unconditionally rebuild vers.o and subsequently
to relink the kernel every time you type make, even if you just
finished one.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Dec 8 15:01:41 2001 UTC (22 years, 3 months ago) by atatat
Branch: MAIN
Changes since 1.6: +26 -9 lines
Diff to previous 1.6 (colored) to selected 1.73.8.4 (colored)

Add the rest of the infrastructure needed to support the rest of the
ports.  This includes cleaning out DBG, cleaning up the `clean'
target, and tweaking the warnings flags (cesfic, amigappc, and the arm
ports are a little less warning resistant).

Oh, and let's `install' the kernel into ${DESTDIR} if someone says
`make install'.  We have to think about cross-compilers here.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Nov 28 03:58:25 2001 UTC (22 years, 4 months ago) by atatat
Branch: MAIN
Changes since 1.5: +2 -2 lines
Diff to previous 1.5 (colored) to selected 1.73.8.4 (colored)

Misplaced colon.

Revision 1.5 / (download) - annotate - [select for diffs], Tue Nov 27 23:28:42 2001 UTC (22 years, 4 months ago) by atatat
Branch: MAIN
Changes since 1.4: +12 -9 lines
Diff to previous 1.4 (colored) to selected 1.73.8.4 (colored)

Alter the way that LINKTEXT and LINKDATA (and LINKENTRY) are set so
that empty values for TEXTADDR and DATAADDR (and ENTRYPOINT) will not
screw things up.  Add support for SYSTEM_LD_TAIL_EXTRA which some
ports (not yet converted) are using.  Add support for GENASSYM_EXTRAS
which has just been added to (some of) the arm ports.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Nov 23 05:18:59 2001 UTC (22 years, 4 months ago) by atatat
Branch: MAIN
Changes since 1.3: +11 -13 lines
Diff to previous 1.3 (colored) to selected 1.73.8.4 (colored)

Instead of checking for previous usage, just append to some make
variables.  Tweak some variables to provide for more uniform defaults.
Minor adaption to makefiles for already converted ports.

Revision 1.3.2.1, Fri Nov 16 16:15:08 2001 UTC (22 years, 4 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.3: +0 -264 lines
FILE REMOVED

file Makefile.kern.inc was added on branch nathanw_sa on 2002-01-08 00:29:12 +0000

Revision 1.3 / (download) - annotate - [select for diffs], Fri Nov 16 16:15:08 2001 UTC (22 years, 4 months ago) by atatat
Branch: MAIN
Branch point for: nathanw_sa
Changes since 1.2: +10 -2 lines
Diff to previous 1.2 (colored) to selected 1.73.8.4 (colored)

The four tools mkdep, strip, objcopy, and objdump are not part of the
defined toolchain if we're not using the new toolchain.  We need them,
so we add our own definitions here.

Revision 1.2 / (download) - annotate - [select for diffs], Fri Nov 16 13:14:10 2001 UTC (22 years, 4 months ago) by atatat
Branch: MAIN
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored) to selected 1.73.8.4 (colored)

Add a MKDEP?=mkdep line so that depend targets will work again.

Revision 1.1 / (download) - annotate - [select for diffs], Fri Nov 16 00:23:02 2001 UTC (22 years, 4 months ago) by atatat
Branch: MAIN
Diff to selected 1.73.8.4 (colored)

Abstract out a large chunk of the kernel build machinery so that new
build features (such as ross's DEBUGLIST) can easily be applied to all
ports.  This should reduce the complexity of each port's kernel
Makefile considerably.  Line counts:

     227 arch/i386/conf/Makefile.i386.orig
      98 arch/i386/conf/Makefile.i386
     227 arch/alpha/conf/Makefile.alpha.orig
      99 arch/alpha/conf/Makefile.alpha
     219 arch/sparc/conf/Makefile.sparc.orig
     102 arch/sparc/conf/Makefile.sparc
     215 arch/vax/conf/Makefile.vax.orig
     102 arch/vax/conf/Makefile.vax
     253 conf/Makefile.kern.inc

Roll i386, alpha, sparc, and vax over to the new build machinery.

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>