The NetBSD Project

CVS log for src/sys/arch/amd64/conf/files.amd64

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.123 / (download) - annotate - [select for diffs], Fri Feb 23 22:10:39 2024 UTC (7 weeks, 1 day ago) by andvar
Branch: MAIN
CVS Tags: HEAD
Changes since 1.122: +2 -2 lines
Diff to previous 1.122 (colored)

s/optionms/options/ in copy-pasted comment.

Revision 1.122 / (download) - annotate - [select for diffs], Tue Dec 5 16:32:38 2023 UTC (4 months, 1 week ago) by thorpej
Branch: MAIN
Changes since 1.121: +4 -1 lines
Diff to previous 1.121 (colored)

Add btvmei + btvmeii and vme to ALL.

Revision 1.120.20.1 / (download) - annotate - [select for diffs], Sat May 13 13:26:57 2023 UTC (11 months 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.120: +4 -1 lines
Diff to previous 1.120 (colored) next main 1.121 (colored)

Pull up following revision(s) (requested by manu in ticket #159):

	share/man/man8/man8.x86/boot.8: revision 1.27
	sys/arch/i386/stand/efiboot/version: revision 1.3
	share/man/man8/man8.x86/boot.8: revision 1.28
	share/man/man8/man8.x86/boot.8: revision 1.29
	sys/arch/i386/stand/lib/exec.c: revision 1.79
	sys/arch/i386/stand/efiboot/efiboot.c: revision 1.13
	sys/arch/i386/stand/efiboot/bootx64/efibootx64.c: revision 1.6
	sys/arch/i386/stand/efiboot/bootia32/efibootia32.c: revision 1.6
	sys/arch/i386/stand/efiboot/boot.c: revision 1.22
	sys/arch/amd64/amd64/locore.S: revision 1.219
	sys/arch/i386/stand/efiboot/bootia32/startprog32.S: revision 1.3
	sys/arch/i386/stand/efiboot/efiboot.h: revision 1.12
	sys/arch/amd64/conf/files.amd64: revision 1.121
	sys/arch/amd64/conf/std.amd64: revision 1.13
	share/man/man8/man8.x86/pxeboot.8: revision 1.6
	sys/arch/i386/stand/efiboot/bootx64/startprog64.S: revision 1.4
	sys/arch/amd64/amd64/locore.S: revision 1.220
	share/man/man8/man8.x86/dosboot.8: revision 1.4
	share/man/man4/options.4: revision 1.524

Add reloc keyworkd to let EFI bootstrap load amd64 kernel at any address

EFI bootstrap assumes it can copy the amd64 kernel to its ELF load
address (that is KERNTEXTOFF - KERNBASE = 0x200000), but it can
clash with previous UEFI memory allocation, as described here:
http://mail-index.netbsd.org/tech-kern/2023/04/07/msg028833.html

This change adds a reloc keyword for controling where the EFI
boostrap will copy the kernel image. Possible values are:
default - the default and prior behavior, copy at 0x200000.
none - do not copy and use the kernel image where it was loaded.
address - specify an explicit address where to copy the kernel.

This comes with an amd64 kernel patch that makes it self-relocatable.
It first discover where it was loaded in memory, and if this is
different than the expected 0x200000, hhe the kernel relocates
itself and start over at the right address.


Merge x86 boot options in x86/boot(8) and add undocumented UEFI options

We were supposed to keep the option list in x86/boot(8), x86/dosoot(8)
and x86/pxeboot(8) in sync, but it did not happen, hence it may work
better with all the options in x86/boot(8). Also add the undocumented
UEFI boot options.


Add a SELFRELOC kernel option for the sake of documentation clarity.
Instead of telling that x86/boot(8) reloc command needs a kernel able
to self relocate, we can tell it needs a kernel built with the
SELFRELOC option. This keeps the reader from wondering what could
make a kernel able to self relocate.

Remove XXX todo marker left by mistake

Raise the version for new feature (here reloc command)
Suggested by Masanobu SAITOH

Revision 1.112.4.1 / (download) - annotate - [select for diffs], Sat May 13 11:45:53 2023 UTC (11 months ago) by martin
Branch: netbsd-9
Changes since 1.112: +4 -1 lines
Diff to previous 1.112 (colored) next main 1.113 (colored)

Pull up following revision(s) (requested by manu in ticket #1632):

	share/man/man8/man8.x86/boot.8: revision 1.27
	sys/arch/i386/stand/efiboot/version: revision 1.3
	share/man/man8/man8.x86/boot.8: revision 1.28 (via patch)
	share/man/man8/man8.x86/boot.8: revision 1.29 (via patch)
	sys/arch/i386/stand/lib/exec.c: revision 1.79
	sys/arch/i386/stand/efiboot/efiboot.c: revision 1.13
	sys/arch/i386/stand/efiboot/bootx64/efibootx64.c: revision 1.6
	sys/arch/i386/stand/efiboot/bootia32/efibootia32.c: revision 1.6
	sys/arch/i386/stand/efiboot/boot.c: revision 1.22
	sys/arch/amd64/amd64/locore.S: revision 1.219
	sys/arch/i386/stand/efiboot/bootia32/startprog32.S: revision 1.3
	sys/arch/i386/stand/efiboot/efiboot.h: revision 1.12
	sys/arch/amd64/conf/files.amd64: revision 1.121
	sys/arch/amd64/conf/std.amd64: revision 1.13
	share/man/man8/man8.x86/pxeboot.8: revision 1.6
	sys/arch/i386/stand/efiboot/bootx64/startprog64.S: revision 1.4
	sys/arch/amd64/amd64/locore.S: revision 1.220
	share/man/man8/man8.x86/dosboot.8: revision 1.4
	share/man/man4/options.4: revision 1.524

Add reloc keyworkd to let EFI bootstrap load amd64 kernel at any address

EFI bootstrap assumes it can copy the amd64 kernel to its ELF load
address (that is KERNTEXTOFF - KERNBASE = 0x200000), but it can
clash with previous UEFI memory allocation, as described here:
http://mail-index.netbsd.org/tech-kern/2023/04/07/msg028833.html

This change adds a reloc keyword for controling where the EFI
boostrap will copy the kernel image. Possible values are:
default - the default and prior behavior, copy at 0x200000.
none - do not copy and use the kernel image where it was loaded.
address - specify an explicit address where to copy the kernel.

This comes with an amd64 kernel patch that makes it self-relocatable.
It first discover where it was loaded in memory, and if this is
different than the expected 0x200000, hhe the kernel relocates
itself and start over at the right address.

Merge x86 boot options in x86/boot(8) and add undocumented UEFI options

We were supposed to keep the option list in x86/boot(8), x86/dosoot(8)
and x86/pxeboot(8) in sync, but it did not happen, hence it may work
better with all the options in x86/boot(8). Also add the undocumented
UEFI boot options.

Add a SELFRELOC kernel option for the sake of documentation clarity.
Instead of telling that x86/boot(8) reloc command needs a kernel able
to self relocate, we can tell it needs a kernel built with the
SELFRELOC option. This keeps the reader from wondering what could
make a kernel able to self relocate.

Remove XXX todo marker left by mistake

Raise the version for new feature (here reloc command)
Suggested by Masanobu SAITOH

Revision 1.121 / (download) - annotate - [select for diffs], Fri May 5 00:34:41 2023 UTC (11 months, 1 week ago) by manu
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation
Changes since 1.120: +4 -1 lines
Diff to previous 1.120 (colored)

Add a SELFRELOC kernel option for the sake of documentation clarity.

Instead of telling that x86/boot(8) reloc command needs a kernel able
to self relocate, we can tell it needs a kernel built with the
SELFRELOC option. This keeps the reader from wondering what could
make a kernel able to self relocate.

Revision 1.120 / (download) - annotate - [select for diffs], Wed Oct 21 13:31:51 2020 UTC (3 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, netbsd-10-base, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x, bouyer-sunxi-drm-base, bouyer-sunxi-drm
Branch point for: netbsd-10
Changes since 1.119: +2 -2 lines
Diff to previous 1.119 (colored)

make process_machdep.c included always since it provides register i/o used by
sys_process_getlwpstatus.c which is always included.

Revision 1.119 / (download) - annotate - [select for diffs], Tue Oct 20 20:36:07 2020 UTC (3 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.118: +2 -2 lines
Diff to previous 1.118 (colored)

harmonize process_machdep.c inclusion.

Revision 1.118 / (download) - annotate - [select for diffs], Mon Oct 19 19:33:01 2020 UTC (3 years, 5 months ago) by christos
Branch: MAIN
Changes since 1.117: +2 -2 lines
Diff to previous 1.117 (colored)

Arrange so that no options COREDUMP and no options PTRACE work together.
Thanks to Paul Goyette for testing.

Revision 1.117 / (download) - annotate - [select for diffs], Thu Oct 15 17:40:13 2020 UTC (3 years, 5 months ago) by mgorny
Branch: MAIN
Changes since 1.116: +2 -1 lines
Diff to previous 1.116 (colored)

Revert "Merge convert_xmm_s87.c into fpu.c"

I am going to add ATF tests for these two functions, and having them
in a separate file will make it more convenient to build and run them
in userspace.

Revision 1.116 / (download) - annotate - [select for diffs], Sat Apr 25 15:26:16 2020 UTC (3 years, 11 months ago) by bouyer
Branch: MAIN
Changes since 1.115: +8 -10 lines
Diff to previous 1.115 (colored)

Merge the bouyer-xenpvh branch, bringing in Xen PV drivers support under HVM
guests in GENERIC.
Xen support can be disabled at runtime with
boot -c
disable hypervisor

Revision 1.115.4.1 / (download) - annotate - [select for diffs], Thu Apr 16 08:46:34 2020 UTC (3 years, 11 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.115: +8 -10 lines
Diff to previous 1.115 (colored) next main 1.116 (colored)

Reorganise sources to make it possible to include Xen PVHVM support in
native kernels. Among others:
- move xen/include/amd64/hypercall.h to amd64/include/xen and
  xen/include/i386/hypercall.h to i386/include/xen
- exclude some native files from the build for xenpv
- add xen to "machine" config statement for amd64 and i386
- split arch/xen/conf/files.xen to arch/xen/conf/files.xen (for pv drivers)
  and arch/xen/conf/files.xen.pv (for full pv support)
- add GENERIC_XENHVM kernel config which includes GENERIC and add Xen PV
  drivers.

Revision 1.104.2.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:03:30 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.104.2.1: +1 -2 lines
Diff to previous 1.104.2.1 (colored) to branchpoint 1.104 (colored) next main 1.105 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.114.2.1 / (download) - annotate - [select for diffs], Fri Jan 17 21:47:23 2020 UTC (4 years, 2 months ago) by ad
Branch: ad-namecache
Changes since 1.114: +1 -5 lines
Diff to previous 1.114 (colored) next main 1.115 (colored)

Sync with head.

Revision 1.115 / (download) - annotate - [select for diffs], Thu Jan 9 00:42:24 2020 UTC (4 years, 3 months ago) by manu
Branch: MAIN
CVS Tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1
Branch point for: bouyer-xenpvh
Changes since 1.114: +0 -4 lines
Diff to previous 1.114 (colored)

Rollback multiboot2 for amd64, as requested by core

Revision 1.114 / (download) - annotate - [select for diffs], Tue Dec 10 02:06:07 2019 UTC (4 years, 4 months ago) by manu
Branch: MAIN
CVS Tags: ad-namecache-base
Branch point for: ad-namecache
Changes since 1.113: +5 -1 lines
Diff to previous 1.113 (colored)

Add multiboot 2 support to amd64 kernel

Revision 1.113 / (download) - annotate - [select for diffs], Sat Sep 7 18:56:01 2019 UTC (4 years, 7 months ago) by maxv
Branch: MAIN
CVS Tags: phil-wifi-20191119
Changes since 1.112: +1 -2 lines
Diff to previous 1.112 (colored)

Merge amd64func.S into cpufunc.S, and clean up.

Revision 1.104.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:05:47 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.104: +12 -5 lines
Diff to previous 1.104 (colored)

Sync with HEAD

Revision 1.88.8.5 / (download) - annotate - [select for diffs], Sat Mar 9 17:10:20 2019 UTC (5 years, 1 month ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1
Changes since 1.88.8.4: +7 -1 lines
Diff to previous 1.88.8.4 (colored) to branchpoint 1.88 (colored) next main 1.89 (colored)

Pull up following revision(s) via patch (requested by nonaka in ticket #1210):

	sys/dev/hyperv/vmbusvar.h: revision 1.1
	sys/dev/hyperv/hvs.c: revision 1.1
	sys/dev/hyperv/if_hvn.c: revision 1.1
	sys/dev/hyperv/vmbusic.c: revision 1.1
	sys/arch/x86/x86/lapic.c: revision 1.69
	sys/arch/x86/isa/clock.c: revision 1.34
	sys/arch/x86/include/intrdefs.h: revision 1.22
	sys/arch/i386/conf/GENERIC: revision 1.1201
	sys/arch/x86/x86/hyperv.c: revision 1.1
	sys/arch/x86/include/cpu.h: revision 1.105
	sys/arch/x86/x86/x86_machdep.c: revision 1.124
	sys/arch/i386/conf/GENERIC: revision 1.1203
	sys/arch/amd64/amd64/genassym.cf: revision 1.74
	sys/arch/i386/conf/GENERIC: revision 1.1204
	sys/arch/amd64/conf/GENERIC: revision 1.520
	sys/arch/x86/x86/hypervreg.h: revision 1.1
	sys/arch/amd64/amd64/vector.S: revision 1.69
	sys/dev/hyperv/hvshutdown.c: revision 1.1
	sys/dev/hyperv/hvshutdown.c: revision 1.2
	sys/dev/usb/if_urndisreg.h: file removal
	sys/arch/x86/x86/cpu.c: revision 1.167
	sys/arch/x86/conf/files.x86: revision 1.107
	sys/dev/usb/if_urndis.c: revision 1.20
	sys/dev/hyperv/vmbusicreg.h: revision 1.1
	sys/dev/hyperv/hvheartbeat.c: revision 1.1
	sys/dev/hyperv/vmbusicreg.h: revision 1.2
	sys/dev/hyperv/hvheartbeat.c: revision 1.2
	sys/dev/hyperv/files.hyperv: revision 1.1
	sys/dev/ic/rndisreg.h: revision 1.1
	sys/arch/i386/i386/genassym.cf: revision 1.111
	sys/dev/ic/rndisreg.h: revision 1.2
	sys/dev/hyperv/hyperv_common.c: revision 1.1
	sys/dev/hyperv/hvtimesync.c: revision 1.1
	sys/dev/hyperv/hypervreg.h: revision 1.1
	sys/dev/hyperv/hvtimesync.c: revision 1.2
	sys/dev/hyperv/vmbusicvar.h: revision 1.1
	sys/dev/hyperv/if_hvnreg.h: revision 1.1
	sys/arch/x86/x86/lapic.c: revision 1.70
	sys/arch/amd64/amd64/vector.S: revision 1.70
	sys/dev/ic/ndisreg.h: revision 1.1
	sys/arch/amd64/conf/GENERIC: revision 1.516
	sys/dev/hyperv/hypervvar.h: revision 1.1
	sys/arch/amd64/conf/GENERIC: revision 1.518
	sys/arch/amd64/conf/GENERIC: revision 1.519
	sys/arch/i386/conf/files.i386: revision 1.400
	sys/dev/acpi/vmbus_acpi.c: revision 1.1
	sys/dev/hyperv/vmbus.c: revision 1.1
	sys/dev/hyperv/vmbus.c: revision 1.2
	sys/arch/x86/x86/intr.c: revision 1.144
	sys/arch/i386/i386/vector.S: revision 1.83
	sys/arch/amd64/conf/files.amd64: revision 1.112

separate RNDIS definitions from urndis(4) for use with Hyper-V NetVSC.

 -

Added Microsoft Hyper-V support.  It ported from OpenBSD and FreeBSD.
graphical console is not work on Gen.2 VM yet. To use the serial console,
enter "consdev com,0x3f8,115200" on efiboot.

 -

Add __diagused.

 -

PR/53984: Partial revert of modify lapic_calibrate_timer() in lapic.c r1.69.

 -

Update Hyper-V related drivers description.

 -

Remove unused definition.

 -

Rename the MODULE_*_HOOK() macros to MODULE_HOOK_*() as briefly
discussed on irc.
NFCI intended.

 -

commented out hvkvp entry.

 -

fix typo. pointed out by pgoyette@n.o.

 -

Use IDTVEC instead of NENTRY for handle_hyperv_hypercall.

 -

Rename the MODULE_*_HOOK() macros to MODULE_HOOK_*() as briefly
discussed on irc.

Revision 1.112 / (download) - annotate - [select for diffs], Fri Feb 15 08:54:01 2019 UTC (5 years, 1 month ago) by nonaka
Branch: MAIN
CVS Tags: 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, isaki-audio2-base, isaki-audio2
Branch point for: netbsd-9
Changes since 1.111: +7 -1 lines
Diff to previous 1.111 (colored)

Added Microsoft Hyper-V support.  It ported from OpenBSD and FreeBSD.

graphical console is not work on Gen.2 VM yet. To use the serial console,
enter "consdev com,0x3f8,115200" on efiboot.

Revision 1.111 / (download) - annotate - [select for diffs], Sun Jan 27 02:08:37 2019 UTC (5 years, 2 months ago) by pgoyette
Branch: MAIN
Changes since 1.110: +3 -1 lines
Diff to previous 1.110 (colored)

Merge the [pgoyette-compat] branch

Revision 1.101.2.7 / (download) - annotate - [select for diffs], Wed Dec 26 14:01:31 2018 UTC (5 years, 3 months ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.101.2.6: +4 -4 lines
Diff to previous 1.101.2.6 (colored) to branchpoint 1.101 (colored) next main 1.102 (colored)

Sync with HEAD, resolve a few conflicts

Revision 1.110 / (download) - annotate - [select for diffs], Sat Dec 22 07:45:58 2018 UTC (5 years, 3 months ago) by cherry
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226
Changes since 1.109: +2 -1 lines
Diff to previous 1.109 (colored)

This change modifies the mainbus(4) entry point for all x86 sub-archs
in the following way:

i) It provides a unified entry point in
   x86/x86/mainbus.c:mainbus_attach()
ii) It carves out the preliminary bus attachment sequence that is
   common to all sub-archs into
   x86/x86/mainbus.c: x86_cpubus_attach()
iii) It consolidates the remaining pathways as internal callee
   functions so that these may be called piecemeal if required. A
   special usecase of this is XEN PVHVM which may need to call the
   native configure path, the xen configure path, or both.
iv) It moves the driver private data structures from
   i386/i386_mainbus.c to an x86/ level one. This allows for other
   sub-arch's to do similar, if needed. (They do not at the moment).
v) For dom0 kernels, it enables 'acpi0 at mainbus?' and
   'acpi0 at hypervisorbus'. This serves two purposes:
   a) To demonstrate the possibility of dynamic configuration tree
      traversal ordering changes.
   b) To allow for the common acpi_check(self, "acpibus") call in
   x86/mainbus.c to not barf when it is called from the dom0 attach
   path. We allow for the acpi0 device to be a child of mainbus with
   the changes to amd64/conf/XEN3_DOM0 and i386/conf/XEN3PAE_DOM0
   without actually probing further in the code. This path will later
   be pursued in a PVHVM boot codepath.

There should be no operative changes with this change. If there are,
please complain loudly.

Revision 1.109 / (download) - annotate - [select for diffs], Sat Dec 22 06:33:36 2018 UTC (5 years, 3 months ago) by cherry
Branch: MAIN
Changes since 1.108: +2 -2 lines
Diff to previous 1.108 (colored)

Move mainbus(4) driver files in various x86 sub-archs to name prefixed
versions. This allows us to further modularise them by unifying common
bus probe code in x86/x86/mainbus.c to  be introduced next.

This commit has no functional changes. It is done for ease of
visibility of newer diffs in the queue.

Revision 1.108 / (download) - annotate - [select for diffs], Mon Dec 3 00:12:22 2018 UTC (5 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.107: +2 -3 lines
Diff to previous 1.107 (colored)

KASLR is in files.kern now.

Revision 1.101.2.6 / (download) - annotate - [select for diffs], Mon Nov 26 01:52:17 2018 UTC (5 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.101.2.5: +1 -2 lines
Diff to previous 1.101.2.5 (colored) to branchpoint 1.101 (colored)

Sync with HEAD, resolve a couple of conflicts

Revision 1.107 / (download) - annotate - [select for diffs], Wed Oct 31 06:26:25 2018 UTC (5 years, 5 months ago) by maxv
Branch: MAIN
CVS Tags: pgoyette-compat-1126
Changes since 1.106: +1 -2 lines
Diff to previous 1.106 (colored)

Move the MI parts of KASAN into kern/subr_asan.c. This file includes
machine/asan.h, which contains the MD functions. We use an include rather
than a plain C file, because we want GCC to optimize/inline some functions
into one single block.

The amd64 MD parts of KASAN are moved accordingly.

The naming convention we use is:

	kasan_*
		a generic kasan object, declared in subr_asan.c
	kasan_md_*
		an MD kasan object, declared in machine/asan.h, and used
		in subr_asan.c
	__md_*
		an MD object, declared in machine/asan.h, and not used
		outside

Overall this makes it easier to add KASAN support on more architectures.

Discussed with several people.

Revision 1.101.2.5 / (download) - annotate - [select for diffs], Fri Sep 14 08:38:37 2018 UTC (5 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.101.2.4: +3 -1 lines
Diff to previous 1.101.2.4 (colored) to branchpoint 1.101 (colored)

OMG it builds!

Finish rearranging the amd64 MD compat_netbsd32 code.

XXX Other architectures will be dealt with later.

Revision 1.101.2.4 / (download) - annotate - [select for diffs], Thu Sep 6 06:55:24 2018 UTC (5 years, 7 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.101.2.3: +2 -1 lines
Diff to previous 1.101.2.3 (colored) to branchpoint 1.101 (colored)

Sync with HEAD

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

Revision 1.106 / (download) - annotate - [select for diffs], Mon Aug 20 15:04:51 2018 UTC (5 years, 7 months ago) by maxv
Branch: MAIN
CVS Tags: pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906
Changes since 1.105: +2 -1 lines
Diff to previous 1.105 (colored)

Add support for kASan on amd64. Written by me, with some parts inspired
from Siddharth Muralee's initial work. This feature can detect several
kinds of memory bugs, and it's an excellent feature.

It can be enabled by uncommenting these three lines in GENERIC:

	#makeoptions 	KASAN=1		# Kernel Address Sanitizer
	#options 	KASAN
	#no options	SVS

The kernel is compiled without SVS, without DMAP and without PCPU area.
A shadow area is created at boot time, and it can cover the upper 128TB
of the address space. This area is populated gradually as we allocate
memory. With this design the memory consumption is kept at its lowest
level.

The compiler calls the __asan_* functions each time a memory access is
done. We verify whether this access is legal by looking at the shadow
area.

We declare our own special memcpy/memset/etc functions, because the
compiler's builtins don't add the __asan_* instrumentation.

Initially all the mappings are marked as valid. During dynamic
allocations, we add a redzone, which we mark as invalid. Any access on
it will trigger a kASan error message. Additionally, the compiler adds
a redzone on global variables, and we mark these redzones as invalid too.
The illegal-access detection works with a 1-byte granularity.

For now, we cover three areas:

	- global variables
	- kmem_alloc-ated areas
	- malloc-ated areas

More will come, but that's a good start.

Revision 1.101.2.3 / (download) - annotate - [select for diffs], Sat Jul 28 04:37:26 2018 UTC (5 years, 8 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.101.2.2: +1 -2 lines
Diff to previous 1.101.2.2 (colored) to branchpoint 1.101 (colored)

Sync with HEAD

Revision 1.105 / (download) - annotate - [select for diffs], Fri Jul 13 09:37:32 2018 UTC (5 years, 9 months ago) by maxv
Branch: MAIN
CVS Tags: pgoyette-compat-0728
Changes since 1.104: +1 -2 lines
Diff to previous 1.104 (colored)

Remove the X86PMC code I had written, replaced by tprof. Many defines
become unused in specialreg.h, so remove them. We don't want to add
defines all the time, there are countless PMCs on many generations, and
it's better to just inline the event/unit values.

Revision 1.101.2.2 / (download) - annotate - [select for diffs], Mon Jun 25 07:25:38 2018 UTC (5 years, 9 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.101.2.1: +2 -2 lines
Diff to previous 1.101.2.1 (colored) to branchpoint 1.101 (colored)

Sync with HEAD

Revision 1.88.8.4 / (download) - annotate - [select for diffs], Sat Jun 9 15:12:21 2018 UTC (5 years, 10 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-0-RELEASE, netbsd-8-0-RC2
Changes since 1.88.8.3: +2 -1 lines
Diff to previous 1.88.8.3 (colored) to branchpoint 1.88 (colored)

Pullup the following revisions, requested by maxv in ticket #865:

	sys/arch/amd64/amd64/machdep.c		1.303 (patch)
	sys/arch/amd64/conf/GENERIC		1.492 (patch)
	sys/arch/amd64/conf/files.amd64		1.103 (patch)
	sys/arch/i386/i386/machdep.c		1.806 (patch)
	sys/arch/i386/conf/GENERIC		1.1179 (patch)
	sys/arch/i386/conf/files.i386		1.393 (patch)
	sys/arch/x86/include/cpu.h		1.91 (patch)
	sys/arch/x86/include/specialreg.h	upto 1.126 (patch)
	sys/arch/x86/x86/x86_machdep.c		upto 1.115 (patch, adapted)
	sys/arch/x86/x86/spectre.c		upto 1.19 (patch, adapted,
						no IBRS,
						SpectreV2 mitigations not
						enabled	by default)

Backport the hardware SpectreV2 and SpectreV4 mitigations.

Revision 1.104 / (download) - annotate - [select for diffs], Wed May 23 07:45:35 2018 UTC (5 years, 10 months ago) by maxv
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-0625
Branch point for: phil-wifi
Changes since 1.103: +1 -2 lines
Diff to previous 1.103 (colored)

Merge convert_xmm_s87.c into fpu.c. It contains only two functions, that
are used only in fpu.c.

Revision 1.103 / (download) - annotate - [select for diffs], Tue May 22 11:09:57 2018 UTC (5 years, 10 months ago) by maxv
Branch: MAIN
Changes since 1.102: +2 -1 lines
Diff to previous 1.102 (colored)

Mmh, don't compile spectre.c on Xen.

Revision 1.101.2.1 / (download) - annotate - [select for diffs], Mon Apr 16 01:59:52 2018 UTC (6 years ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.101: +4 -1 lines
Diff to previous 1.101 (colored)

Sync with HEAD, resolve some conflicts

Revision 1.88.8.3 / (download) - annotate - [select for diffs], Wed Apr 11 14:23:30 2018 UTC (6 years ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-0-RC1
Changes since 1.88.8.2: +4 -1 lines
Diff to previous 1.88.8.2 (colored) to branchpoint 1.88 (colored)

Pull up following revision(s) (requested by mrg in ticket #731):
	sys/arch/i386/conf/files.i386: revision 1.392
	sys/arch/i386/conf/GENERIC: revision 1.1175
	sys/arch/i386/conf/GENERIC: revision 1.1176
	sys/arch/amd64/conf/files.amd64: revision 1.102
	sys/arch/i386/conf/GENERIC: revision 1.1177
	share/man/man4/options.4: revision 1.485 (patch)
	sys/arch/i386/conf/Makefile.i386: revision 1.190
	sys/arch/amd64/conf/GENERIC: revision 1.487
	sys/arch/amd64/conf/ALL: revision 1.85
	sys/arch/amd64/conf/GENERIC: revision 1.488
	sys/arch/amd64/conf/GENERIC: revision 1.489
	sys/arch/amd64/conf/Makefile.amd64: revision 1.67
	sys/arch/i386/conf/ALL: revision 1.437

add an SPECTRE_V2_GCC_MITIGATION option to x86 kernels, that turns
on the GCC spectre v2 mitigation options.
XXX: pullup-8.
XXX: turn on in all kernels.

actually do what the previous change said:
don't turn on the new 'SPECTRE_V2_GCC_MITIGATION' option yet.

turn on GCC spectre v2 mitigation options.
XXX: amd64 ALL doesn't build for me right now

Revision 1.102 / (download) - annotate - [select for diffs], Sat Apr 7 19:38:06 2018 UTC (6 years ago) by mrg
Branch: MAIN
CVS Tags: pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415
Changes since 1.101: +4 -1 lines
Diff to previous 1.101 (colored)

add an SPECTRE_V2_GCC_MITIGATION option to x86 kernels, that turns
on the GCC spectre v2 mitigation options.

XXX: pullup-8.
XXX: turn on in all kernels.

Revision 1.88.8.2 / (download) - annotate - [select for diffs], Wed Mar 7 14:50:57 2018 UTC (6 years, 1 month ago) by martin
Branch: netbsd-8
Changes since 1.88.8.1: +2 -1 lines
Diff to previous 1.88.8.1 (colored) to branchpoint 1.88 (colored)

Pull up the following revisions (via patch), requested by maxv in ticket #610:

sys/arch/amd64/amd64/amd64_trap.S	1.8,1.10,1.12 (partial),1.13-1.15,
					1.19 (partial),1.20,1.21,1.22,1.24
					(via patch)
sys/arch/amd64/amd64/locore.S		1.129 (partial),1.132 (via patch)
sys/arch/amd64/amd64/trap.c		1.97 (partial),1.111 (via patch)
sys/arch/amd64/amd64/vector.S		1.54,1.55 (via patch)
sys/arch/amd64/include/frameasm.h	1.21,1.23 (via patch)
sys/arch/x86/x86/cpu.c			1.138 (via patch)
sys/arch/xen/conf/Makefile.xen		1.45 (via patch)

Rename and reorder several things in amd64_trap.S.
Compile amd64_trap.S as a file.
Introduce nmitrap and doubletrap.
Have the CPU clear PSL_D automatically in the syscall entry point.

Revision 1.101 / (download) - annotate - [select for diffs], Sat Jan 20 14:27:14 2018 UTC (6 years, 2 months ago) by maxv
Branch: MAIN
CVS Tags: pgoyette-compat-base, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.100: +2 -1 lines
Diff to previous 1.100 (colored)

Compile amd64_trap.S as a file instead of including it.

Revision 1.100 / (download) - annotate - [select for diffs], Mon Jan 8 09:33:53 2018 UTC (6 years, 3 months ago) by maxv
Branch: MAIN
Changes since 1.99: +1 -2 lines
Diff to previous 1.99 (colored)

Since SVS is now defined in files.x86, remove it from files.amd64
and files.i386.

Revision 1.99 / (download) - annotate - [select for diffs], Mon Jan 8 06:29:19 2018 UTC (6 years, 3 months ago) by martin
Branch: MAIN
Changes since 1.98: +2 -2 lines
Diff to previous 1.98 (colored)

Now that SVS is defined in file.x86, do not repeat it here

Revision 1.98 / (download) - annotate - [select for diffs], Sun Jan 7 16:10:16 2018 UTC (6 years, 3 months ago) by maxv
Branch: MAIN
Changes since 1.97: +2 -1 lines
Diff to previous 1.97 (colored)

Add a new option, SVS (for Separate Virtual Space), that unmaps kernel
pages when running in userland. For now, only the PTE area is unmapped.

Sent on tech-kern@.

Revision 1.97 / (download) - annotate - [select for diffs], Mon Jan 1 08:14:13 2018 UTC (6 years, 3 months ago) by maxv
Branch: MAIN
Changes since 1.96: +2 -2 lines
Diff to previous 1.96 (colored)

Compile the prekern entry point only under KASLR.

Revision 1.96 / (download) - annotate - [select for diffs], Thu Dec 7 23:11:50 2017 UTC (6 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.95: +1 -0 lines
Diff to previous 1.95 (colored)

Save maxv@ some work and put back the compat_13_sigreturn changes that allow
amd64 to run ancient i386 binaries.

Revision 1.76.2.3 / (download) - annotate - [select for diffs], Sun Dec 3 11:35:47 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.76.2.2: +24 -23 lines
Diff to previous 1.76.2.2 (colored) next main 1.77 (colored)

update from HEAD

Revision 1.95 / (download) - annotate - [select for diffs], Sat Dec 2 13:03:15 2017 UTC (6 years, 4 months ago) by maxv
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202
Changes since 1.94: +1 -2 lines
Diff to previous 1.94 (colored)

Drop COMPAT_13 on amd64, already not enabled. Reduces the number of
critical places.

Revision 1.94 / (download) - annotate - [select for diffs], Sun Oct 8 09:06:50 2017 UTC (6 years, 6 months ago) by maxv
Branch: MAIN
Changes since 1.93: +2 -1 lines
Diff to previous 1.93 (colored)

KASLR: add workarounds to compute the bootinfo VAs (use the direct map),
and don't use large pages yet. Both will be fixed later.

Revision 1.93 / (download) - annotate - [select for diffs], Sun Oct 8 08:26:01 2017 UTC (6 years, 6 months ago) by maxv
Branch: MAIN
Changes since 1.92: +2 -1 lines
Diff to previous 1.92 (colored)

Add the prekern entry point in the kernel.

Revision 1.84.2.4 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:28 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.84.2.3: +2 -12 lines
Diff to previous 1.84.2.3 (colored) to branchpoint 1.84 (colored) next main 1.85 (colored)

Sync with HEAD

Revision 1.92 / (download) - annotate - [select for diffs], Tue Aug 15 08:51:38 2017 UTC (6 years, 8 months ago) by maxv
Branch: MAIN
CVS Tags: nick-nhusb-base-20170825
Changes since 1.91: +0 -1 lines
Diff to previous 1.91 (colored)

Merge into x86/.

Revision 1.91 / (download) - annotate - [select for diffs], Tue Aug 15 06:27:40 2017 UTC (6 years, 8 months ago) by maxv
Branch: MAIN
Changes since 1.90: +1 -5 lines
Diff to previous 1.90 (colored)

Merge into x86/.

Revision 1.88.8.1 / (download) - annotate - [select for diffs], Tue Aug 1 23:18:30 2017 UTC (6 years, 8 months ago) by snj
Branch: netbsd-8
CVS Tags: matt-nb8-mediatek-base, matt-nb8-mediatek
Changes since 1.88: +2 -1 lines
Diff to previous 1.88 (colored)

Pull up following revision(s) (requested by maxv in ticket #164):
	distrib/sets/lists/base/md.amd64: revision 1.269
	distrib/sets/lists/debug/md.amd64: revision 1.97
	sys/arch/amd64/conf/GENERIC: revision 1.460
	sys/arch/amd64/conf/files.amd64: revision 1.89
	sys/arch/i386/conf/GENERIC: revision 1.1157
	sys/arch/i386/conf/files.i386: revision 1.379
	sys/arch/i386/i386/i386_trap.S: revision 1.7-1.8
	sys/arch/i386/include/frameasm.h: revision 1.16
	sys/arch/x86/include/sysarch.h: revision 1.12
	sys/arch/x86/x86/pmc.c: revision 1.8-1.10
	sys/arch/x86/x86/sys_machdep.c: revision 1.36
	sys/arch/xen/conf/files.compat: revision 1.26
	sys/secmodel/suser/secmodel_suser.c: revision 1.43
	sys/sys/kauth.h: revision 1.74
	usr.bin/pmc/Makefile: revision 1.5
	usr.bin/pmc/pmc.1: revision 1.12-1.13
	usr.bin/pmc/pmc.c: revision 1.24-1.25
style
--
style
--
Disable interrupts for T_NMI (inline calltrap). Note that there's still a
way to evade the NMI mode here, if a segment register faults in
INTRFASTEXIT; but we don't care. I didn't test this change, but it seems
fine enough.
--
Make the PMC syscalls privileged.
--
Check argc, and add a message.
--
include opt_pmc.h
--
Build the pmc tool on amd64.
--
Properly handle overflows, and take them into account in userland.
--
Update.
--
Enable PMCs by default.
--
Sort sections. Fix macro usage.

Revision 1.90 / (download) - annotate - [select for diffs], Tue Aug 1 13:47:49 2017 UTC (6 years, 8 months ago) by maxv
Branch: MAIN
Changes since 1.89: +1 -7 lines
Diff to previous 1.89 (colored)

Don't include files.svr4 and files.svr4_32.

Revision 1.89 / (download) - annotate - [select for diffs], Wed Jul 12 16:59:41 2017 UTC (6 years, 9 months ago) by maxv
Branch: MAIN
CVS Tags: perseant-stdc-iso10646-base, perseant-stdc-iso10646
Changes since 1.88: +2 -1 lines
Diff to previous 1.88 (colored)

include opt_pmc.h

Revision 1.84.2.3 / (download) - annotate - [select for diffs], Sun Feb 5 13:40:02 2017 UTC (7 years, 2 months ago) by skrll
Branch: nick-nhusb
Changes since 1.84.2.2: +2 -1 lines
Diff to previous 1.84.2.2 (colored) to branchpoint 1.84 (colored)

Sync with HEAD

Revision 1.87.2.1 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:09 2017 UTC (7 years, 3 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.87: +2 -1 lines
Diff to previous 1.87 (colored) next main 1.88 (colored)

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

Revision 1.88 / (download) - annotate - [select for diffs], Thu Dec 15 12:04:17 2016 UTC (7 years, 3 months ago) by kamil
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, 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.87: +2 -1 lines
Diff to previous 1.87 (colored)

Add support for hardware assisted watchpoints/breakpoints API in ptrace(2)

Add new ptrace(2) calls:
 - PT_COUNT_WATCHPOINTS - count the number of available hardware watchpoints
 - PT_READ_WATCHPOINT   - read struct ptrace_watchpoint from the kernel state
 - PT_WRITE_WATCHPOINT  - write new struct ptrace_watchpoint state, this
                          includes enabling and disabling watchpoints

The ptrace_watchpoint structure contains MI and MD parts:

typedef struct ptrace_watchpoint {
	int		pw_index;	/* HW Watchpoint ID (count from 0) */
	lwpid_t		pw_lwpid;	/* LWP described */
	struct mdpw	pw_md;		/* MD fields */
} ptrace_watchpoint_t;

For example amd64 defines MD as follows:
struct mdpw {
	void	*md_address;
	int	 md_condition;
	int	 md_length;
};

These calls are protected with the __HAVE_PTRACE_WATCHPOINTS guard.

Tested on amd64, initial support added for i386 and XEN.

Sponsored by <The NetBSD Foundation>

Revision 1.84.2.2 / (download) - annotate - [select for diffs], Tue Sep 22 12:05:36 2015 UTC (8 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.84.2.1: +7 -1 lines
Diff to previous 1.84.2.1 (colored) to branchpoint 1.84 (colored)

Sync with HEAD

Revision 1.87 / (download) - annotate - [select for diffs], Sun Sep 6 07:17:14 2015 UTC (8 years, 7 months ago) by uebayasi
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, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, localcount-20160914
Branch point for: pgoyette-localcount
Changes since 1.86: +7 -1 lines
Diff to previous 1.86 (colored)

Define MD start code at the top of files.${MACHINE} relying on config(1)'s
deterministic file output order.  No need to define ${MD_OBJS} and its useless,
explicit compile rules.

Revision 1.84.2.1 / (download) - annotate - [select for diffs], Mon Apr 6 15:17:51 2015 UTC (9 years ago) by skrll
Branch: nick-nhusb
Changes since 1.84: +4 -1 lines
Diff to previous 1.84 (colored)

Sync with HEAD

Revision 1.86 / (download) - annotate - [select for diffs], Mon Dec 15 02:01:41 2014 UTC (9 years, 4 months ago) by christos
Branch: MAIN
CVS Tags: nick-nhusb-base-20150606, nick-nhusb-base-20150406
Changes since 1.85: +3 -3 lines
Diff to previous 1.85 (colored)

fix compat paths.

Revision 1.85 / (download) - annotate - [select for diffs], Sun Dec 14 22:32:46 2014 UTC (9 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.84: +4 -1 lines
Diff to previous 1.84 (colored)

add the two new compat files.

Revision 1.84 / (download) - annotate - [select for diffs], Fri Oct 10 09:13:21 2014 UTC (9 years, 6 months ago) by uebayasi
Branch: MAIN
CVS Tags: nick-nhusb-base
Branch point for: nick-nhusb
Changes since 1.83: +13 -13 lines
Diff to previous 1.83 (colored)

Define "machdep" attribute and mark files (in amd64 and x86).

Revision 1.76.2.2 / (download) - annotate - [select for diffs], Wed Aug 20 00:02:42 2014 UTC (9 years, 7 months ago) by tls
Branch: tls-maxphys
Changes since 1.76.2.1: +3 -9 lines
Diff to previous 1.76.2.1 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.73.2.4 / (download) - annotate - [select for diffs], Thu May 22 11:39:28 2014 UTC (9 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.73.2.3: +3 -9 lines
Diff to previous 1.73.2.3 (colored) to branchpoint 1.73 (colored) next main 1.74 (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.79.2.2 / (download) - annotate - [select for diffs], Sun May 18 17:44:54 2014 UTC (9 years, 10 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.79.2.1: +3 -2 lines
Diff to previous 1.79.2.1 (colored) to branchpoint 1.79 (colored) next main 1.80 (colored)

sync with head

Revision 1.83 / (download) - annotate - [select for diffs], Thu Feb 20 03:48:06 2014 UTC (10 years, 1 month ago) by pgoyette
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-base, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-RC2, netbsd-7-0-RC1, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0, netbsd-7
Changes since 1.82: +2 -2 lines
Diff to previous 1.82 (colored)

Since fpu.c is contained in every kernel, and it calls routines in
convert_xmm_s87.c we need to include convert_xmm_s87.c in all kernels.

Fixes building of kernels that do not have COMPAT_NETBSD32 defined.

Revision 1.82 / (download) - annotate - [select for diffs], Tue Feb 11 20:17:16 2014 UTC (10 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.81: +2 -2 lines
Diff to previous 1.81 (colored)

Move sys/arch/amd64/amd64/fpu.c and sys/arch/amd64/include/fpu.h
into sys/arch/x86 in preparation for using the same code for i386.

Revision 1.81 / (download) - annotate - [select for diffs], Fri Feb 7 22:40:22 2014 UTC (10 years, 2 months ago) by dsl
Branch: MAIN
Changes since 1.80: +2 -1 lines
Diff to previous 1.80 (colored)

Convert the amd64 build to use x86/cpu_extended_state.h so that the fpu
  definitions match those of i386.
Mostly just structure and field renames, in addition:
1) process_xmm_to_s87() and process_s87_to_xmm() moved into
   x86/convert_xmm_s87.c so they can be used by amd64's netbsd32 code.
2) The linux signal code simplified to use a structure copy for ths fxsave
   data - it matches the hardware definition and won't change.

Revision 1.79.2.1 / (download) - annotate - [select for diffs], Wed Aug 28 23:59:10 2013 UTC (10 years, 7 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.79: +1 -8 lines
Diff to previous 1.79 (colored)

sync with head

Revision 1.79.8.1 / (download) - annotate - [select for diffs], Tue Jul 23 21:07:33 2013 UTC (10 years, 8 months ago) by riastradh
Branch: riastradh-drm2
Changes since 1.79: +1 -8 lines
Diff to previous 1.79 (colored) next main 1.80 (colored)

sync with HEAD

Revision 1.80 / (download) - annotate - [select for diffs], Wed Jul 17 21:26:28 2013 UTC (10 years, 8 months ago) by soren
Branch: MAIN
CVS Tags: riastradh-drm2-base2, riastradh-drm2-base1
Changes since 1.79: +1 -8 lines
Diff to previous 1.79 (colored)

A few "isa" files are so tightly integrated into the x86 platform code
as to not really be part of the optional isa bus autoconf machinery.

Allows configuring a kernel like so:

include "arch/amd64/conf/GENERIC"
no isa

Revision 1.76.2.1 / (download) - annotate - [select for diffs], Tue Nov 20 03:00:56 2012 UTC (11 years, 4 months ago) by tls
Branch: tls-maxphys
Changes since 1.76: +7 -3 lines
Diff to previous 1.76 (colored)

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

Revision 1.73.2.3 / (download) - annotate - [select for diffs], Tue Oct 30 17:18:45 2012 UTC (11 years, 5 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.73.2.2: +7 -2 lines
Diff to previous 1.73.2.2 (colored) to branchpoint 1.73 (colored)

sync with head

Revision 1.79 / (download) - annotate - [select for diffs], Sat Oct 13 19:42:02 2012 UTC (11 years, 6 months ago) by alnsn
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, riastradh-drm2-base, khorben-n900, agc-symver-base, agc-symver
Branch point for: rmind-smpnet, riastradh-drm2
Changes since 1.78: +7 -1 lines
Diff to previous 1.78 (colored)

Enable sljit in amd64 kernel and modules.

Revision 1.78 / (download) - annotate - [select for diffs], Thu Oct 4 21:23:45 2012 UTC (11 years, 6 months ago) by dsl
Branch: MAIN
Changes since 1.77: +1 -2 lines
Diff to previous 1.77 (colored)

Remove references to VM86 from the amd64 kernel configs.
VM86 mode isn't supported while in long mode.

Revision 1.77 / (download) - annotate - [select for diffs], Thu Sep 27 18:28:55 2012 UTC (11 years, 6 months ago) by alnsn
Branch: MAIN
Changes since 1.76: +1 -2 lines
Diff to previous 1.76 (colored)

Remove bpf_jit which was ported from FreeBSD recently.

It will soon be replaced with the new bpfjit kernel module.

Revision 1.76 / (download) - annotate - [select for diffs], Wed Aug 1 23:24:29 2012 UTC (11 years, 8 months ago) by rmind
Branch: MAIN
Branch point for: tls-maxphys
Changes since 1.75: +2 -1 lines
Diff to previous 1.75 (colored)

Add BPF JIT compiler, currently supporting amd64 and i386.  Code obtained
from FreeBSD.  Also, make few BPF fixes and simplifications while here.
Note that bpf_jit_enable is false for now.

OK dyoung@, some feedback from matt@

Revision 1.74.4.1 / (download) - annotate - [select for diffs], Sat Jun 2 11:08:48 2012 UTC (11 years, 10 months ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.74: +1 -2 lines
Diff to previous 1.74 (colored) next main 1.75 (colored)

sync to latest -current.

Revision 1.73.2.2 / (download) - annotate - [select for diffs], Wed May 23 10:07:39 2012 UTC (11 years, 10 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.73.2.1: +1 -2 lines
Diff to previous 1.73.2.1 (colored) to branchpoint 1.73 (colored)

sync with head.

Revision 1.75 / (download) - annotate - [select for diffs], Mon May 7 17:45:28 2012 UTC (11 years, 11 months ago) by jym
Branch: MAIN
CVS Tags: yamt-pagecache-base5, jmcneill-usbmp-base10
Changes since 1.74: +1 -2 lines
Diff to previous 1.74 (colored)

Merge i386 and amd64 version of db_memrw.c.

Use this opportunity to skip calculating the VA of the page. Let the CPU
deal with the invalidation itself through invlpg + destination address to
avoid converting between canonical/non canonical forms.

Revision 1.73.2.1 / (download) - annotate - [select for diffs], Thu Nov 10 14:31:38 2011 UTC (12 years, 5 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.73: +7 -1 lines
Diff to previous 1.73 (colored)

sync with head

Revision 1.74 / (download) - annotate - [select for diffs], Sun Nov 6 19:45:04 2011 UTC (12 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, 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, matt-nb6-plus, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: jmcneill-usbmp
Changes since 1.73: +7 -1 lines
Diff to previous 1.73 (colored)

Add compat_svr4 hooks, this does not work yet.

Revision 1.61.4.6 / (download) - annotate - [select for diffs], Sat Aug 27 15:37:23 2011 UTC (12 years, 7 months ago) by jym
Branch: jym-xensuspend
Changes since 1.61.4.5: +1 -2 lines
Diff to previous 1.61.4.5 (colored) to branchpoint 1.61 (colored) next main 1.62 (colored)

Sync with HEAD. Most notably: uvm/pmap work done by rmind@, and MP Xen
work of cherry@.

No regression observed on suspend/restore.

Revision 1.72.2.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:18:56 2011 UTC (12 years, 9 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.72: +1 -2 lines
Diff to previous 1.72 (colored) next main 1.73 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.73 / (download) - annotate - [select for diffs], Sun Jun 12 03:35:38 2011 UTC (12 years, 10 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-base, jym-xensuspend-nbase, jym-xensuspend-base
Branch point for: yamt-pagecache
Changes since 1.72: +1 -2 lines
Diff to previous 1.72 (colored)

Welcome to 5.99.53!  Merge rmind-uvmplock branch:

- Reorganize locking in UVM and provide extra serialisation for pmap(9).
  New lock order: [vmpage-owner-lock] -> pmap-lock.

- Simplify locking in some pmap(9) modules by removing P->V locking.

- Use lock object on vmobjlock (and thus vnode_t::v_interlock) to share
  the locks amongst UVM objects where necessary (tmpfs, layerfs, unionfs).

- Rewrite and optimise x86 TLB shootdown code, make it simpler and cleaner.
  Add TLBSTATS option for x86 to collect statistics about TLB shootdowns.

- Unify /dev/mem et al in MI code and provide required locking (removes
  kernel-lock on some ports).  Also, avoid cache-aliasing issues.

Thanks to Andrew Doran and Joerg Sonnenberger, as their initial patches
formed the core changes of this branch.

Revision 1.69.2.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:04:50 2011 UTC (12 years, 10 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.69: +3 -3 lines
Diff to previous 1.69 (colored) next main 1.70 (colored)

Sync with HEAD.

Revision 1.61.4.5 / (download) - annotate - [select for diffs], Mon May 2 22:49:54 2011 UTC (12 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.61.4.4: +3 -3 lines
Diff to previous 1.61.4.4 (colored) to branchpoint 1.61 (colored)

Sync with head.

Revision 1.68.4.3 / (download) - annotate - [select for diffs], Thu Apr 21 01:40:48 2011 UTC (12 years, 11 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.68.4.2: +2 -2 lines
Diff to previous 1.68.4.2 (colored) to branchpoint 1.68 (colored) next main 1.69 (colored)

sync with head

Revision 1.72 / (download) - annotate - [select for diffs], Sun Apr 10 20:36:49 2011 UTC (13 years ago) by christos
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base
Branch point for: cherry-xenmp
Changes since 1.71: +3 -3 lines
Diff to previous 1.71 (colored)

Merge db_trace for x86. From: Vladimir Kirillov proger at wilab dot org dot ua

Revision 1.71 / (download) - annotate - [select for diffs], Mon Apr 4 21:35:31 2011 UTC (13 years ago) by dyoung
Branch: MAIN
Changes since 1.70: +1 -4 lines
Diff to previous 1.70 (colored)

Don't need x86_stub.c here, we'll pick it up from files.x86.

Revision 1.70 / (download) - annotate - [select for diffs], Sun Apr 3 22:29:26 2011 UTC (13 years ago) by dyoung
Branch: MAIN
Changes since 1.69: +4 -1 lines
Diff to previous 1.69 (colored)

Clean up excessive #ifdef'age of NMI trap handling for amd64/i386/xen.
Handle NMI in all Xen kernels.

Revision 1.61.4.4 / (download) - annotate - [select for diffs], Tue Mar 29 20:42:57 2011 UTC (13 years ago) by jym
Branch: jym-xensuspend
Changes since 1.61.4.3: +1 -2 lines
Diff to previous 1.61.4.3 (colored) to branchpoint 1.61 (colored)

More sync fixes. And add the mbr_gpt files.

Revision 1.68.4.2 / (download) - annotate - [select for diffs], Sat Mar 5 20:49:16 2011 UTC (13 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.68.4.1: +1 -2 lines
Diff to previous 1.68.4.1 (colored) to branchpoint 1.68 (colored)

sync with head

Revision 1.68.2.1 / (download) - annotate - [select for diffs], Tue Aug 17 06:43:53 2010 UTC (13 years, 8 months ago) by uebayasi
Branch: uebayasi-xip
Changes since 1.68: +1 -2 lines
Diff to previous 1.68 (colored) next main 1.69 (colored)

Sync with HEAD.

Revision 1.59.4.4 / (download) - annotate - [select for diffs], Wed Aug 11 22:51:33 2010 UTC (13 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.59.4.3: +1 -2 lines
Diff to previous 1.59.4.3 (colored) to branchpoint 1.59 (colored) next main 1.60 (colored)

sync with head.

Revision 1.69 / (download) - annotate - [select for diffs], Thu Jul 8 11:24:59 2010 UTC (13 years, 9 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.68: +1 -2 lines
Diff to previous 1.68 (colored)

Unify i386 and amd64 procfs MD code into x86.

Revision 1.60.12.1 / (download) - annotate - [select for diffs], Wed Apr 21 00:33:53 2010 UTC (13 years, 11 months ago) by matt
Branch: matt-nb5-mips64
CVS Tags: matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-k15
Changes since 1.60: +5 -2 lines
Diff to previous 1.60 (colored) next main 1.61 (colored)

sync to netbsd-5

Revision 1.68.4.1 / (download) - annotate - [select for diffs], Thu Mar 18 04:36:47 2010 UTC (14 years, 1 month ago) by rmind
Branch: rmind-uvmplock
Changes since 1.68: +1 -2 lines
Diff to previous 1.68 (colored)

Unify /dev/{mem,kmem,zero,null} implementations in MI code.  Based on patch
from Joerg Sonnenberger, proposed on tech-kern@, in February 2008.

Work and depression still in progress.

Revision 1.61.4.3 / (download) - annotate - [select for diffs], Sun Nov 1 13:58:54 2009 UTC (14 years, 5 months ago) by jym
Branch: jym-xensuspend
Changes since 1.61.4.2: +0 -0 lines
Diff to previous 1.61.4.2 (colored) to branchpoint 1.61 (colored)

Sync with HEAD.

Revision 1.60.8.2 / (download) - annotate - [select for diffs], Wed Oct 7 15:41:12 2009 UTC (14 years, 6 months ago) by sborrill
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, matt-nb5-pq3-base, matt-nb5-pq3
Changes since 1.60.8.1: +4 -2 lines
Diff to previous 1.60.8.1 (colored) to branchpoint 1.60 (colored) next main 1.61 (colored)

Pull up the following revisions(s) (requested by jmcneill in ticket #1044):
	distrib/sets/lists/man/mi:		patch
	share/man/man4/Makefile:		patch
	sys/arch/amd64/conf/files.amd64:	1.67
	sys/arch/i386/conf/files.i386:		1.349
	sys/conf/files				1.945
	share/man/man4/sdmmc.4:			1.1-1.4
	sys/dev/sdmmc/Makefile.sdmmcdevs	1.1
	sys/dev/sdmmc/devlist2h.awk		1.1
	sys/dev/sdmmc/files.sdmmc		1.1-1.2
	sys/dev/sdmmc/ld_sdmmc.c		1.1-1.3
	sys/dev/sdmmc/sbt.c			1.1-1.2
	sys/dev/sdmmc/sdhc.c			1.1-1.3
	sys/dev/sdmmc/sdhcreg.h			1.1
	sys/dev/sdmmc/sdhcvar.h			1.1
	sys/dev/sdmmc/sdmmc.c			1.1
	sys/dev/sdmmc/sdmmc_cis.c		1.1
	sys/dev/sdmmc/sdmmc_io.c		1.1
	sys/dev/sdmmc/sdmmc_ioreg.h		1.1
	sys/dev/sdmmc/sdmmc_mem.c		1.1-1.2
	sys/dev/sdmmc/sdmmcchip.h		1.1
	sys/dev/sdmmc/sdmmcdevs			1.1
	sys/dev/sdmmc/sdmmcdevs.h		1.1-1.2
	sys/dev/sdmmc/sdmmcreg.h		1.1-1.3
	sys/dev/sdmmc/sdmmcvar.h		1.1

Add sdmmc framework

Revision 1.61.4.2 / (download) - annotate - [select for diffs], Thu Jul 23 23:31:35 2009 UTC (14 years, 8 months ago) by jym
Branch: jym-xensuspend
Changes since 1.61.4.1: +2 -1 lines
Diff to previous 1.61.4.1 (colored) to branchpoint 1.61 (colored)

Sync with HEAD.

Revision 1.59.4.3 / (download) - annotate - [select for diffs], Sat Jun 20 07:19:59 2009 UTC (14 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.59.4.2: +2 -1 lines
Diff to previous 1.59.4.2 (colored) to branchpoint 1.59 (colored)

sync with head

Revision 1.60.8.1 / (download) - annotate - [select for diffs], Fri Jun 19 21:22:10 2009 UTC (14 years, 9 months ago) by snj
Branch: netbsd-5
Changes since 1.60: +2 -1 lines
Diff to previous 1.60 (colored)

Pull up following revision(s) (requested by bouyer in ticket #816):
	sys/arch/amd64/conf/files.amd64: revision 1.68
	sys/arch/i386/conf/files.i386: revision 1.350
	sys/arch/x86/include/rtc.h: revision 1.1
	sys/arch/x86/isa/clock.c: revision 1.33
	sys/arch/x86/isa/rtc.c: revision 1.1
	sys/arch/xen/conf/files.xen: revision 1.100
	sys/arch/xen/xen/clock.c: revision 1.50 via patch
Split mc146818-related functions from clock.c into rtc.c.
Call rtc_set_ymdhms() from xen/xen/clock.c:xen_rtc_set() for xen3 dom0
kernels as the Xen3 hypervisor doesn't write the new date/time to the CMOS
by itself.
Now a XEN3_DOM0 kernel properly updates the CMOS time.

Revision 1.68 / (download) - annotate - [select for diffs], Tue Jun 16 21:05:33 2009 UTC (14 years, 10 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, uebayasi-xip-base1, uebayasi-xip-base, matt-premerge-20091211, jymxensuspend-base
Branch point for: uebayasi-xip, rmind-uvmplock
Changes since 1.67: +2 -1 lines
Diff to previous 1.67 (colored)

Split mc146818-related functions from clock.c into rtc.c.
Call rtc_set_ymdhms() from xen/xen/clock.c:xen_rtc_set() for xen3 dom0
kernels as the Xen3 hypervisor doesn't write the new date/time to the CMOS
by itself.
Now a XEN3_DOM0 kernel properly updates the CMOS time.

Revision 1.61.4.1 / (download) - annotate - [select for diffs], Wed May 13 17:16:08 2009 UTC (14 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.61: +4 -8 lines
Diff to previous 1.61 (colored)

Sync with HEAD.

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

Revision 1.59.4.2 / (download) - annotate - [select for diffs], Mon May 4 08:10:32 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.59.4.1: +4 -7 lines
Diff to previous 1.59.4.1 (colored) to branchpoint 1.59 (colored)

sync with head.

Revision 1.60.6.3 / (download) - annotate - [select for diffs], Tue Apr 28 07:33:38 2009 UTC (14 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.60.6.2: +4 -6 lines
Diff to previous 1.60.6.2 (colored) to branchpoint 1.60 (colored) next main 1.61 (colored)

Sync with HEAD.

Revision 1.67 / (download) - annotate - [select for diffs], Tue Apr 21 03:00:29 2009 UTC (14 years, 11 months ago) by nonaka
Branch: MAIN
CVS Tags: yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base
Changes since 1.66: +4 -2 lines
Diff to previous 1.66 (colored)

Added SD/MMC support from OpenBSD.
tested on i386, amd64 at current-users ML by pgoyette@.
tested on zaurus by myself.

Revision 1.66 / (download) - annotate - [select for diffs], Thu Apr 16 15:34:23 2009 UTC (15 years ago) by rmind
Branch: MAIN
Changes since 1.65: +1 -2 lines
Diff to previous 1.65 (colored)

- Add macros to handle (some) trapframe registers for common x86 code.
- Merge i386 and amd64 syscall.c into x86.  No functional changes intended.

Proposed on (port-i386 & port-amd64).  Unfortunately, I cannot merge these
lists into the single port-x86. :(

Revision 1.65 / (download) - annotate - [select for diffs], Mon Mar 30 22:28:39 2009 UTC (15 years ago) by rmind
Branch: MAIN
Changes since 1.64: +1 -2 lines
Diff to previous 1.64 (colored)

Merge i386 and amd64 ipifuncs.c into x86.  No functional changes intended.
XXX: fpu #ifdefs are ugly (should be revisited at some point).

Revision 1.64 / (download) - annotate - [select for diffs], Mon Mar 30 22:20:55 2009 UTC (15 years ago) by rmind
Branch: MAIN
Changes since 1.63: +1 -2 lines
Diff to previous 1.63 (colored)

Merge i386 and amd64 vm_machdep.c into x86.  No functional changes intended.
Note: some #ifdefs will be removed with macros.

Revision 1.63 / (download) - annotate - [select for diffs], Mon Mar 30 22:13:42 2009 UTC (15 years ago) by rmind
Branch: MAIN
Changes since 1.62: +1 -2 lines
Diff to previous 1.62 (colored)

Merge/move core_machdep.c into x86, no difference between i386 and amd64.

Revision 1.60.6.2 / (download) - annotate - [select for diffs], Tue Mar 3 18:28:50 2009 UTC (15 years, 1 month ago) by skrll
Branch: nick-hppapmap
Changes since 1.60.6.1: +1 -3 lines
Diff to previous 1.60.6.1 (colored) to branchpoint 1.60 (colored)

Sync with HEAD.

Revision 1.62 / (download) - annotate - [select for diffs], Sat Feb 14 20:22:59 2009 UTC (15 years, 2 months ago) by cube
Branch: MAIN
CVS Tags: nick-hppapmap-base2
Changes since 1.61: +1 -3 lines
Diff to previous 1.61 (colored)

Don't set version deep in the source tree if it's older than the one in
conf/files.

Revision 1.60.6.1 / (download) - annotate - [select for diffs], Mon Jan 19 13:15:54 2009 UTC (15 years, 2 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.60: +2 -1 lines
Diff to previous 1.60 (colored)

Sync with HEAD.

Revision 1.58.6.3 / (download) - annotate - [select for diffs], Sat Jan 17 13:27:49 2009 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.58.6.2: +1 -0 lines
Diff to previous 1.58.6.2 (colored) to branchpoint 1.58 (colored) next main 1.59 (colored)

Sync with HEAD.

Revision 1.60.4.1 / (download) - annotate - [select for diffs], Sat Dec 13 01:12:59 2008 UTC (15 years, 4 months ago) by haad
Branch: haad-dm
Changes since 1.60: +2 -1 lines
Diff to previous 1.60 (colored) next main 1.61 (colored)

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

Revision 1.61 / (download) - annotate - [select for diffs], Wed Nov 19 18:35:58 2008 UTC (15 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: mjf-devfs2-base, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: jym-xensuspend
Changes since 1.60: +2 -1 lines
Diff to previous 1.60 (colored)

Make the emulations, exec formats, coredump, NFS, and the NFS server
into modules. By and large this commit:

- shuffles header files and ifdefs
- splits code out where necessary to be modular
- adds module glue for each of the components
- adds/replaces hooks for things that can be installed at runtime

Revision 1.59.6.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:30:08 2008 UTC (15 years, 9 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.59: +1 -2 lines
Diff to previous 1.59 (colored) next main 1.60 (colored)

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

Revision 1.29.6.1 / (download) - annotate - [select for diffs], Tue Jun 3 20:47:13 2008 UTC (15 years, 10 months ago) by skrll
Branch: wrstuden-fixsa
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Sync with netbsd-4.

Revision 1.58.6.2 / (download) - annotate - [select for diffs], Mon Jun 2 13:21:49 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.58.6.1: +0 -1 lines
Diff to previous 1.58.6.1 (colored) to branchpoint 1.58 (colored)

Sync with HEAD.

Revision 1.59.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:31:28 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.59: +1 -2 lines
Diff to previous 1.59 (colored) next main 1.60 (colored)

sync with head.

Revision 1.59.4.1 / (download) - annotate - [select for diffs], Fri May 16 02:21:51 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.59: +1 -2 lines
Diff to previous 1.59 (colored)

sync with head.

Revision 1.60 / (download) - annotate - [select for diffs], Sun May 11 14:44:53 2008 UTC (15 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, netbsd-5-base, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20091211, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, hpcarm-cleanup-nbase, haad-dm-base1
Branch point for: nick-hppapmap, netbsd-5, matt-nb5-mips64, haad-dm
Changes since 1.59: +1 -2 lines
Diff to previous 1.59 (colored)

Simplify x86 identcpu code, and share between i386/amd64.

Revision 1.58.6.1 / (download) - annotate - [select for diffs], Thu Apr 3 12:42:11 2008 UTC (16 years ago) by mjf
Branch: mjf-devfs2
Changes since 1.58: +2 -1 lines
Diff to previous 1.58 (colored)

Sync with HEAD.

Revision 1.58.2.1 / (download) - annotate - [select for diffs], Mon Mar 24 07:14:52 2008 UTC (16 years ago) by keiichi
Branch: keiichi-mipv6
Changes since 1.58: +2 -1 lines
Diff to previous 1.58 (colored) next main 1.59 (colored)

sync with head.

Revision 1.42.2.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:03:53 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.42.2.2: +3 -13 lines
Diff to previous 1.42.2.2 (colored) next main 1.43 (colored)

sync with HEAD

Revision 1.16.2.10 / (download) - annotate - [select for diffs], Mon Mar 17 09:14:14 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.16.2.9: +2 -1 lines
Diff to previous 1.16.2.9 (colored) next main 1.17 (colored)

sync with head.

Revision 1.59 / (download) - annotate - [select for diffs], Mon Mar 10 22:03:40 2008 UTC (16 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, wrstuden-revivesa
Changes since 1.58: +2 -1 lines
Diff to previous 1.58 (colored)

Implement an optimized, preemption-safe asm version of tsc_get_timecount().
The C version needs work to be preemption safe. Cuts the clock cycles
for microtime() from 950 down to 300 on a Pentium D.

Revision 1.16.2.9 / (download) - annotate - [select for diffs], Wed Feb 27 08:36:18 2008 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.16.2.8: +1 -6 lines
Diff to previous 1.16.2.8 (colored)

sync with head.

Revision 1.58 / (download) - annotate - [select for diffs], Wed Feb 20 21:43:33 2008 UTC (16 years, 1 month ago) by drochner
Branch: MAIN
CVS Tags: nick-net80211-sync-base, nick-net80211-sync, hpcarm-cleanup-base
Branch point for: mjf-devfs2, keiichi-mipv6
Changes since 1.57: +1 -6 lines
Diff to previous 1.57 (colored)

Since files.wscons et al. are included by ~all ports anyway, include
them in the mi "files" file, and remove include statements from md files.
These shouldn't pull in additional kernel code when not in use, so it
shouldn't do any harm except a risk of namespace collisions which
should be easy to fix.

Revision 1.48.2.3 / (download) - annotate - [select for diffs], Mon Feb 18 21:04:20 2008 UTC (16 years, 1 month ago) by mjf
Branch: mjf-devfs
Changes since 1.48.2.2: +6 -8 lines
Diff to previous 1.48.2.2 (colored) to branchpoint 1.48 (colored) next main 1.49 (colored)

Sync with HEAD.

Revision 1.16.2.8 / (download) - annotate - [select for diffs], Mon Feb 4 09:21:42 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.16.2.7: +2 -7 lines
Diff to previous 1.16.2.7 (colored)

sync with head.

Revision 1.57 / (download) - annotate - [select for diffs], Sat Feb 2 23:23:17 2008 UTC (16 years, 2 months ago) by joerg
Branch: MAIN
CVS Tags: mjf-devfs-base
Changes since 1.56: +3 -3 lines
Diff to previous 1.56 (colored)

Fix flags: cpu_in_cksum should modify cpu_in_cksum.S, not cpufuncs.S.

Revision 1.56 / (download) - annotate - [select for diffs], Fri Jan 25 21:12:11 2008 UTC (16 years, 2 months ago) by joerg
Branch: MAIN
Changes since 1.55: +3 -8 lines
Diff to previous 1.55 (colored)

Refactor in_cksum/in4_cksum/in6_cksum implementations:
- All three functions are included in the kernel by default.
  They call a backend function cpu_in_cksum after possibly
  computing the checksum of the pseudo header.
- cpu_in_cksum is the core to implement the one-complement sum.
  The default implementation is moderate fast on most platforms
  and provides a 32bit accumulator with 16bit addends for L32 platforms
  and a 64bit accumulator with 32bit addends for L64 platforms.
  It handles edge cases like very large mbuf chains (could happen with
  native IPv6 in the future) and provides a good base for new native
  implementations.
- Modify i386 and amd64 assembly to use the new interface.

This disables the MD implementations on !x86 until the conversion is
done. For Alpha, the portable version is faster.

Revision 1.16.2.7 / (download) - annotate - [select for diffs], Mon Jan 21 09:35:22 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.16.2.6: +7 -4 lines
Diff to previous 1.16.2.6 (colored)

sync with head

Revision 1.50.2.4 / (download) - annotate - [select for diffs], Sat Jan 19 12:14:10 2008 UTC (16 years, 2 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.50.2.3: +0 -1 lines
Diff to previous 1.50.2.3 (colored) to branchpoint 1.50 (colored) next main 1.51 (colored)

Sync with HEAD

Revision 1.55 / (download) - annotate - [select for diffs], Wed Jan 16 09:37:09 2008 UTC (16 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: bouyer-xeni386-nbase, bouyer-xeni386-base
Changes since 1.54: +1 -2 lines
Diff to previous 1.54 (colored)

Remove options MATH_EMULATE.

Revision 1.50.2.3 / (download) - annotate - [select for diffs], Thu Jan 10 23:43:08 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.50.2.2: +1 -1 lines
Diff to previous 1.50.2.2 (colored) to branchpoint 1.50 (colored)

Sync with HEAD

Revision 1.54 / (download) - annotate - [select for diffs], Wed Jan 9 16:40:17 2008 UTC (16 years, 3 months ago) by joerg
Branch: MAIN
Changes since 1.53: +2 -2 lines
Diff to previous 1.53 (colored)

Add assembler version of in_cksum. Thanks to ad@ for his time as
peep hole optimiser. This is 30% faster than the portable C version
for checksumming 64byte and larger mbufs and as fast as or slightly
faster for shorter mbufs (with a high variance).

Revision 1.42.2.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:44:51 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.42.2.1: +11 -2 lines
Diff to previous 1.42.2.1 (colored)

sync with HEAD

Revision 1.50.2.2 / (download) - annotate - [select for diffs], Tue Jan 8 22:09:18 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.50.2.1: +1 -0 lines
Diff to previous 1.50.2.1 (colored) to branchpoint 1.50 (colored)

Sync with HEAD

Revision 1.53 / (download) - annotate - [select for diffs], Sun Jan 6 18:04:00 2008 UTC (16 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: matt-armv6-base
Changes since 1.52: +2 -1 lines
Diff to previous 1.52 (colored)

Add MODULAR option. Include kernel linker stuff if MODULAR.

Revision 1.50.2.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:47:07 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.50: +4 -2 lines
Diff to previous 1.50 (colored)

Sync with HEAD

Revision 1.48.2.2 / (download) - annotate - [select for diffs], Thu Dec 27 00:42:54 2007 UTC (16 years, 3 months ago) by mjf
Branch: mjf-devfs
Changes since 1.48.2.1: +2 -2 lines
Diff to previous 1.48.2.1 (colored) to branchpoint 1.48 (colored)

Sync with HEAD.

Revision 1.49.2.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:41:58 2007 UTC (16 years, 3 months ago) by ad
Branch: vmlocking2
Changes since 1.49: +5 -2 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

Sync with head.

Revision 1.52 / (download) - annotate - [select for diffs], Wed Dec 26 16:28:17 2007 UTC (16 years, 3 months ago) by joerg
Branch: MAIN
CVS Tags: vmlocking2-base3
Changes since 1.51: +4 -1 lines
Diff to previous 1.51 (colored)

Add PHYSMEM_MAX_ADDR and PHYSMEM_MAX_SIZE options. This limit physical
memory based on overall size (useful for debugging to keep core dumps
small) or maximum address (when using devices with bus dma limits).
Contrary to REALBASEMEM and REALEXTMEM, they still use the BIOS memory
map and can therefore deal with fragmented memory.

Revision 1.29.4.1 / (download) - annotate - [select for diffs], Wed Dec 19 19:38:52 2007 UTC (16 years, 3 months ago) by ghen
Branch: netbsd-4
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base
Changes since 1.29: +2 -2 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Pull up following revision(s) (requested by briggs in ticket #989):
	sys/arch/amd64/conf/GENERIC: revision 1.151
	sys/arch/x86/x86/ipmi.c: revision 1.12
	sys/dev/DEVNAMES: revision 1.228
	sys/arch/amd64/amd64/bios32.c: revision 1.6
	sys/arch/x86/x86/ipmi.c: revision 1.8
	sys/arch/amd64/conf/files.amd64: revision 1.39 via patch
	sys/arch/amd64/amd64/mainbus.c: revision 1.17
Use PRIx64 for a 64-bit quantity instead of llx in a debug print.
Add (commented-out) support for IPMI on amd64--pretty much copied straight
from i386.
Check for duplicate sensor names in the IPMI table.  If a duplicate name
is found, try to make it unique by appending a count (1-99) to the sensor
description (truncating, if necessary).

Revision 1.51 / (download) - annotate - [select for diffs], Tue Dec 18 07:17:10 2007 UTC (16 years, 4 months ago) by joerg
Branch: MAIN
Changes since 1.50: +1 -2 lines
Diff to previous 1.50 (colored)

Add new IPI for saving CPU state explicitly, share high-level part of
ACPI wakeup code and teach it how to start the APs again. As a side
effect the CPU_START interface allows choosing between different
bootstrap codes more easily now.

Revision 1.49.4.1 / (download) - annotate - [select for diffs], Tue Dec 11 15:20:24 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-kmem
Changes since 1.49: +3 -2 lines
Diff to previous 1.49 (colored) next main 1.50 (colored)

sync with head.

Revision 1.50 / (download) - annotate - [select for diffs], Sun Dec 9 20:27:43 2007 UTC (16 years, 4 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, cube-autoconf-base, cube-autoconf
Branch point for: bouyer-xeni386
Changes since 1.49: +3 -2 lines
Diff to previous 1.49 (colored)

Merge jmcneill-pm branch.

Revision 1.48.2.1 / (download) - annotate - [select for diffs], Sat Dec 8 18:16:28 2007 UTC (16 years, 4 months ago) by mjf
Branch: mjf-devfs
Changes since 1.48: +6 -1 lines
Diff to previous 1.48 (colored)

Sync with HEAD.

Revision 1.16.2.6 / (download) - annotate - [select for diffs], Fri Dec 7 17:24:02 2007 UTC (16 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.16.2.5: +6 -1 lines
Diff to previous 1.16.2.5 (colored)

sync with head

Revision 1.33.2.9 / (download) - annotate - [select for diffs], Mon Dec 3 19:02:46 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.33.2.8: +1 -6 lines
Diff to previous 1.33.2.8 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored)

Sync with HEAD.

Revision 1.33.2.8 / (download) - annotate - [select for diffs], Mon Dec 3 18:34:41 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.33.2.7: +14 -34 lines
Diff to previous 1.33.2.7 (colored) to branchpoint 1.33 (colored)

Sync with HEAD.

Revision 1.40.8.8 / (download) - annotate - [select for diffs], Tue Nov 27 19:35:31 2007 UTC (16 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.40.8.7: +6 -1 lines
Diff to previous 1.40.8.7 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored)

Sync with HEAD. amd64 Xen support needs testing.

Revision 1.49 / (download) - annotate - [select for diffs], Thu Nov 22 16:16:44 2007 UTC (16 years, 4 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-kmem-base, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base
Branch point for: yamt-kmem, vmlocking2
Changes since 1.48: +6 -1 lines
Diff to previous 1.48 (colored)

Pull up the bouyer-xenamd64 branch to HEAD. This brings in amd64 support
to NetBSD/Xen, both Dom0 and DomU.

Revision 1.44.2.3 / (download) - annotate - [select for diffs], Mon Nov 19 19:17:17 2007 UTC (16 years, 4 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.44.2.2: +6 -1 lines
Diff to previous 1.44.2.2 (colored) to branchpoint 1.44 (colored) next main 1.45 (colored)

Get rid of arch/xenamd64, step 1: empty xenamd64/conf
- move xenamd64/conf/std.xen to amd64/conf/
- define arch to amd64 amd64/conf/std.xen, and i386 in xen/conf/std.xen
  (machine is xen)
- enclose content of amd64/conf/files.amd64 and i386/conf/files.i386 in
  ifndef xen/endif, so it can be transparently inclued for xen kernels
- support MACHINE_ARCH=x86_64 in xen/conf/Makefile*

Revision 1.44.2.2 / (download) - annotate - [select for diffs], Tue Nov 13 15:58:09 2007 UTC (16 years, 5 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.44.2.1: +3 -33 lines
Diff to previous 1.44.2.1 (colored) to branchpoint 1.44 (colored)

Sync with HEAD

Revision 1.42.2.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:14:13 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.42: +6 -37 lines
Diff to previous 1.42 (colored)

sync with HEAD

Revision 1.40.8.7 / (download) - annotate - [select for diffs], Sun Oct 28 20:10:32 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.40.8.6: +2 -25 lines
Diff to previous 1.40.8.6 (colored) to branchpoint 1.40 (colored)

Sync with HEAD.

Revision 1.16.2.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:25:08 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.16.2.4: +6 -37 lines
Diff to previous 1.16.2.4 (colored)

sync with head.

Revision 1.48 / (download) - annotate - [select for diffs], Fri Oct 26 22:17:13 2007 UTC (16 years, 5 months ago) by xtraeme
Branch: MAIN
CVS Tags: jmcneill-base, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: mjf-devfs
Changes since 1.47: +1 -13 lines
Diff to previous 1.47 (colored)

Share pcib(4) and amdpcib(4) between i386 and amd64; one copy is enough.

Revision 1.47 / (download) - annotate - [select for diffs], Fri Oct 26 21:49:50 2007 UTC (16 years, 5 months ago) by xtraeme
Branch: MAIN
Changes since 1.46: +4 -22 lines
Diff to previous 1.46 (colored)

- Share pchb(4) between i386 and amd64; one copy is enough for both.
- Move some of the x86 PCI devices into x86/pci/files.pci.
- Add more x86 stuff into x86/conf/files.x86.

ok joerg.

Revision 1.40.8.6 / (download) - annotate - [select for diffs], Fri Oct 26 15:42:09 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.40.8.5: +2 -5 lines
Diff to previous 1.40.8.5 (colored) to branchpoint 1.40 (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.44.2.1 / (download) - annotate - [select for diffs], Thu Oct 25 22:35:33 2007 UTC (16 years, 5 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.44: +2 -5 lines
Diff to previous 1.44 (colored)

Sync with HEAD.

Revision 1.33.2.7 / (download) - annotate - [select for diffs], Tue Oct 23 20:11:41 2007 UTC (16 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.33.2.6: +2 -5 lines
Diff to previous 1.33.2.6 (colored) to branchpoint 1.33 (colored)

Sync with head.

Revision 1.46 / (download) - annotate - [select for diffs], Thu Oct 18 15:28:33 2007 UTC (16 years, 5 months ago) by yamt
Branch: MAIN
Changes since 1.45: +2 -5 lines
Diff to previous 1.45 (colored)

merge yamt-x86pmap branch.

- reduce differences between amd64 and i386.  notably, share pmap.c
  between them.  it makes several i386 pmap improvements available to
  amd64, including tlb shootdown reduction and bug fixes from Stephan Uphoff.
- implement deferred pmap switching for amd64.
- remove LARGEPAGES option.  always use large pages if available.
  also, make it work on amd64.

Revision 1.45 / (download) - annotate - [select for diffs], Wed Oct 17 19:53:03 2007 UTC (16 years, 6 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4
Changes since 1.44: +1 -1 lines
Diff to previous 1.44 (colored)

Merge the ppcoea-renovation branch to HEAD.

This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree.  Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches.  The work
for this branch was done by a variety of people, too long to list here.

TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.

NOTES:
pmppc was removed as an arch, and moved to a evbppc target.

Revision 1.33.2.6 / (download) - annotate - [select for diffs], Tue Oct 9 13:37:17 2007 UTC (16 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.33.2.5: +8 -2 lines
Diff to previous 1.33.2.5 (colored) to branchpoint 1.33 (colored)

Sync with head.

Revision 1.43.2.3 / (download) - annotate - [select for diffs], Sat Oct 6 15:37:43 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.43.2.2: +3 -1 lines
Diff to previous 1.43.2.2 (colored) to branchpoint 1.43 (colored) next main 1.44 (colored)

sync with head.

Revision 1.43.2.2 / (download) - annotate - [select for diffs], Thu Oct 4 15:36:55 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.43.2.1: +0 -3 lines
Diff to previous 1.43.2.1 (colored) to branchpoint 1.43 (colored)

remove LARGEPAGES option.  always use large pages if available.

Revision 1.37.2.2 / (download) - annotate - [select for diffs], Wed Oct 3 19:22:12 2007 UTC (16 years, 6 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.37.2.1: +11 -6 lines
Diff to previous 1.37.2.1 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored)

Sync with HEAD

Revision 1.40.8.5 / (download) - annotate - [select for diffs], Tue Oct 2 18:26:43 2007 UTC (16 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.40.8.4: +3 -1 lines
Diff to previous 1.40.8.4 (colored) to branchpoint 1.40 (colored)

Sync with HEAD.

Revision 1.43.2.1 / (download) - annotate - [select for diffs], Sun Sep 30 15:32:23 2007 UTC (16 years, 6 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.43: +2 -2 lines
Diff to previous 1.43 (colored)

implement deferred pmap switching for amd64, and make amd64 use
x86 shared pmap code.  it makes several i386 pmap improvements available
to amd64, including tlb shootdown reduction and bug fixes from Stephan Uphoff.

Revision 1.44 / (download) - annotate - [select for diffs], Wed Sep 26 19:48:40 2007 UTC (16 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base3, yamt-x86pmap-base2, vmlocking-base, ppcoea-renovation-base
Branch point for: bouyer-xenamd64
Changes since 1.43: +3 -1 lines
Diff to previous 1.43 (colored)

x86 changes for pcc and LKMs.

- Replace most inline assembly with proper functions. As a side effect
  this reduces the size of amd64 GENERIC by about 120kB, and i386 by a
  smaller amount. Nearly all of the inlines did something slow, or something
  that does not need to be fast.
- Make curcpu() and curlwp functions proper, unless __GNUC__ && _KERNEL.
  In that case make them inlines. Makes curlwp LKM and preemption safe.
- Make bus_space and bus_dma more LKM friendly.
- Share a few more files between the ports.
- Other minor changes.

Revision 1.40.8.4 / (download) - annotate - [select for diffs], Mon Sep 10 20:39:01 2007 UTC (16 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.40.8.3: +3 -2 lines
Diff to previous 1.40.8.3 (colored) to branchpoint 1.40 (colored)

Add work-in-progress remerge of i386 changes for the ACPI wakecode
and changes to adopt it to AMD64.

Revision 1.40.8.3 / (download) - annotate - [select for diffs], Tue Sep 4 16:13:45 2007 UTC (16 years, 7 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.40.8.2: +4 -11 lines
Diff to previous 1.40.8.2 (colored) to branchpoint 1.40 (colored)

Move common PCI devices on i386 and amd64 into a arch/x86/pci/fils.pci.

Revision 1.40.8.2 / (download) - annotate - [select for diffs], Mon Sep 3 16:47:02 2007 UTC (16 years, 7 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.40.8.1: +7 -3 lines
Diff to previous 1.40.8.1 (colored) to branchpoint 1.40 (colored)

Sync with HEAD.

Revision 1.16.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:22:36 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.16.2.3: +19 -7 lines
Diff to previous 1.16.2.3 (colored)

sync with head.

Revision 1.40.4.2 / (download) - annotate - [select for diffs], Mon Sep 3 10:18:13 2007 UTC (16 years, 7 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.40.4.1: +7 -3 lines
Diff to previous 1.40.4.1 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored)

Sync with HEAD.

Revision 1.43 / (download) - annotate - [select for diffs], Wed Aug 29 23:38:03 2007 UTC (16 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base, nick-csl-alignment-base5
Branch point for: yamt-x86pmap
Changes since 1.42: +2 -2 lines
Diff to previous 1.42 (colored)

Merge most x86 changes from the vmlocking branch, except the threaded soft
interrupt stuff. This is mostly comprised of changes to the pmap modules to
work on multiprocessor systems without kernel_lock, and changes to speed up
tlb shootdowns.

Revision 1.42 / (download) - annotate - [select for diffs], Sun Aug 26 16:49:47 2007 UTC (16 years, 7 months ago) by xtraeme
Branch: MAIN
Branch point for: matt-armv6
Changes since 1.41: +6 -2 lines
Diff to previous 1.41 (colored)

Some changes for the ichlpcib driver:

- Moved to x86/pci, so that EM64T systems running NetBSD/amd64 can use it.
- Added support for the TCO on ICH6 or newer chipsets, adapted from
  FreeBSD.
- Added timecounter support for the power management timer, adapted from
  OpenBSD.
- Plus some misc/cosmetic changes.

Thanks to yukonbob on irc@freenode for testing the TCO part on ICH4-M.
Tested by me with ICH7 too.

Revision 1.33.2.5 / (download) - annotate - [select for diffs], Thu Aug 23 12:13:56 2007 UTC (16 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.33.2.4: +2 -2 lines
Diff to previous 1.33.2.4 (colored) to branchpoint 1.33 (colored)

Merged x86 cpu.c.

Revision 1.33.2.4 / (download) - annotate - [select for diffs], Mon Aug 20 18:37:08 2007 UTC (16 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.33.2.3: +2 -2 lines
Diff to previous 1.33.2.3 (colored) to branchpoint 1.33 (colored)

Sync with HEAD.

Revision 1.40.4.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:47:03 2007 UTC (16 years, 8 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored)

Sync with HEAD.

Revision 1.40.8.1 / (download) - annotate - [select for diffs], Thu Aug 9 02:36:49 2007 UTC (16 years, 8 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored)

Sync with HEAD.

Revision 1.40.2.1 / (download) - annotate - [select for diffs], Tue Aug 7 18:04:56 2007 UTC (16 years, 8 months ago) by matt
Branch: matt-mips64
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored) next main 1.41 (colored)

Sync with HEAD.

Revision 1.41 / (download) - annotate - [select for diffs], Mon Aug 6 06:40:41 2007 UTC (16 years, 8 months ago) by kiyohara
Branch: MAIN
CVS Tags: matt-mips64-base
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored)

Add support agp_amd64. Imported from FreeBSD.

Revision 1.33.2.3 / (download) - annotate - [select for diffs], Sun Jul 15 13:15:23 2007 UTC (16 years, 9 months ago) by ad
Branch: vmlocking
Changes since 1.33.2.2: +2 -3 lines
Diff to previous 1.33.2.2 (colored) to branchpoint 1.33 (colored)

Sync with head.

Revision 1.33.4.1 / (download) - annotate - [select for diffs], Wed Jul 11 19:57:38 2007 UTC (16 years, 9 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.33: +5 -4 lines
Diff to previous 1.33 (colored) next main 1.34 (colored)

Sync with head.

Revision 1.40 / (download) - annotate - [select for diffs], Sat Jul 7 05:13:14 2007 UTC (16 years, 9 months ago) by tsutsui
Branch: MAIN
CVS Tags: nick-csl-alignment-base, mjf-ufs-trans-base, hpcarm-cleanup
Branch point for: nick-csl-alignment, matt-mips64, jmcneill-pm
Changes since 1.39: +1 -2 lines
Diff to previous 1.39 (colored)

Remove leftover netns stuff.

Revision 1.39 / (download) - annotate - [select for diffs], Tue Jul 3 23:05:26 2007 UTC (16 years, 9 months ago) by briggs
Branch: MAIN
Changes since 1.38: +2 -2 lines
Diff to previous 1.38 (colored)

Add (commented-out) support for IPMI on amd64--pretty much copied straight
from i386.

Revision 1.33.2.2 / (download) - annotate - [select for diffs], Sun May 27 12:27:00 2007 UTC (16 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.33.2.1: +2 -2 lines
Diff to previous 1.33.2.1 (colored) to branchpoint 1.33 (colored)

Sync with head.

Revision 1.37.2.1 / (download) - annotate - [select for diffs], Tue May 22 17:26:33 2007 UTC (16 years, 10 months ago) by matt
Branch: ppcoea-renovation
Changes since 1.37: +2 -1 lines
Diff to previous 1.37 (colored)

Update to HEAD.

Revision 1.38 / (download) - annotate - [select for diffs], Thu May 17 14:51:14 2007 UTC (16 years, 11 months ago) by yamt
Branch: MAIN
Changes since 1.37: +2 -1 lines
Diff to previous 1.37 (colored)

merge yamt-idlelwp branch.  asked by core@.  some ports still needs work.

from doc/BRANCHES:

	idle lwp, and some changes depending on it.

	1. separate context switching and thread scheduling.
	   (cf. gmcgarry_ctxsw)
	2. implement idle lwp.
	3. clean up related MD/MI interfaces.
	4. make scheduler(s) modular.

Revision 1.31.2.4 / (download) - annotate - [select for diffs], Mon May 7 10:54:52 2007 UTC (16 years, 11 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.31.2.3: +1 -2 lines
Diff to previous 1.31.2.3 (colored) to branchpoint 1.31 (colored) next main 1.32 (colored)

sync with head.

Revision 1.37 / (download) - annotate - [select for diffs], Mon Apr 16 19:12:17 2007 UTC (17 years ago) by ad
Branch: MAIN
CVS Tags: yamt-idlelwp-base8
Branch point for: ppcoea-renovation
Changes since 1.36: +1 -2 lines
Diff to previous 1.36 (colored)

Share the sysarch stuff between the x86 ports. PR kern/36046.

Revision 1.31.2.3 / (download) - annotate - [select for diffs], Sun Apr 15 16:02:37 2007 UTC (17 years ago) by yamt
Branch: yamt-idlelwp
Changes since 1.31.2.2: +3 -1 lines
Diff to previous 1.31.2.2 (colored) to branchpoint 1.31 (colored)

sync with head.

Revision 1.33.2.1 / (download) - annotate - [select for diffs], Tue Apr 10 13:22:50 2007 UTC (17 years ago) by ad
Branch: vmlocking
Changes since 1.33: +3 -1 lines
Diff to previous 1.33 (colored)

Sync with head.

Revision 1.36 / (download) - annotate - [select for diffs], Tue Apr 10 02:23:02 2007 UTC (17 years ago) by macallan
Branch: MAIN
CVS Tags: thorpej-atomic-base, thorpej-atomic
Changes since 1.35: +3 -1 lines
Diff to previous 1.35 (colored)

include files.wsfb

Revision 1.35 / (download) - annotate - [select for diffs], Tue Mar 20 21:30:27 2007 UTC (17 years ago) by xtraeme
Branch: MAIN
Changes since 1.34: +1 -2 lines
Diff to previous 1.34 (colored)

Erm, remove a local change committed accidentally in previous.

Revision 1.34 / (download) - annotate - [select for diffs], Tue Mar 20 21:29:29 2007 UTC (17 years ago) by xtraeme
Branch: MAIN
Changes since 1.33: +2 -1 lines
Diff to previous 1.33 (colored)

ALL: Enable INTEL_ONDEMAND_CLOCKMOD.
GENERIC: Add INTEL_ONDEMAND_CLOCKMOD disabled by default.

Revision 1.31.2.2 / (download) - annotate - [select for diffs], Mon Mar 12 05:46:35 2007 UTC (17 years, 1 month ago) by rmind
Branch: yamt-idlelwp
Changes since 1.31.2.1: +10 -3 lines
Diff to previous 1.31.2.1 (colored) to branchpoint 1.31 (colored)

Sync with HEAD.

Revision 1.33 / (download) - annotate - [select for diffs], Thu Mar 8 14:26:26 2007 UTC (17 years, 1 month ago) by njoly
Branch: MAIN
CVS Tags: reinoud-bufcleanup
Branch point for: vmlocking, mjf-ufs-trans
Changes since 1.32: +9 -2 lines
Diff to previous 1.32 (colored)

High Precision Event Timer driver, following Intel specifications.

Allow attachement at both ACPI (hpet@acpi) and AMD8111 LPC Controller
(hpet@amdpcib).

Requested by xtraeme, and tested by a few users.

Revision 1.32 / (download) - annotate - [select for diffs], Mon Mar 5 16:51:00 2007 UTC (17 years, 1 month ago) by drochner
Branch: MAIN
Changes since 1.31: +2 -2 lines
Diff to previous 1.31 (colored)

clean up how cpus and ioapics are attached at the mainbus:
Seperate "cpubus" and "ioapicbus" -- while they share a common "address
space" (the apic id), the kernel doesn't use this fact. There are different
data passed to cpus and apics, which caused some ugly polymorphism. This
also saves the special "submatch" functions needed to distingush cpus
and ioapics for autoconf. (And it makes that "apid" locators wired
in the kernel configuration are honored now; this allows one to dumb down
an mp box to singleprocessor by userconfig.)
Print "apid" locators in the buses "print" function "as everyone does",
so the per-port cpu drivers don't need to do it.
Being here, constify "struct cpu_functions" and g/c the unused MP_PICMODE
flag.

Revision 1.31.2.1 / (download) - annotate - [select for diffs], Sat Mar 3 15:42:49 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-idlelwp
Changes since 1.31: +2 -1 lines
Diff to previous 1.31 (colored)

adapt amd64.

XXX changes in identcpu.c is minmum for MONITOR.
XXX identcpu.c should be shared with i386.

Revision 1.16.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:05:41 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.16.2.2: +2 -1 lines
Diff to previous 1.16.2.2 (colored)

sync with head.

Revision 1.31 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:01 2007 UTC (17 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp
Changes since 1.30: +2 -1 lines
Diff to previous 1.30 (colored)

Merge newlock2 to head.

Revision 1.28.2.3 / (download) - annotate - [select for diffs], Fri Jan 12 01:00:40 2007 UTC (17 years, 3 months ago) by ad
Branch: newlock2
Changes since 1.28.2.2: +5 -3 lines
Diff to previous 1.28.2.2 (colored) to branchpoint 1.28 (colored) next main 1.29 (colored)

Sync with head.

Revision 1.16.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:45:25 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.16.2.1: +10 -7 lines
Diff to previous 1.16.2.1 (colored)

sync with head.

Revision 1.29.2.1 / (download) - annotate - [select for diffs], Thu Dec 21 15:07:57 2006 UTC (17 years, 3 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.29: +5 -3 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

sync with head.

Revision 1.30 / (download) - annotate - [select for diffs], Mon Dec 18 12:08:05 2006 UTC (17 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, newlock2-nbase, newlock2-base
Changes since 1.29: +5 -3 lines
Diff to previous 1.29 (colored)

Attach agp too.

Revision 1.28.2.2 / (download) - annotate - [select for diffs], Sat Nov 18 21:29:03 2006 UTC (17 years, 4 months ago) by ad
Branch: newlock2
Changes since 1.28.2.1: +3 -1 lines
Diff to previous 1.28.2.1 (colored) to branchpoint 1.28 (colored)

Sync with head.

Revision 1.21.2.4 / (download) - annotate - [select for diffs], Thu Sep 14 12:31:07 2006 UTC (17 years, 7 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.21.2.3: +4 -2 lines
Diff to previous 1.21.2.3 (colored) to branchpoint 1.21 (colored) next main 1.22 (colored)

sync with head.

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Sun Sep 10 23:42:41 2006 UTC (17 years, 7 months ago) by ad
Branch: newlock2
Changes since 1.28: +2 -1 lines
Diff to previous 1.28 (colored)

Add updated locking primatives.

Revision 1.29 / (download) - annotate - [select for diffs], Sun Sep 10 19:50:48 2006 UTC (17 years, 7 months ago) by plunky
Branch: MAIN
CVS Tags: yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-pdpolicy-base9, wrstuden-fixsa-base-1, netbsd-4-base, 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
Branch point for: yamt-splraiseipl, wrstuden-fixsa, netbsd-4
Changes since 1.28: +3 -1 lines
Diff to previous 1.28 (colored)

add bluetooth support to amd64 port, built by default in GENERIC kernels

Revision 1.19.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:37:18 2006 UTC (17 years, 7 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.19: +14 -9 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

sync with head

Revision 1.28 / (download) - annotate - [select for diffs], Mon Sep 4 02:16:03 2006 UTC (17 years, 7 months ago) by perry
Branch: MAIN
CVS Tags: rpaulo-netinet-merge-pcb-base
Branch point for: newlock2
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored)

switch to a common clock.c

Revision 1.21.2.3 / (download) - annotate - [select for diffs], Fri Aug 11 15:41:00 2006 UTC (17 years, 8 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.21.2.2: +3 -4 lines
Diff to previous 1.21.2.2 (colored) to branchpoint 1.21 (colored)

sync with head

Revision 1.27 / (download) - annotate - [select for diffs], Mon Aug 7 20:58:23 2006 UTC (17 years, 8 months ago) by xtraeme
Branch: MAIN
CVS Tags: yamt-pdpolicy-base8, yamt-pdpolicy-base7, abandoned-netbsd-4-base, abandoned-netbsd-4
Changes since 1.26: +1 -6 lines
Diff to previous 1.26 (colored)

* Do not change struct powernow_pst_s (I added another member in my
  previous patch) and this MUST be of that size, otherwise the tables
  won't be found.

* powernow_k8.c moved into x86/x86, it should work both i386 and amd64.

* Added more DPRINTFs needed to found the first problem.

* Create "machdep.powernow.frequency" again, I can't remember why I
  removed frequency... it should work with estd now.

* Do not try to call k[78]_powernow_init() if cpu is not AMD (thanks
  to christos).

And more things I can't remember, but this time it will work in
Athlon 64 cpus and it won't crash in EM64T cpus.

Revision 1.26 / (download) - annotate - [select for diffs], Sun Aug 6 15:37:21 2006 UTC (17 years, 8 months ago) by xtraeme
Branch: MAIN
Changes since 1.25: +5 -2 lines
Diff to previous 1.25 (colored)

AMD PowerNow!/Cool`n'Quiet driver for NetBSD/amd64,
adapted from OpenBSD.

Tested on a few machines:

http://bigbird.dohd.org:3021/NetBSD/dmesg
http://www.bsd.org.il/netbsd/acpi/dmesg

Thanks to cube, elad and others for testing and fixes.

Enabled by default on GENERIC.

Revision 1.23.2.1 / (download) - annotate - [select for diffs], Thu Jul 13 17:48:44 2006 UTC (17 years, 9 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.23: +3 -2 lines
Diff to previous 1.23 (colored) next main 1.24 (colored)

Merge from HEAD.

Revision 1.25 / (download) - annotate - [select for diffs], Mon Jul 10 13:09:47 2006 UTC (17 years, 9 months ago) by fvdl
Branch: MAIN
Changes since 1.24: +2 -1 lines
Diff to previous 1.24 (colored)

kern/33961: add kgdb support and remove some redundant (and incorrect) register
offset definitions from reg.h

Revision 1.24 / (download) - annotate - [select for diffs], Sun Jul 9 06:22:32 2006 UTC (17 years, 9 months ago) by christos
Branch: MAIN
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (colored)

include files.apm

Revision 1.21.2.2 / (download) - annotate - [select for diffs], Mon Jun 26 12:44:22 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.21.2.1: +4 -2 lines
Diff to previous 1.21.2.1 (colored) to branchpoint 1.21 (colored)

sync with head.

Revision 1.16.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:48:25 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.16: +23 -2 lines
Diff to previous 1.16 (colored)

sync with head.

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Mon Jun 19 03:44:01 2006 UTC (17 years, 9 months ago) by chap
Branch: chap-midi
Changes since 1.22: +4 -2 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

Sync with head.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Jun 7 22:37:14 2006 UTC (17 years, 10 months ago) by kardel
Branch: MAIN
CVS Tags: yamt-pdpolicy-base6, gdamore-uart-base, chap-midi-nbase, chap-midi-base
Branch point for: gdamore-uart
Changes since 1.22: +4 -2 lines
Diff to previous 1.22 (colored)

convert to timecounters (from branch simonb-timecounters)

Revision 1.21.6.1 / (download) - annotate - [select for diffs], Wed May 24 15:47:50 2006 UTC (17 years, 10 months ago) by tron
Branch: peter-altq
Changes since 1.21: +1 -4 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

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

Revision 1.19.6.2 / (download) - annotate - [select for diffs], Sun Apr 30 17:36:11 2006 UTC (17 years, 11 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.19.6.1: +4 -2 lines
Diff to previous 1.19.6.1 (colored) next main 1.20 (colored)

include tsc.c into kernel build

Revision 1.19.6.1 / (download) - annotate - [select for diffs], Sat Apr 22 11:37:12 2006 UTC (17 years, 11 months ago) by simonb
Branch: simonb-timecounters
Changes since 1.19: +8 -4 lines
Diff to previous 1.19 (colored)

Sync with head.

Revision 1.21.4.1 / (download) - annotate - [select for diffs], Wed Apr 19 02:31:58 2006 UTC (17 years, 11 months ago) by elad
Branch: elad-kernelauth
Changes since 1.21: +1 -4 lines
Diff to previous 1.21 (colored) next main 1.22 (colored)

sync with head - hopefully this will work

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Tue Apr 11 11:53:25 2006 UTC (18 years ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.21: +1 -4 lines
Diff to previous 1.21 (colored)

sync with head

Revision 1.22 / (download) - annotate - [select for diffs], Tue Apr 4 03:13:12 2006 UTC (18 years ago) by gdamore
Branch: MAIN
CVS Tags: yamt-pdpolicy-base5, yamt-pdpolicy-base4, simonb-timecounters-base, elad-kernelauth-base
Branch point for: chap-midi
Changes since 1.21: +1 -4 lines
Diff to previous 1.21 (colored)

Convert existing ath users to new Makefile, except for amd64, which needs
the rules due to needing to conditionally postprocess the HAL object file.

Macppc needs a a non-ELF HAL (EABI) object, so take care of that by default
in the atheros include file.

Revision 1.19.2.1 / (download) - annotate - [select for diffs], Sat Feb 18 15:38:30 2006 UTC (18 years, 1 month ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.19: +8 -1 lines
Diff to previous 1.19 (colored) next main 1.20 (colored)

sync with head.

Revision 1.21 / (download) - annotate - [select for diffs], Sun Feb 12 18:16:01 2006 UTC (18 years, 2 months ago) by tron
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, peter-altq-base
Branch point for: yamt-pdpolicy, peter-altq, elad-kernelauth
Changes since 1.20: +2 -1 lines
Diff to previous 1.20 (colored)

Share Intel hardware random number generator support between amd64 and
i386 port. This will benefit EM64T systems using Intel i9xx chipsets.

Revision 1.20 / (download) - annotate - [select for diffs], Thu Feb 9 19:18:56 2006 UTC (18 years, 2 months ago) by manu
Branch: MAIN
Changes since 1.19: +7 -1 lines
Diff to previous 1.19 (colored)

Add initial (but unfinished) COMPAT_LINUX32 for amd64. This is good enough so
that the i386 license manager part of amd64 version of Fluent works.

While I'm here, add SysV IPC to COMPAT_LINUX/amd64

Revision 1.19 / (download) - annotate - [select for diffs], Wed Dec 21 22:35:41 2005 UTC (18 years, 3 months ago) by rjs
Branch: MAIN
Branch point for: yamt-uio_vmspace, simonb-timecounters, rpaulo-netinet-merge-pcb
Changes since 1.18: +13 -1 lines
Diff to previous 1.18 (colored)

Add boilerplate for cardbus support.

Revision 1.18 / (download) - annotate - [select for diffs], Sun Dec 11 12:16:21 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.17: +1 -1 lines
Diff to previous 1.17 (colored)

merge ktrace-lwp.

Revision 1.3.2.5 / (download) - annotate - [select for diffs], Thu Nov 10 13:50:24 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.3.2.4: +11 -1 lines
Diff to previous 1.3.2.4 (colored) next main 1.4 (colored)

Sync with HEAD. Here we go again...

Revision 1.17 / (download) - annotate - [select for diffs], Tue Jul 12 20:22:45 2005 UTC (18 years, 9 months ago) by sekiya
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Changes since 1.16: +4 -1 lines
Diff to previous 1.16 (colored)

Add config goo for ath.  Tested with a PCI card, detected as:

	ath0 at pci0 dev 10 function 0
	ath0: interrupting at ioapic0 pin 17 (irq 5)
	ath0: 11a rates: 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
	ath0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
	ath0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36M bps 48Mbps 54Mbps
	ath0: mac 5.9 phy 4.3 radio 3.6

Cardbus untested, so it is commented out.

Revision 1.16 / (download) - annotate - [select for diffs], Sun May 15 22:20:23 2005 UTC (18 years, 11 months ago) by fvdl
Branch: MAIN
Branch point for: yamt-lazymbuf
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

Move linux_trap.c from sys/arch/i386/i386 to sys/arch/x86/x86, and share
it. Remove the amd64 linux_trap.c (which was just a stub with a printf
anyway).

Revision 1.15 / (download) - annotate - [select for diffs], Sun May 15 21:44:42 2005 UTC (18 years, 11 months ago) by fvdl
Branch: MAIN
Changes since 1.14: +8 -1 lines
Diff to previous 1.14 (colored)

Fix up COMPAT_LINUX support for amd64. Still a work in progress, not
usable yet ("Hello World" runs, but many other things do not work).

Revision 1.3.2.4 / (download) - annotate - [select for diffs], Tue Sep 21 13:12:07 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.3.2.3: +1 -1 lines
Diff to previous 1.3.2.3 (colored)

Fix the sync with head I botched.

Revision 1.3.2.3 / (download) - annotate - [select for diffs], Sat Sep 18 14:31:22 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.3.2.2: +1 -1 lines
Diff to previous 1.3.2.2 (colored)

Sync with HEAD.

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Fri Sep 3 12:44:28 2004 UTC (19 years, 7 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.3.2.1: +3 -4 lines
Diff to previous 1.3.2.1 (colored)

Sync with HEAD

Revision 1.14 / (download) - annotate - [select for diffs], Mon Aug 30 15:35:20 2004 UTC (19 years, 7 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, 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, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Changes since 1.13: +1 -2 lines
Diff to previous 1.13 (colored)

remove the (superfluous) definition of "cpu" as an interface attribute

Revision 1.13 / (download) - annotate - [select for diffs], Mon Aug 30 15:05:16 2004 UTC (19 years, 7 months ago) by drochner
Branch: MAIN
Changes since 1.12: +3 -3 lines
Diff to previous 1.12 (colored)

Phase out the use of a string as first "attach args" member to control
which bustype should be attached with a specific call to config_found()
(from a "mainbus" or a bus bridge).
Do it for isa/eisa/mca and pci/agp for now. These buses all attach to
an mi interface attribute "isabus", "eisabus" etc., and the autoconf
framework now allows to specify an interface attribute on config_found()
and config_search(), which limits the search of matching config data
to these which attach to that specific attribute.
So we basically have to call config_found_ia(..., "foobus", ...) where
such a bus is attached.
As a consequence, where a "mainbus" or alike also attaches other
devices (eg CPUs) which do not attach to a specific attribute yet,
we need at least pass an attribute name (different from "foobus") so
that the foo bus is not found at these places. This made some minor
changes necessary which are not obviously related to the mentioned buses.

Revision 1.3.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:31:30 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.3: +5 -15 lines
Diff to previous 1.3 (colored)

Sync with HEAD

Revision 1.12 / (download) - annotate - [select for diffs], Sun Apr 18 18:36:56 2004 UTC (20 years ago) by fvdl
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

Adapt for new aapic.c location.

Revision 1.11 / (download) - annotate - [select for diffs], Fri Mar 26 18:44:37 2004 UTC (20 years ago) by drochner
Branch: MAIN
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-base, 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-0, netbsd-2
Changes since 1.10: +2 -2 lines
Diff to previous 1.10 (colored)

the whole sigcode business is COMPAT_16 only

Revision 1.10 / (download) - annotate - [select for diffs], Thu Mar 25 15:32:27 2004 UTC (20 years ago) by drochner
Branch: MAIN
Changes since 1.9: +1 -3 lines
Diff to previous 1.9 (colored)

remove sigcontext-style signal delivery code

Revision 1.9 / (download) - annotate - [select for diffs], Sat Mar 13 17:31:33 2004 UTC (20 years, 1 month ago) by bjh21
Branch: MAIN
Changes since 1.8: +2 -2 lines
Diff to previous 1.8 (colored)

Abstract the interface between pckbc(4), and the pckbd(4) and pms(4)
drivers that attach to it.  This allows for other host interface chips
that use the same keyboards and mice, such as the ones in the ARM
IOMD20, ARM7500, and SA-1111.  The PC-compatible driver is still
called pckbc(4), and the new abstraction layer is "pckbport", so the
child devices have moved from sys/dev/pckbc to sys/dev/pckbport, which
also contains some code shared between all host controllers.  To avoid
incompatibility, pckbdreg.h is still installed in
/usr/include/dev/pckbc.

In theory, this shouldn't cause any behavioural changes in the drivers
concerned.  Thy just use rather more function pointers than before.  Tested
on i386 and (with a new host driver) acorn32.  Compiled on several other
affected architectures.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Jan 20 19:58:00 2004 UTC (20 years, 2 months ago) by jdolecek
Branch: MAIN
Changes since 1.7: +1 -9 lines
Diff to previous 1.7 (colored)

cleanup old lpt(4) attachment, and glue ppbus in so that they can coexist:
* lpt device is defined in MI place (dev/ppbus/files.ppbus), dev/ic/lpt.c
  is included there too; dev/ic/lpt.c is not included if ppbus is
  configured or if there is alternative platform lpt (like for pc532)
* g/c MD lpt definitions and custom puc/upc attachments,
  glue moved to conf/files and dev/pci/files.pci respectively; remove
  device lpt definition from dev/isa/files.isa
* add ppbus parport attribute, atppc device attachments, adjust plip and lpt
  glue

Revision 1.7 / (download) - annotate - [select for diffs], Mon Oct 6 22:53:47 2003 UTC (20 years, 6 months ago) by fvdl
Branch: MAIN
Changes since 1.6: +3 -1 lines
Diff to previous 1.6 (colored)

SIGINFO support.
Todo: 32bit compat support (COMPAT_NETBSD32 will not compile right now,
as it won't on other platforms).

Revision 1.6 / (download) - annotate - [select for diffs], Sat Sep 6 17:44:36 2003 UTC (20 years, 7 months ago) by fvdl
Branch: MAIN
Changes since 1.5: +1 -2 lines
Diff to previous 1.5 (colored)

Move the bulk of pci_intr_string into a seperate intr_string function. Use
that new function to print the pciide compat interrupt in pciide_machdep.c.
Share pciide_machdep.c between amd64 and i386.

Revision 1.5 / (download) - annotate - [select for diffs], Wed Aug 20 21:48:52 2003 UTC (20 years, 7 months ago) by fvdl
Branch: MAIN
Changes since 1.4: +2 -2 lines
Diff to previous 1.4 (colored)

Pass pointers to frames from assembly, do not use the 'frame on stack
as argument passed by value' trick, as gcc 3.3.x makes (valid) assumptions
about the stack that will not be true. Costs 2 instructions per trap/syscall
on i386, 4 per interrupt for MP. One instruction per trap/syscall on amd64,
2 per interrupt for MP. I expect gcc 3.3.1 to make up for this by better
optimization (it'd better..)

While here, make amd64 compile again by using subr_mbr_disk.c

Revision 1.4 / (download) - annotate - [select for diffs], Sun Jul 27 01:19:25 2003 UTC (20 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.3: +1 -2 lines
Diff to previous 1.3 (colored)

Since everyone uses clock_subr.c (or should, if they don't currently),
list it in conf/files instead of in every port's files.*.

Revision 1.3 / (download) - annotate - [select for diffs], Sun May 11 21:39:01 2003 UTC (20 years, 11 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.2: +5 -3 lines
Diff to previous 1.2 (colored)

ACPI support. Wakeup code still to be done.

Revision 1.2 / (download) - annotate - [select for diffs], Sat May 3 14:24:52 2003 UTC (20 years, 11 months ago) by fvdl
Branch: MAIN
Changes since 1.1: +2 -1 lines
Diff to previous 1.1 (colored)

Add dummy eisa option to ease sharing with i386.

Revision 1.1 / (download) - annotate - [select for diffs], Sat Apr 26 18:39:35 2003 UTC (20 years, 11 months ago) by fvdl
Branch: MAIN

Rename the x86_64 port to amd64, as this is the actual name used for
the processor family now. x86_64 is kept as the MACHINE_ARCH value,
since it's already widely used (by e.g. the toolchain, etc), and
by other operating systems.

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>