The NetBSD Project

CVS log for src/sys/arch/x86/x86/lapic.c

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.89 / (download) - annotate - [select for diffs], Wed Sep 7 00:40:19 2022 UTC (4 months, 3 weeks ago) by knakahara
Branch: MAIN
CVS Tags: netbsd-10-base, netbsd-10, bouyer-sunxi-drm-base, bouyer-sunxi-drm, HEAD
Changes since 1.88: +3 -3 lines
Diff to previous 1.88 (colored)

NetBSD/x86: Raise the number of interrupt sources per CPU from 32 to 56.

There has been no objection for three years.
    https://mail-index.netbsd.org/port-amd64/2019/09/22/msg003012.html
Implemented by nonaka@n.o, updated by me.

Revision 1.88 / (download) - annotate - [select for diffs], Sat Aug 20 23:48:51 2022 UTC (5 months, 1 week ago) by riastradh
Branch: MAIN
Changes since 1.87: +3 -2 lines
Diff to previous 1.87 (colored)

x86: Split most of pmap.h into pmap_private.h or vmparam.h.

This way pmap.h only contains the MD definition of the MI pmap(9)
API, which loads of things in the kernel rely on, so changing x86
pmap internals no longer requires recompiling the entire kernel every
time.

Callers needing these internals must now use machine/pmap_private.h.
Note: This is not x86/pmap_private.h because it contains three parts:

1. CPU-specific (different for i386/amd64) definitions used by...

2. common definitions, including Xenisms like xpmap_ptetomach,
   further used by...

3. more CPU-specific inlines for pmap_pte_* operations

So {amd64,i386}/pmap_private.h defines 1, includes x86/pmap_private.h
for 2, and then defines 3.  Maybe we should split that out into a new
pmap_pte.h to reduce this trouble.

No functional change intended, other than that some .c files must
include machine/pmap_private.h when previously uvm/uvm_pmap.h
polluted the namespace with pmap internals.

Note: This migrates part of i386/pmap.h into i386/vmparam.h --
specifically the parts that are needed for several constants defined
in vmparam.h:

VM_MAXUSER_ADDRESS
VM_MAX_ADDRESS
VM_MAX_KERNEL_ADDRESS
VM_MIN_KERNEL_ADDRESS

Since i386 needs PDP_SIZE in vmparam.h, I added it there on amd64
too, just to keep things parallel.

Revision 1.87 / (download) - annotate - [select for diffs], Tue Apr 26 05:29:15 2022 UTC (9 months ago) by msaitoh
Branch: MAIN
Changes since 1.86: +3 -3 lines
Diff to previous 1.86 (colored)

Fix typo. No funcitonal change.

Revision 1.86 / (download) - annotate - [select for diffs], Thu Oct 7 12:52:27 2021 UTC (15 months, 3 weeks ago) by msaitoh
Branch: MAIN
Changes since 1.85: +5 -5 lines
Diff to previous 1.85 (colored)

KNF. No functional change.

Revision 1.85 / (download) - annotate - [select for diffs], Tue Oct 27 08:57:11 2020 UTC (2 years, 3 months ago) by ryo
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, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Changes since 1.84: +4 -4 lines
Diff to previous 1.84 (colored)

move vmt(4) from MD to MI, and add support vmt on aarch64. tested on ESXi-Arm Fling

- move from sys/arch/x86/x86/{vmt.c,vmtreg.h,vmtvar.h} to sys/dev/vmt/{vmt_subr.c,vmtreg.h,vmtvar.h},
  and split the attach part of the cpufeaturebus and fdt
- add aarch64 vmware backdoor op
- add include guard to vmt{reg,var}.h
- Yet there is still some little-endian dependency. it needs to be fixed in order to work properly on aarch64eb

Revision 1.84 / (download) - annotate - [select for diffs], Tue Jul 14 00:45:53 2020 UTC (2 years, 6 months ago) by yamaguchi
Branch: MAIN
Changes since 1.83: +13 -10 lines
Diff to previous 1.83 (colored)

Introduce per-cpu IDTs

This is realized by following modifications:
- Add IDT pages and its allocation maps for each cpu in "struct cpu_info"
- Load per-cpu IDTs at cpu_init_idt(struct cpu_info*)
- Copy the IDT entries for cpu0 to other CPUs at attach
   - These are, for example, exceptions, db, system calls, etc.

And, added a kernel option named PCPU_IDT to enable the feature.

Revision 1.83 / (download) - annotate - [select for diffs], Fri May 29 12:30:41 2020 UTC (2 years, 8 months ago) by rin
Branch: MAIN
Changes since 1.82: +8 -11 lines
Diff to previous 1.82 (colored)

For struct timecounter, use C99 initializers.
Compile tested. No functional changes intended.

Revision 1.82 / (download) - annotate - [select for diffs], Thu May 21 22:01:42 2020 UTC (2 years, 8 months ago) by ad
Branch: MAIN
Changes since 1.81: +3 -3 lines
Diff to previous 1.81 (colored)

Fix merge error

Revision 1.81 / (download) - annotate - [select for diffs], Thu May 21 21:12:30 2020 UTC (2 years, 8 months ago) by ad
Branch: MAIN
Changes since 1.80: +75 -40 lines
Diff to previous 1.80 (colored)

- Recalibrate the APIC timer using the TSC, once the TSC has in turn been
  recalibrated using the HPET.  This gets the clock interrupt firing more
  closely to HZ.

- Undo change with recent Xen merge and go back to starting the clocks in
  initclocks() on the boot CPU, and in cpu_hatch() on secondary CPUs.

- On reflection don't use HPET delay any more, it works very well but means
  going over the bus.  It's enough to use HPET to calibrate the TSC and
  APIC.

Tested on amd64 native, xen and xen PVH.

Revision 1.80 / (download) - annotate - [select for diffs], Wed May 20 02:23:35 2020 UTC (2 years, 8 months ago) by msaitoh
Branch: MAIN
Changes since 1.79: +3 -3 lines
Diff to previous 1.79 (colored)

 Temporary back to lapic_initclocks() from lapci_reset() to avoid compile
error.

Revision 1.79 / (download) - annotate - [select for diffs], Tue May 19 21:39:11 2020 UTC (2 years, 8 months ago) by ad
Branch: MAIN
Changes since 1.78: +12 -6 lines
Diff to previous 1.78 (colored)

lapic_delay() disable preemption since the state is very CPU dependent.

Revision 1.78 / (download) - annotate - [select for diffs], Sat May 2 16:44:36 2020 UTC (2 years, 8 months ago) by bouyer
Branch: MAIN
Changes since 1.77: +4 -4 lines
Diff to previous 1.77 (colored)

Introduce Xen PVH support in GENERIC.
This is compiled in with
options XENPVHVM
x86 changes:
- add Xen section and xen pvh entry points to locore.S. Set vm_guest
  to VM_GUEST_XENPVH in this entry point.
  Most of the boot procedure (especially page table setup and switch to
  paged mode) is shared with native.
- change some x86_delay() to delay_func(), which points to x86_delay() for
  native/HVM, and xen_delay() for PVH

Xen changes:
- remove Xen bits from init_x86_64_ksyms() and init386_ksyms()
  and move to xen_init_ksyms(), used for both PV and PVH
- set ISA no-legacy-devices property for PVH
- factor out code from Xen's cpu_bootconf() to xen_bootconf()
  in xen_machdep.c
- set up a specific pvh_consinit() which starts with printk()
  (which uses a simple hypercall that is available early) and switch to
  xencons when we can use pmap_kenter_pa().

Revision 1.77 / (download) - annotate - [select for diffs], Sat Apr 25 15:26:18 2020 UTC (2 years, 9 months ago) by bouyer
Branch: MAIN
Changes since 1.76: +19 -8 lines
Diff to previous 1.76 (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.76.6.4 / (download) - annotate - [select for diffs], Sun Apr 19 19:39:10 2020 UTC (2 years, 9 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.76.6.3: +5 -2 lines
Diff to previous 1.76.6.3 (colored) to branchpoint 1.76 (colored) next main 1.77 (colored)

Add per-PIC callbacks for interrupt_get_devname(), interrupt_get_assigned()
and interrupt_get_count(). Implement Xen-specific callbacks for
PIC_XEN and use the x86 one for others.
In event_set_handler(), call intr_allocate_io_intrsource() so that
events appears in interrupt list (intrctl list).

Revision 1.76.6.3 / (download) - annotate - [select for diffs], Sat Apr 18 14:47:56 2020 UTC (2 years, 9 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.76.6.2: +6 -7 lines
Diff to previous 1.76.6.2 (colored) to branchpoint 1.76 (colored)

Centralize initialisations of delay_func and initclock_func
in x86_machdep.c and export from <x86/machdep.h>
Introduce a x86_dummy_initclock() and a x86_cpu_initclock_func pointer,
to be used later for Xen HVM native clock support.
rename rtclock_tval to x86_rtclock_tval and export from <x86/machdep.h>,
for the benefit of lapic.c

Revision 1.76.6.2 / (download) - annotate - [select for diffs], Thu Apr 16 08:46:35 2020 UTC (2 years, 9 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.76.6.1: +11 -2 lines
Diff to previous 1.76.6.1 (colored) to branchpoint 1.76 (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.66.2.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:04:11 2020 UTC (2 years, 9 months ago) by martin
Branch: phil-wifi
Changes since 1.66.2.1: +64 -56 lines
Diff to previous 1.66.2.1 (colored) to branchpoint 1.66 (colored) next main 1.67 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.76.6.1 / (download) - annotate - [select for diffs], Wed Apr 8 17:59:16 2020 UTC (2 years, 9 months ago) by bouyer
Branch: bouyer-xenpvh
Changes since 1.76: +3 -3 lines
Diff to previous 1.76 (colored)

Remove VM_GUEST_XEN and define only Xen subtypes:
VM_GUEST_XENPV
VM_GUEST_XENPVH
VM_GUEST_XENHVM
VM_GUEST_XENPVHVM

Set vm_guest in the start routine, if it is hypervisor-specific (e.g Xen PV).
If vm_guest was not set early and we detect Xen in identify_hypervisor(),
assume it is VM_GUEST_XENHVM. Refine to VM_GUEST_PVXENHVM in
hypervisor_match().

Revision 1.76 / (download) - annotate - [select for diffs], Sun Dec 1 08:23:09 2019 UTC (3 years, 1 month ago) by maxv
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, ad-namecache-base, ad-namecache
Branch point for: bouyer-xenpvh
Changes since 1.75: +3 -9 lines
Diff to previous 1.75 (colored)

localify

Revision 1.75 / (download) - annotate - [select for diffs], Fri Jun 14 09:23:42 2019 UTC (3 years, 7 months ago) by msaitoh
Branch: MAIN
CVS Tags: phil-wifi-20191119, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9
Changes since 1.74: +9 -9 lines
Diff to previous 1.74 (colored)

- Dump LAPIC and I/O APIC correctly.
  - Don't print redirect target on LAPIC.
  - Fix DEST_MASK:
    - DEST_MASK is not 1 bit but 2 bit.
    - Add missing "\0"s to print decoded name correctly.
  - Support both LAPIC and I/O APIC correctly in apic_format_redir().
- Improve output of some bits using with snprintb()'s "F\B\1" and ":\V".

Revision 1.74 / (download) - annotate - [select for diffs], Fri Jun 14 05:59:39 2019 UTC (3 years, 7 months ago) by msaitoh
Branch: MAIN
Changes since 1.73: +35 -28 lines
Diff to previous 1.73 (colored)

No functional change:
- Rename macros:
  - ICR, LVT and MSIDATA can share the bit definitions. Remove redundant
    definitions and use the common macros.
  - Consistently use LAPIC_LVT_ for all local vector table's macro names.
- Use __BITS().
- Add definition for TSC-deadline (LAPIC_LVT_TMM_TSCDLT).

Revision 1.73 / (download) - annotate - [select for diffs], Thu Jun 13 07:42:45 2019 UTC (3 years, 7 months ago) by msaitoh
Branch: MAIN
Changes since 1.72: +4 -2 lines
Diff to previous 1.72 (colored)

 lapic_dump(): Print CMCI and thermal local vector table, too.

Revision 1.72 / (download) - annotate - [select for diffs], Thu Jun 13 05:19:40 2019 UTC (3 years, 7 months ago) by msaitoh
Branch: MAIN
Changes since 1.71: +34 -29 lines
Diff to previous 1.71 (colored)

No functional change:
- Simplify some code for readability.
- KNF a little.

Revision 1.66.2.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:54 2019 UTC (3 years, 7 months ago) by christos
Branch: phil-wifi
Changes since 1.66: +11 -8 lines
Diff to previous 1.66 (colored)

Sync with HEAD

Revision 1.58.2.6 / (download) - annotate - [select for diffs], Sat Mar 9 17:10:19 2019 UTC (3 years, 10 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1
Changes since 1.58.2.5: +8 -5 lines
Diff to previous 1.58.2.5 (colored) to branchpoint 1.58 (colored) next main 1.59 (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.71 / (download) - annotate - [select for diffs], Sat Mar 9 08:42:26 2019 UTC (3 years, 10 months ago) by maxv
Branch: MAIN
CVS Tags: phil-wifi-20190609, isaki-audio2-base, isaki-audio2
Changes since 1.70: +3 -3 lines
Diff to previous 1.70 (colored)

Start replacing the x86 PTE bits.

Revision 1.70 / (download) - annotate - [select for diffs], Sun Feb 17 05:06:16 2019 UTC (3 years, 11 months ago) by nonaka
Branch: MAIN
Changes since 1.69: +13 -28 lines
Diff to previous 1.69 (colored)

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

Revision 1.69 / (download) - annotate - [select for diffs], Fri Feb 15 08:54:01 2019 UTC (3 years, 11 months ago) by nonaka
Branch: MAIN
Changes since 1.68: +34 -16 lines
Diff to previous 1.68 (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.65.2.3 / (download) - annotate - [select for diffs], Wed Dec 26 14:01:45 2018 UTC (4 years, 1 month ago) by pgoyette
Branch: pgoyette-compat
CVS Tags: pgoyette-compat-merge-20190127
Changes since 1.65.2.2: +3 -3 lines
Diff to previous 1.65.2.2 (colored) to branchpoint 1.65 (colored) next main 1.66 (colored)

Sync with HEAD, resolve a few conflicts

Revision 1.68 / (download) - annotate - [select for diffs], Sun Dec 16 20:58:00 2018 UTC (4 years, 1 month ago) by jdolecek
Branch: MAIN
CVS Tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226
Changes since 1.67: +3 -3 lines
Diff to previous 1.67 (colored)

use ci_ipending instead of ci_istate.ipending, NFC

Revision 1.65.2.2 / (download) - annotate - [select for diffs], Sun Sep 30 01:45:48 2018 UTC (4 years, 4 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.65.2.1: +3 -3 lines
Diff to previous 1.65.2.1 (colored) to branchpoint 1.65 (colored)

Ssync with HEAD

Revision 1.67 / (download) - annotate - [select for diffs], Sun Sep 23 00:59:59 2018 UTC (4 years, 4 months ago) by cherry
Branch: MAIN
CVS Tags: pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930
Changes since 1.66: +3 -3 lines
Diff to previous 1.66 (colored)

Make XEN use the same api as native, for idt vector allocation
and registration.

lidt() placed in xenfunc() on maxv@ suggestion.

There should be no functional change due to this commit.

Tested on amd64 native and XEN.

Revision 1.65.2.1 / (download) - annotate - [select for diffs], Sat Apr 7 04:12:14 2018 UTC (4 years, 9 months ago) by pgoyette
Branch: pgoyette-compat
Changes since 1.65: +4 -4 lines
Diff to previous 1.65 (colored)

Sync with HEAD.  77 conflicts resolved - all of them $NetBSD$

Revision 1.58.2.5 / (download) - annotate - [select for diffs], Thu Apr 5 18:15:03 2018 UTC (4 years, 9 months ago) by martin
Branch: netbsd-8
CVS Tags: netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1
Changes since 1.58.2.4: +4 -4 lines
Diff to previous 1.58.2.4 (colored) to branchpoint 1.58 (colored)

Pull up following revision(s) (requested by christos in ticket #696):

	sys/arch/amd64/amd64/vector.S: revision 1.62 (patch)
	sys/arch/x86/include/intr.h: revision 1.55
	sys/arch/i386/i386/vector.S: revision 1.77
	sys/arch/i386/i386/db_interface.c: revision 1.82 (patch)
	sys/arch/amd64/amd64/spl.S: revision 1.34 (patch)
	sys/arch/amd64/amd64/db_interface.c: revision 1.33 (patch)
	sys/arch/x86/x86/intr.c: revision 1.125
	sys/arch/i386/i386/spl.S: revision 1.43 (patch)
	sys/arch/i386/i386/machdep.c: revision 1.805 (patch)
	sys/arch/x86/x86/lapic.c: revision 1.66 (patch)

Rename the DDB IPI IDT vectors for consistency. ok maxv@

Rename Xpreempt{recurse,resume} -> X{recurse,resume}_preempt so that
they fit the pattern. Also the debugger trap sniffer matches them
without adding special entries...

XXX: pullup-8.

Revision 1.66 / (download) - annotate - [select for diffs], Tue Apr 3 07:20:52 2018 UTC (4 years, 9 months ago) by christos
Branch: MAIN
CVS Tags: phil-wifi-base, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407
Branch point for: phil-wifi
Changes since 1.65: +4 -4 lines
Diff to previous 1.65 (colored)

Rename the DDB IPI IDT vectors for consistency. ok maxv@

Revision 1.46.12.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:50 2017 UTC (5 years, 1 month ago) by jdolecek
Branch: tls-maxphys
Changes since 1.46.12.1: +421 -86 lines
Diff to previous 1.46.12.1 (colored) to branchpoint 1.46 (colored) next main 1.47 (colored)

update from HEAD

Revision 1.58.2.4 / (download) - annotate - [select for diffs], Thu Nov 30 14:23:12 2017 UTC (5 years, 2 months ago) by martin
Branch: netbsd-8
Changes since 1.58.2.3: +3 -3 lines
Diff to previous 1.58.2.3 (colored) to branchpoint 1.58 (colored)

Pull up following revision(s) (requested by maxv in ticket #403):
	sys/arch/x86/x86/lapic.c: revision 1.63
Fix stack overflow, found when testing a new feature.

Revision 1.58.2.3 / (download) - annotate - [select for diffs], Thu Nov 30 14:21:48 2017 UTC (5 years, 2 months ago) by martin
Branch: netbsd-8
Changes since 1.58.2.2: +3 -3 lines
Diff to previous 1.58.2.2 (colored) to branchpoint 1.58 (colored)

Pull up following revision(s) (requested by maxv in ticket #402):
	sys/arch/x86/x86/lapic.c: revision 1.61
Fix a bug introduced in r1.55, this should be LAPIC_BASE.

Revision 1.65 / (download) - annotate - [select for diffs], Sun Nov 26 11:37:10 2017 UTC (5 years, 2 months ago) by maxv
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, pgoyette-compat-base, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: pgoyette-compat
Changes since 1.64: +2 -3 lines
Diff to previous 1.64 (colored)

Remove unused variables.

Revision 1.64 / (download) - annotate - [select for diffs], Thu Nov 23 19:53:20 2017 UTC (5 years, 2 months ago) by jmcneill
Branch: MAIN
Changes since 1.63: +20 -2 lines
Diff to previous 1.63 (colored)

Add a workaround for local APIC timers running under KVM. It seems these
timers don't reload the current-count register in periodic mode when it
reaches 0, so we need to detect this condition and reload it ourselves.

XXX pullup

Revision 1.63 / (download) - annotate - [select for diffs], Sat Nov 4 12:53:00 2017 UTC (5 years, 2 months ago) by maxv
Branch: MAIN
Changes since 1.62: +3 -3 lines
Diff to previous 1.62 (colored)

Fix stack overflow, found when testing a new feature.

Revision 1.47.6.5 / (download) - annotate - [select for diffs], Mon Aug 28 17:51:56 2017 UTC (5 years, 5 months ago) by skrll
Branch: nick-nhusb
Changes since 1.47.6.4: +371 -57 lines
Diff to previous 1.47.6.4 (colored) to branchpoint 1.47 (colored) next main 1.48 (colored)

Sync with HEAD

Revision 1.62 / (download) - annotate - [select for diffs], Tue Aug 15 09:08:39 2017 UTC (5 years, 5 months ago) by maxv
Branch: MAIN
CVS Tags: nick-nhusb-base-20170825
Changes since 1.61: +5 -5 lines
Diff to previous 1.61 (colored)

Rename intrddb -> intrddbipi, like i386.

Revision 1.61 / (download) - annotate - [select for diffs], Fri Aug 11 06:18:29 2017 UTC (5 years, 5 months ago) by maxv
Branch: MAIN
Changes since 1.60: +3 -3 lines
Diff to previous 1.60 (colored)

Fix a bug introduced in r1.55, this should be LAPIC_BASE.

Revision 1.58.2.2 / (download) - annotate - [select for diffs], Fri Jul 14 08:41:18 2017 UTC (5 years, 6 months ago) by martin
Branch: netbsd-8
CVS Tags: matt-nb8-mediatek-base, matt-nb8-mediatek
Changes since 1.58.2.1: +4 -3 lines
Diff to previous 1.58.2.1 (colored) to branchpoint 1.58 (colored)

Pull up following revision(s) (requested by nonaka in ticket #135):
	sys/arch/x86/x86/lapic.c: revision 1.60
PR/52266: Before access MSR[APICBASE], need to check if APIC is present.

Revision 1.60 / (download) - annotate - [select for diffs], Thu Jul 13 00:44:14 2017 UTC (5 years, 6 months ago) by nonaka
Branch: MAIN
CVS Tags: perseant-stdc-iso10646-base, perseant-stdc-iso10646
Changes since 1.59: +4 -3 lines
Diff to previous 1.59 (colored)

PR/52266: Before access MSR[APICBASE], need to check if APIC is present.

Revision 1.58.2.1 / (download) - annotate - [select for diffs], Mon Jul 10 12:26:21 2017 UTC (5 years, 6 months ago) by martin
Branch: netbsd-8
Changes since 1.58: +7 -5 lines
Diff to previous 1.58 (colored)

Pull up following revision(s) (requested by nonaka in ticket #110):
	sys/arch/x86/x86/lapic.c: revision 1.59
PR/52266: use rdmsr_safe(9) instead of rdmsr(9) for old machine.
tested by simonb@

Revision 1.59 / (download) - annotate - [select for diffs], Sat Jul 8 14:35:33 2017 UTC (5 years, 6 months ago) by nonaka
Branch: MAIN
Changes since 1.58: +7 -5 lines
Diff to previous 1.58 (colored)

PR/52266: use rdmsr_safe(9) instead of rdmsr(9) for old machine.

tested by simonb@

Revision 1.58 / (download) - annotate - [select for diffs], Tue May 23 08:54:39 2017 UTC (5 years, 8 months ago) by nonaka
Branch: MAIN
CVS Tags: netbsd-8-base
Branch point for: netbsd-8
Changes since 1.57: +351 -52 lines
Diff to previous 1.57 (colored)

x86: Add preliminary x2APIC support.

x2APIC is used only when x2APIC is enabled in BIOS/UEFI.
LAPIC ID is not supported above 256.

Revision 1.57 / (download) - annotate - [select for diffs], Tue May 23 03:23:58 2017 UTC (5 years, 8 months ago) by nonaka
Branch: MAIN
Changes since 1.56: +3 -3 lines
Diff to previous 1.56 (colored)

whitespace

Revision 1.51.2.4 / (download) - annotate - [select for diffs], Wed Apr 26 02:53:09 2017 UTC (5 years, 9 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.51.2.3: +20 -8 lines
Diff to previous 1.51.2.3 (colored) to branchpoint 1.51 (colored) next main 1.52 (colored)

Sync with HEAD

Revision 1.56 / (download) - annotate - [select for diffs], Sat Apr 22 04:29:31 2017 UTC (5 years, 9 months ago) by nonaka
Branch: MAIN
CVS Tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426
Changes since 1.55: +15 -3 lines
Diff to previous 1.55 (colored)

use CR8 instead of LAPIC Task Priority register on x86-64.

Revision 1.55 / (download) - annotate - [select for diffs], Sat Apr 22 04:24:26 2017 UTC (5 years, 9 months ago) by nonaka
Branch: MAIN
Changes since 1.54: +7 -7 lines
Diff to previous 1.54 (colored)

move LAPIC_MSR* to specialreg.h.

Revision 1.51.2.3 / (download) - annotate - [select for diffs], Sat Jan 7 08:56:28 2017 UTC (6 years ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.51.2.2: +3 -3 lines
Diff to previous 1.51.2.2 (colored) to branchpoint 1.51 (colored)

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

Revision 1.47.6.4 / (download) - annotate - [select for diffs], Mon Dec 5 10:54:59 2016 UTC (6 years, 1 month ago) by skrll
Branch: nick-nhusb
Changes since 1.47.6.3: +4 -6 lines
Diff to previous 1.47.6.3 (colored) to branchpoint 1.47 (colored)

Sync with HEAD

Revision 1.54 / (download) - annotate - [select for diffs], Fri Nov 25 14:12:56 2016 UTC (6 years, 2 months ago) by maxv
Branch: MAIN
CVS Tags: pgoyette-localcount-20170320, pgoyette-localcount-20170107, nick-nhusb-base-20170204, nick-nhusb-base-20161204, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan
Changes since 1.53: +3 -3 lines
Diff to previous 1.53 (colored)

Move the virtual address of the LAPIC page out of the data segment on amd64
and i386. The old design was error-prone, and it didn't allow us to map the
data segment with large pages.

Now, the VA is allocated dynamically in the pmap bootstrap code, and entered
manually later. We go from using &local_apic to using *local_apic_va, and we
therefore need one more level of indirection in the asm code.

Discussed on tech-kern.

Revision 1.51.2.2 / (download) - annotate - [select for diffs], Fri Nov 4 14:49:06 2016 UTC (6 years, 2 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.51.2.1: +3 -5 lines
Diff to previous 1.51.2.1 (colored) to branchpoint 1.51 (colored)

Sync with HEAD

Revision 1.53 / (download) - annotate - [select for diffs], Sat Oct 15 09:50:27 2016 UTC (6 years, 3 months ago) by maxv
Branch: MAIN
CVS Tags: pgoyette-localcount-20161104
Changes since 1.52: +3 -5 lines
Diff to previous 1.52 (colored)

Instead of setting the TPR to the value that was in the data segment, set
zero directly. On amd64, the data version of lapic_tpr is not explicitly
initialized.

Revision 1.47.6.3 / (download) - annotate - [select for diffs], Wed Oct 5 20:55:37 2016 UTC (6 years, 3 months ago) by skrll
Branch: nick-nhusb
Changes since 1.47.6.2: +3 -3 lines
Diff to previous 1.47.6.2 (colored) to branchpoint 1.47 (colored)

Sync with HEAD

Revision 1.51.2.1 / (download) - annotate - [select for diffs], Tue Jul 26 03:24:19 2016 UTC (6 years, 6 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.51: +3 -3 lines
Diff to previous 1.51 (colored)

Sync with HEAD

Revision 1.52 / (download) - annotate - [select for diffs], Mon Jul 25 12:11:40 2016 UTC (6 years, 6 months ago) by maxv
Branch: MAIN
CVS Tags: pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20161004, localcount-20160914
Changes since 1.51: +3 -3 lines
Diff to previous 1.51 (colored)

The L1 entry of the first page of the data segment is overwritten for the
LAPIC page, and set as RWX+PG_N. The LAPIC pa is fixed, and its va resides
in the data segment. Because of this error-prone design, the kernel image
map is not linear, and I first thought it was a bug (as I vaguely said in
PR/51148). Using large pages for the data segment is therefore wrong, since
the first page does not actually belong to the data segment (even if its va
is in the range). This bug is not triggered currently, since local_apic is
not large-page-aligned.

We will certainly have to allocate a va dynamically instead of using the
first page of data; but for now, disable large pages on the data segment,
and map the LAPIC as RW.

This is the last x86-specific RWX page.

Revision 1.47.6.2 / (download) - annotate - [select for diffs], Tue Sep 22 12:05:54 2015 UTC (7 years, 4 months ago) by skrll
Branch: nick-nhusb
Changes since 1.47.6.1: +48 -41 lines
Diff to previous 1.47.6.1 (colored) to branchpoint 1.47 (colored)

Sync with HEAD

Revision 1.47.4.2 / (download) - annotate - [select for diffs], Tue Aug 11 05:07:16 2015 UTC (7 years, 5 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-nhusb-base-20170116, netbsd-7-nhusb-base, netbsd-7-nhusb, netbsd-7-2-RELEASE, netbsd-7-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-2-RELEASE, netbsd-7-1-1-RELEASE, netbsd-7-1, netbsd-7-0-RELEASE, netbsd-7-0-RC3, netbsd-7-0-2-RELEASE, netbsd-7-0-1-RELEASE, netbsd-7-0
Changes since 1.47.4.1: +23 -14 lines
Diff to previous 1.47.4.1 (colored) to branchpoint 1.47 (colored) next main 1.48 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #948):
	sys/arch/x86/x86/mpacpi.c: revisions 1.99, 1.100
	sys/arch/x86/x86/lapic.c: revision 1.49
- Add lapic_dump() to print lapic's setting.
- Add mpacpi_dump() to dump mp_intrs[].
--
Configure ioapic before lapic because lapic(lapic_set_lvt()) checks the
existence of ioapic. This change fixes a problem that some machines hang
after attaching ehci (little after writing EHCI_USBINTR to enable interrupt).
Even though cold == 1, LAPIC_LVINT0 was not set as masked. Perhaps it's the
reason of the problem.
This problem was observed on SuperMicro X10SLX-F, X10SDV-TLN4F and
Shuttle DS57U without wm(4) driver.

Revision 1.51 / (download) - annotate - [select for diffs], Mon Jul 27 15:45:20 2015 UTC (7 years, 6 months ago) by msaitoh
Branch: MAIN
CVS Tags: pgoyette-localcount-base, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921
Branch point for: pgoyette-localcount
Changes since 1.50: +3 -3 lines
Diff to previous 1.50 (colored)

 KNF.

Revision 1.50 / (download) - annotate - [select for diffs], Fri Jul 17 06:41:18 2015 UTC (7 years, 6 months ago) by msaitoh
Branch: MAIN
Changes since 1.49: +31 -33 lines
Diff to previous 1.49 (colored)

 KNF. No functional change.

Revision 1.49 / (download) - annotate - [select for diffs], Wed Jul 15 04:49:02 2015 UTC (7 years, 6 months ago) by msaitoh
Branch: MAIN
Changes since 1.48: +23 -14 lines
Diff to previous 1.48 (colored)

- Add lapic_dump() to print lapic's setting.
- Add mpacpi_dump() to dump mp_intrs[].

Revision 1.47.6.1 / (download) - annotate - [select for diffs], Sat Jun 6 14:40:04 2015 UTC (7 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.47: +5 -6 lines
Diff to previous 1.47 (colored)

Sync with HEAD

Revision 1.47.4.1 / (download) - annotate - [select for diffs], Fri May 22 16:53:32 2015 UTC (7 years, 8 months ago) by snj
Branch: netbsd-7
CVS Tags: netbsd-7-0-RC2, netbsd-7-0-RC1
Changes since 1.47: +5 -6 lines
Diff to previous 1.47 (colored)

Pull up following revision(s) (requested by msaitoh in ticket #795):
	sys/arch/x86/x86/lapic.c: revision 1.48
Workaround for "lapic_set_lvt: bad pin value %d" panic on some (broken?) BIOS
system. Don't panic when a local APIC's interrput input pin number (LINTx) > 1.
Instead, print warning message and continue. The default is pin 1.
Same as Linux (and perhaps FreeBSD). Tested with Shuttle DS57U.

Revision 1.48 / (download) - annotate - [select for diffs], Mon May 18 13:04:21 2015 UTC (7 years, 8 months ago) by msaitoh
Branch: MAIN
CVS Tags: nick-nhusb-base-20150606
Changes since 1.47: +5 -6 lines
Diff to previous 1.47 (colored)

 Workaround for "lapic_set_lvt: bad pin value %d" panic on some (broken?) BIOS
system. Don't panic when a local APIC's interrput input pin number (LINTx) > 1.
Instead, print warning message and continue. The default is pin 1.
Same as Linux (and perhaps FreeBSD). Tested with Shuttle DS57U.

Revision 1.46.12.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:29 2014 UTC (8 years, 5 months ago) by tls
Branch: tls-maxphys
Changes since 1.46: +1 -1 lines
Diff to previous 1.46 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.46.2.1 / (download) - annotate - [select for diffs], Thu May 22 11:40:14 2014 UTC (8 years, 8 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.46: +3 -3 lines
Diff to previous 1.46 (colored) next main 1.47 (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.46.16.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:30 2014 UTC (8 years, 8 months ago) by rmind
Branch: rmind-smpnet
Changes since 1.46: +3 -3 lines
Diff to previous 1.46 (colored) next main 1.47 (colored)

sync with head

Revision 1.47 / (download) - annotate - [select for diffs], Fri Nov 15 08:47:55 2013 UTC (9 years, 2 months ago) by msaitoh
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, nick-nhusb-base-20150406, nick-nhusb-base, netbsd-7-base
Branch point for: nick-nhusb, netbsd-7
Changes since 1.46: +3 -3 lines
Diff to previous 1.46 (colored)

 Modify some macros and add some new macros for CPU family and model
to reduce code duplication and to avoid bug.

CPUID_TO_STEPPING(cpuid)	(not changed)

CPUID_TO_FAMILY(cpuid)		(new)
CPUID_TO_MODEL(cpuid)		(new)

	Return the display family and the display model.
	The macro names are the same as FreeBSD.

CPUID_TO_BASEFAMILY(cpuid)	(The old name was CPUID2FAMILY)
CPUID_TO_BASEMODEL(cpuid)	(The old name was CPUID2MODEL)

	Only for the base field.

CPUID_TO_EXTFAMILY(cpuid)	(The old name was CPUID2EXTFAMILY)
CPUID_TO_EXTMODEL(cpuid)	(The old name was CPUID2EXTMODEL)

	Only for the extended field.

See http://mail-index.netbsd.org/port-amd64/2013/11/12/msg001978.html

Revision 1.43.2.2 / (download) - annotate - [select for diffs], Sat Aug 27 15:37:30 2011 UTC (11 years, 5 months ago) by jym
Branch: jym-xensuspend
Changes since 1.43.2.1: +4 -11 lines
Diff to previous 1.43.2.1 (colored) to branchpoint 1.43 (colored) next main 1.44 (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.45.2.1 / (download) - annotate - [select for diffs], Thu Jun 23 14:19:48 2011 UTC (11 years, 7 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.45: +4 -6 lines
Diff to previous 1.45 (colored) next main 1.46 (colored)

Catchup with rmind-uvmplock merge.

Revision 1.46 / (download) - annotate - [select for diffs], Sun Jun 12 03:35:50 2011 UTC (11 years, 7 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-pagecache-tag8, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, 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, khorben-n900, jym-xensuspend-nbase, jym-xensuspend-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, agc-symver-base, agc-symver
Branch point for: yamt-pagecache, tls-maxphys, rmind-smpnet
Changes since 1.45: +4 -6 lines
Diff to previous 1.45 (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.44.6.1 / (download) - annotate - [select for diffs], Mon Jun 6 09:07:08 2011 UTC (11 years, 7 months ago) by jruoho
Branch: jruoho-x86intr
Changes since 1.44: +2 -7 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

Sync with HEAD.

Revision 1.44.4.2 / (download) - annotate - [select for diffs], Tue May 31 03:04:24 2011 UTC (11 years, 8 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.44.4.1: +2 -7 lines
Diff to previous 1.44.4.1 (colored) to branchpoint 1.44 (colored) next main 1.45 (colored)

sync with head

Revision 1.45 / (download) - annotate - [select for diffs], Wed May 18 12:53:04 2011 UTC (11 years, 8 months ago) by drochner
Branch: MAIN
CVS Tags: rmind-uvmplock-nbase, rmind-uvmplock-base, cherry-xenmp-base
Branch point for: cherry-xenmp
Changes since 1.44: +2 -7 lines
Diff to previous 1.44 (colored)

remove stale declarations / empty function

Revision 1.43.2.1 / (download) - annotate - [select for diffs], Sun Oct 24 22:48:19 2010 UTC (12 years, 3 months ago) by jym
Branch: jym-xensuspend
Changes since 1.43: +2 -3 lines
Diff to previous 1.43 (colored)

Sync with HEAD

Revision 1.44.4.1 / (download) - annotate - [select for diffs], Mon Apr 26 02:43:35 2010 UTC (12 years, 9 months ago) by rmind
Branch: rmind-uvmplock
Changes since 1.44: +4 -6 lines
Diff to previous 1.44 (colored)

Apply renovated patch to significantly reduce TLB shootdowns in x86 pmap,
also provide TLBSTATS option to measure and track TLB shootdowns.  Details:

http://mail-index.netbsd.org/port-i386/2009/01/11/msg001018.html

Patch from Andrew Doran, proposed on tech-x86 [sic], in January 2009.

XXX: amd64 and xen are not yet; work in progress.

Revision 1.34.4.3 / (download) - annotate - [select for diffs], Thu Mar 11 15:03:09 2010 UTC (12 years, 10 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.34.4.2: +2 -3 lines
Diff to previous 1.34.4.2 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored)

sync with head

Revision 1.44 / (download) - annotate - [select for diffs], Sat Nov 21 03:11:01 2009 UTC (13 years, 2 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, 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, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, matt-premerge-20091211, matt-mips64-premerge-20101231, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: rmind-uvmplock, jruoho-x86intr
Changes since 1.43: +2 -3 lines
Diff to previous 1.43 (colored)

Use lwp_getpcb() on x86 MD code, clean from struct user usage.

Revision 1.34.4.2 / (download) - annotate - [select for diffs], Mon May 4 08:12:11 2009 UTC (13 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.34.4.1: +8 -10 lines
Diff to previous 1.34.4.1 (colored) to branchpoint 1.34 (colored)

sync with head.

Revision 1.42.4.1 / (download) - annotate - [select for diffs], Tue Mar 3 18:29:37 2009 UTC (13 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (colored) next main 1.43 (colored)

Sync with HEAD.

Revision 1.43 / (download) - annotate - [select for diffs], Thu Jan 29 13:56:42 2009 UTC (14 years ago) by joerg
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, jymxensuspend-base
Branch point for: jym-xensuspend
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (colored)

rtclock_tval is defined as u_long in isa/clock.c, match.

Revision 1.33.6.2 / (download) - annotate - [select for diffs], Sun Sep 28 10:40:12 2008 UTC (14 years, 4 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.33.6.1: +1 -3 lines
Diff to previous 1.33.6.1 (colored) to branchpoint 1.33 (colored) next main 1.34 (colored)

Sync with HEAD.

Revision 1.35.2.2 / (download) - annotate - [select for diffs], Thu Sep 18 04:33:38 2008 UTC (14 years, 4 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.35.2.1: +3 -5 lines
Diff to previous 1.35.2.1 (colored) next main 1.36 (colored)

Sync with wrstuden-revivesa-base-2.

Revision 1.41.2.1 / (download) - annotate - [select for diffs], Thu Jul 3 18:37:57 2008 UTC (14 years, 7 months ago) by simonb
Branch: simonb-wapbl
Changes since 1.41: +3 -5 lines
Diff to previous 1.41 (colored) next main 1.42 (colored)

Sync with head.

Revision 1.42 / (download) - annotate - [select for diffs], Thu Jul 3 14:02:25 2008 UTC (14 years, 7 months ago) by drochner
Branch: MAIN
CVS Tags: wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, simonb-wapbl-nbase, simonb-wapbl-base, netbsd-5-base, netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2, netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, netbsd-5, mjf-devfs2-base, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-u2-k2-k4-k7-k8-k9, matt-nb5-mips64-u1-k1-k5, matt-nb5-mips64-premerge-20101231, matt-nb5-mips64-premerge-20091211, matt-nb5-mips64-k15, matt-nb5-mips64, matt-nb4-mips64-k7-u2a-k9b, matt-mips64-base2, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap
Changes since 1.41: +3 -5 lines
Diff to previous 1.41 (colored)

Remove "struct device" from "struct pic", where it was only real
for ioapics and faked up for others. Add it to "struct ioapic_softc"
for now, until device/softc get split.
This required all typecasts between "struct pic" and "struct ioapic_softc"
to be replaced, I hope I got them all.
functionally tested on i386, compile-tested on xen, untested on amd64

Revision 1.35.2.1 / (download) - annotate - [select for diffs], Mon Jun 23 04:30:50 2008 UTC (14 years, 7 months ago) by wrstuden
Branch: wrstuden-revivesa
Changes since 1.35: +62 -89 lines
Diff to previous 1.35 (colored)

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

Revision 1.34.2.2 / (download) - annotate - [select for diffs], Wed Jun 4 02:05:03 2008 UTC (14 years, 7 months ago) by yamt
Branch: yamt-pf42
Changes since 1.34.2.1: +6 -6 lines
Diff to previous 1.34.2.1 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored)

sync with head

Revision 1.33.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:22:51 2008 UTC (14 years, 8 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.33: +73 -108 lines
Diff to previous 1.33 (colored)

Sync with HEAD.

Revision 1.41 / (download) - annotate - [select for diffs], Wed May 21 01:15:16 2008 UTC (14 years, 8 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, wrstuden-revivesa-base-1, wrstuden-revivesa-base
Branch point for: simonb-wapbl
Changes since 1.40: +6 -6 lines
Diff to previous 1.40 (colored)

aprint_debug for the lapic ESR reports during startup.

Revision 1.34.2.1 / (download) - annotate - [select for diffs], Sun May 18 12:33:04 2008 UTC (14 years, 8 months ago) by yamt
Branch: yamt-pf42
Changes since 1.34: +62 -96 lines
Diff to previous 1.34 (colored)

sync with head.

Revision 1.34.4.1 / (download) - annotate - [select for diffs], Fri May 16 02:23:29 2008 UTC (14 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.34: +62 -96 lines
Diff to previous 1.34 (colored)

sync with head.

Revision 1.40 / (download) - annotate - [select for diffs], Tue May 13 22:39:18 2008 UTC (14 years, 8 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base2, yamt-nfs-mp-base2, hpcarm-cleanup-nbase
Changes since 1.39: +39 -7 lines
Diff to previous 1.39 (colored)

Be more conservative during AP startup. Don't let the AP access the lapic
or do any setup until the boot processor has finished the init sequence,
and add a few more delays.

Revision 1.39 / (download) - annotate - [select for diffs], Mon May 12 23:46:01 2008 UTC (14 years, 8 months ago) by ad
Branch: MAIN
Changes since 1.38: +21 -4 lines
Diff to previous 1.38 (colored)

- lapic_map: if we have an APIC MSR, ignore the supplied address and ask the
  hardware where it is mapped. At least one ACPI implementation seems to lie
  about the physical address of the lapic.

- lapic_initclocks: be paranoid and issue an EOI.

Revision 1.38 / (download) - annotate - [select for diffs], Sun May 11 21:50:06 2008 UTC (14 years, 8 months ago) by ad
Branch: MAIN
Changes since 1.37: +3 -3 lines
Diff to previous 1.37 (colored)

splclock -> splhigh

Revision 1.37 / (download) - annotate - [select for diffs], Sun May 11 15:59:51 2008 UTC (14 years, 8 months ago) by ad
Branch: MAIN
Changes since 1.36: +4 -4 lines
Diff to previous 1.36 (colored)

Stop using APIC IDs to identify CPUs for software purposes. Allows for
APIC IDs beyond 31, which has been possible for some time now.

Revision 1.36 / (download) - annotate - [select for diffs], Sat May 10 15:05:01 2008 UTC (14 years, 8 months ago) by ad
Branch: MAIN
Changes since 1.35: +3 -79 lines
Diff to previous 1.35 (colored)

Remove tsc debugging code.

Revision 1.35 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:40 2008 UTC (14 years, 9 months ago) by martin
Branch: MAIN
Branch point for: wrstuden-revivesa
Changes since 1.34: +2 -9 lines
Diff to previous 1.34 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.34 / (download) - annotate - [select for diffs], Wed Apr 16 16:06:52 2008 UTC (14 years, 9 months ago) by cegger
Branch: MAIN
CVS Tags: yamt-pf42-baseX, yamt-pf42-base, yamt-pf42-X, yamt-nfs-mp-base
Branch point for: yamt-pf42, yamt-nfs-mp
Changes since 1.33: +15 -16 lines
Diff to previous 1.33 (colored)

- use aprint_*_dev and device_xname
- use POSIX integer types

Revision 1.21.2.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:28 2008 UTC (14 years, 10 months ago) by matt
Branch: matt-armv6
Changes since 1.21.2.2: +51 -44 lines
Diff to previous 1.21.2.2 (colored) next main 1.22 (colored)

sync with HEAD

Revision 1.25.2.4 / (download) - annotate - [select for diffs], Mon Feb 18 21:05:17 2008 UTC (14 years, 11 months ago) by mjf
Branch: mjf-devfs
Changes since 1.25.2.3: +56 -51 lines
Diff to previous 1.25.2.3 (colored) to branchpoint 1.25 (colored) next main 1.26 (colored)

Sync with HEAD.

Revision 1.12.2.9 / (download) - annotate - [select for diffs], Mon Feb 4 09:22:51 2008 UTC (14 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.12.2.8: +51 -44 lines
Diff to previous 1.12.2.8 (colored) to branchpoint 1.12 (colored) next main 1.13 (colored)

sync with head.

Revision 1.33 / (download) - annotate - [select for diffs], Fri Jan 25 18:56:55 2008 UTC (15 years ago) by xtraeme
Branch: MAIN
CVS Tags: yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, ad-socklock-base1
Branch point for: mjf-devfs2
Changes since 1.32: +16 -8 lines
Diff to previous 1.32 (colored)

Some indentation for a few printfs that weren't respecting 80 chars
per line.

Revision 1.32 / (download) - annotate - [select for diffs], Fri Jan 25 18:50:22 2008 UTC (15 years ago) by joerg
Branch: MAIN
Changes since 1.31: +21 -31 lines
Diff to previous 1.31 (colored)

Simplify the calibration code a great bit by just waiting around 100ms
polling the i8254 as reference and counting the cycles with that.
Disable interrupts. This should be relatively stable even in the light
of SMIs as long as they happen in the middle of the loop. This fixes
long delays during boot.

If greater precision for the calibration is desired, a second run should
be done at a different time when the HPET or ACPI timer is present. Both
provide much faster access (less jitter) and a higher frequency.

Revision 1.31 / (download) - annotate - [select for diffs], Wed Jan 23 20:02:16 2008 UTC (15 years ago) by joerg
Branch: MAIN
Changes since 1.30: +18 -9 lines
Diff to previous 1.30 (colored)

Initialise the Local Vector Table of the primary LAPIC directly after
enabling it. Explicitly initialise LINT0 as ExtInt and LINT1 as NMI,
the platform default. Mask the NMIs on the application processors and
mask the ExtInt if a IOAPIC was found.

With this patch, "disable ioapic" is supposed to work and it will allow
enabling the local APIC on all systems that have one to gain e.g. the
better clock interrupt.

Revision 1.12.2.8 / (download) - annotate - [select for diffs], Mon Jan 21 09:40:15 2008 UTC (15 years ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.12.2.7: +14 -16 lines
Diff to previous 1.12.2.7 (colored) to branchpoint 1.12 (colored)

sync with head

Revision 1.21.2.2 / (download) - annotate - [select for diffs], Wed Jan 9 01:49:57 2008 UTC (15 years ago) by matt
Branch: matt-armv6
Changes since 1.21.2.1: +108 -86 lines
Diff to previous 1.21.2.1 (colored)

sync with HEAD

Revision 1.29.2.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:51:24 2008 UTC (15 years, 1 month ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.29: +7 -9 lines
Diff to previous 1.29 (colored) next main 1.30 (colored)

Sync with HEAD

Revision 1.25.2.3 / (download) - annotate - [select for diffs], Thu Dec 27 00:43:27 2007 UTC (15 years, 1 month ago) by mjf
Branch: mjf-devfs
Changes since 1.25.2.2: +9 -9 lines
Diff to previous 1.25.2.2 (colored) to branchpoint 1.25 (colored)

Sync with HEAD.

Revision 1.27.2.2 / (download) - annotate - [select for diffs], Wed Dec 26 21:38:50 2007 UTC (15 years, 1 month ago) by ad
Branch: vmlocking2
Changes since 1.27.2.1: +14 -16 lines
Diff to previous 1.27.2.1 (colored) to branchpoint 1.27 (colored) next main 1.28 (colored)

Sync with head.

Revision 1.30 / (download) - annotate - [select for diffs], Wed Dec 26 11:51:12 2007 UTC (15 years, 1 month ago) by yamt
Branch: MAIN
CVS Tags: vmlocking2-base3, matt-armv6-base, bouyer-xeni386-nbase, bouyer-xeni386-base
Changes since 1.29: +7 -9 lines
Diff to previous 1.29 (colored)

- share idt entry allocation code among x86.
- introduce a function to reserve an idt entry and use it instead of
  manipulating idt_allocmap directly.
- rename idt to xen_idt for amd64 xen.  add missing #ifdef XEN.

Revision 1.28.2.1 / (download) - annotate - [select for diffs], Tue Dec 11 15:22:15 2007 UTC (15 years, 1 month ago) by yamt
Branch: yamt-kmem
Changes since 1.28: +9 -9 lines
Diff to previous 1.28 (colored) next main 1.29 (colored)

sync with head.

Revision 1.29 / (download) - annotate - [select for diffs], Sun Dec 9 20:27:50 2007 UTC (15 years, 1 month 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.28: +9 -9 lines
Diff to previous 1.28 (colored)

Merge jmcneill-pm branch.

Revision 1.20.22.11 / (download) - annotate - [select for diffs], Sun Dec 9 19:36:29 2007 UTC (15 years, 1 month ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.20.22.10: +66 -2 lines
Diff to previous 1.20.22.10 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

Sync with HEAD.

Revision 1.25.2.2 / (download) - annotate - [select for diffs], Sat Dec 8 18:18:13 2007 UTC (15 years, 1 month ago) by mjf
Branch: mjf-devfs
Changes since 1.25.2.1: +66 -2 lines
Diff to previous 1.25.2.1 (colored) to branchpoint 1.25 (colored)

Sync with HEAD.

Revision 1.27.2.1 / (download) - annotate - [select for diffs], Sat Dec 8 17:56:33 2007 UTC (15 years, 1 month ago) by ad
Branch: vmlocking2
Changes since 1.27: +66 -2 lines
Diff to previous 1.27 (colored)

Sync with head.

Revision 1.12.2.7 / (download) - annotate - [select for diffs], Fri Dec 7 17:27:01 2007 UTC (15 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.12.2.6: +66 -2 lines
Diff to previous 1.12.2.6 (colored) to branchpoint 1.12 (colored)

sync with head

Revision 1.28 / (download) - annotate - [select for diffs], Mon Dec 3 22:17:28 2007 UTC (15 years, 2 months ago) by joerg
Branch: MAIN
CVS Tags: yamt-kmem-base, vmlocking2-base2, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base
Branch point for: yamt-kmem
Changes since 1.27: +66 -2 lines
Diff to previous 1.27 (colored)

Add a CPU local timer based on the LAPIC. This is consistently faster
than TSC, but doesn't suffer from SpeedStep as TSC does.

The default quality is higher than HPET for UP, but -100 for
MULTIPROCESSOR as it needs CPU local state which doesn't exist yet.

Revision 1.20.6.4 / (download) - annotate - [select for diffs], Mon Dec 3 18:40:18 2007 UTC (15 years, 2 months ago) by ad
Branch: vmlocking
Changes since 1.20.6.3: +39 -78 lines
Diff to previous 1.20.6.3 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

Sync with HEAD.

Revision 1.25.2.1 / (download) - annotate - [select for diffs], Mon Nov 19 00:47:02 2007 UTC (15 years, 2 months ago) by mjf
Branch: mjf-devfs
Changes since 1.25: +32 -72 lines
Diff to previous 1.25 (colored)

Sync with HEAD.

Revision 1.23.2.2 / (download) - annotate - [select for diffs], Sun Nov 18 19:34:49 2007 UTC (15 years, 2 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.23.2.1: +30 -70 lines
Diff to previous 1.23.2.1 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored)

Sync with HEAD

Revision 1.12.2.6 / (download) - annotate - [select for diffs], Thu Nov 15 11:43:42 2007 UTC (15 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.12.2.5: +32 -72 lines
Diff to previous 1.12.2.5 (colored) to branchpoint 1.12 (colored)

sync with head.

Revision 1.20.22.10 / (download) - annotate - [select for diffs], Wed Nov 14 19:04:16 2007 UTC (15 years, 2 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.20.22.9: +6 -9 lines
Diff to previous 1.20.22.9 (colored) to branchpoint 1.20 (colored)

Sync with HEAD.

Revision 1.27 / (download) - annotate - [select for diffs], Wed Nov 14 15:54:22 2007 UTC (15 years, 2 months ago) by joerg
Branch: MAIN
CVS Tags: vmlocking2-base1, vmlocking-nbase, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: vmlocking2
Changes since 1.26: +28 -66 lines
Diff to previous 1.26 (colored)

Merge from jmcneill-pm:
Add some more defines from the spec. Remove some old ones not
existing in the current Intel Architecture Guide. Use some more
understandable names.

ANSIfy and use uintXX_t to hurt my eyes less.

Further improve readability by exploiting __HAVE_TIMECOUNTER as
invariance on x86 platforms.

Revision 1.20.22.9 / (download) - annotate - [select for diffs], Wed Nov 14 15:39:45 2007 UTC (15 years, 2 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.20.22.8: +2 -10 lines
Diff to previous 1.20.22.8 (colored) to branchpoint 1.20 (colored)

GC lapic_state.

Revision 1.26 / (download) - annotate - [select for diffs], Wed Nov 14 14:50:33 2007 UTC (15 years, 2 months ago) by ad
Branch: MAIN
Changes since 1.25: +6 -8 lines
Diff to previous 1.25 (colored)

Use i8254_delay().

Revision 1.23.2.1 / (download) - annotate - [select for diffs], Tue Nov 13 16:00:23 2007 UTC (15 years, 2 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.23: +10 -9 lines
Diff to previous 1.23 (colored)

Sync with HEAD

Revision 1.21.2.1 / (download) - annotate - [select for diffs], Tue Nov 6 23:23:50 2007 UTC (15 years, 2 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.21: +16 -11 lines
Diff to previous 1.21 (colored)

sync with HEAD

Revision 1.20.22.8 / (download) - annotate - [select for diffs], Sun Oct 28 20:11:01 2007 UTC (15 years, 3 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.20.22.7: +10 -9 lines
Diff to previous 1.20.22.7 (colored) to branchpoint 1.20 (colored)

Sync with HEAD.

Revision 1.12.2.5 / (download) - annotate - [select for diffs], Sat Oct 27 11:29:02 2007 UTC (15 years, 3 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.12.2.4: +12 -11 lines
Diff to previous 1.12.2.4 (colored) to branchpoint 1.12 (colored)

sync with head.

Revision 1.25 / (download) - annotate - [select for diffs], Fri Oct 26 13:24:41 2007 UTC (15 years, 3 months ago) by joerg
Branch: MAIN
CVS Tags: jmcneill-base
Branch point for: mjf-devfs
Changes since 1.24: +10 -9 lines
Diff to previous 1.24 (colored)

Match delay/DELAY on x86 with delay(9). It takes an unsigned int as
argument. Use this and replace the inline assembly (mul + div using the
64bit intermediate result) with normal 32bit multiplication and
division. The compiler can turn the division into a multiplication and
shift, making it even cheaper then the original assembly. For extreme
long delays, just use 64bit arithmetic.

Revision 1.24 / (download) - annotate - [select for diffs], Wed Oct 17 19:58:17 2007 UTC (15 years, 3 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4
Changes since 1.23: +2 -2 lines
Diff to previous 1.23 (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.20.6.3 / (download) - annotate - [select for diffs], Tue Oct 9 13:38:46 2007 UTC (15 years, 3 months ago) by ad
Branch: vmlocking
Changes since 1.20.6.2: +4 -4 lines
Diff to previous 1.20.6.2 (colored) to branchpoint 1.20 (colored)

Sync with head.

Revision 1.22.2.1 / (download) - annotate - [select for diffs], Sat Oct 6 15:33:36 2007 UTC (15 years, 3 months ago) by yamt
Branch: yamt-x86pmap
Changes since 1.22: +4 -4 lines
Diff to previous 1.22 (colored) next main 1.23 (colored)

sync with head.

Revision 1.20.14.1 / (download) - annotate - [select for diffs], Wed Oct 3 19:25:55 2007 UTC (15 years, 4 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.20: +13 -6 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

Sync with HEAD

Revision 1.20.22.7 / (download) - annotate - [select for diffs], Tue Oct 2 18:27:53 2007 UTC (15 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.20.22.6: +4 -4 lines
Diff to previous 1.20.22.6 (colored) to branchpoint 1.20 (colored)

Sync with HEAD.

Revision 1.23 / (download) - annotate - [select for diffs], Wed Sep 26 19:48:43 2007 UTC (15 years, 4 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.22: +4 -4 lines
Diff to previous 1.22 (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.20.22.6 / (download) - annotate - [select for diffs], Thu Sep 6 17:07:15 2007 UTC (15 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.20.22.5: +5 -5 lines
Diff to previous 1.20.22.5 (colored) to branchpoint 1.20 (colored)

Add some more defines from the spec. Remove some old ones not
existing in the current Intel Architecture Guide. Use some more
understandable names.

Revision 1.20.22.5 / (download) - annotate - [select for diffs], Thu Sep 6 00:55:03 2007 UTC (15 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.20.22.4: +6 -43 lines
Diff to previous 1.20.22.4 (colored) to branchpoint 1.20 (colored)

Further improve readability by exploiting __HAVE_TIMECOUTNER as
invariance on x86 platforms.

Revision 1.20.22.4 / (download) - annotate - [select for diffs], Wed Sep 5 22:31:33 2007 UTC (15 years, 4 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.20.22.3: +26 -31 lines
Diff to previous 1.20.22.3 (colored) to branchpoint 1.20 (colored)

ANSIfy and use uintXX_t to hurt my eyes less.

Revision 1.20.22.3 / (download) - annotate - [select for diffs], Mon Sep 3 16:47:48 2007 UTC (15 years, 5 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.20.22.2: +6 -2 lines
Diff to previous 1.20.22.2 (colored) to branchpoint 1.20 (colored)

Sync with HEAD.

Revision 1.12.2.4 / (download) - annotate - [select for diffs], Mon Sep 3 14:31:27 2007 UTC (15 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.12.2.3: +11 -4 lines
Diff to previous 1.12.2.3 (colored) to branchpoint 1.12 (colored)

sync with head.

Revision 1.20.18.2 / (download) - annotate - [select for diffs], Mon Sep 3 10:19:53 2007 UTC (15 years, 5 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.20.18.1: +6 -2 lines
Diff to previous 1.20.18.1 (colored) to branchpoint 1.20 (colored) next main 1.21 (colored)

Sync with HEAD.

Revision 1.22 / (download) - annotate - [select for diffs], Wed Aug 29 23:38:06 2007 UTC (15 years, 5 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base, nick-csl-alignment-base5
Branch point for: yamt-x86pmap
Changes since 1.21: +6 -2 lines
Diff to previous 1.21 (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.20.6.2 / (download) - annotate - [select for diffs], Mon Aug 20 18:39:18 2007 UTC (15 years, 5 months ago) by ad
Branch: vmlocking
Changes since 1.20.6.1: +7 -4 lines
Diff to previous 1.20.6.1 (colored) to branchpoint 1.20 (colored)

Sync with HEAD.

Revision 1.20.18.1 / (download) - annotate - [select for diffs], Wed Aug 15 13:47:58 2007 UTC (15 years, 5 months ago) by skrll
Branch: nick-csl-alignment
Changes since 1.20: +7 -4 lines
Diff to previous 1.20 (colored)

Sync with HEAD.

Revision 1.20.22.2 / (download) - annotate - [select for diffs], Thu Aug 9 02:37:03 2007 UTC (15 years, 5 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.20.22.1: +7 -4 lines
Diff to previous 1.20.22.1 (colored) to branchpoint 1.20 (colored)

Sync with HEAD.

Revision 1.21 / (download) - annotate - [select for diffs], Tue Aug 7 11:28:26 2007 UTC (15 years, 5 months ago) by ad
Branch: MAIN
Branch point for: matt-armv6
Changes since 1.20: +7 -4 lines
Diff to previous 1.20 (colored)

x86_ipi: don't wait for the IPI to go, unless DIAGNOSTIC. If it doesn't go,
the system is going to fail regardless.

Revision 1.20.22.1 / (download) - annotate - [select for diffs], Fri Aug 3 22:17:11 2007 UTC (15 years, 6 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.20: +15 -2 lines
Diff to previous 1.20 (colored)

Pull in power management changes from private branch.

Revision 1.20.6.1 / (download) - annotate - [select for diffs], Sun Jul 29 10:18:52 2007 UTC (15 years, 6 months ago) by ad
Branch: vmlocking
Changes since 1.20: +6 -2 lines
Diff to previous 1.20 (colored)

- When zeroing/copying pages, use SSE2 movtni to avoid polluting the cache.
- By default, align assembly routines on 32-byte starting boundaries.
- There are now 8 interrupt priority levels, half of which are softints.
  Update intrdefs.h to match.
- Always clear/set spinlock words - removes lots of ifdefs.
- Remove the horrible ci_self150 hack that I introduced.
- Overhaul how TLB shootdown is performed. Inspired by a similar change in
  OpenBSD but implemented quite differently. This should be a lot faster
  but I have not benchmarked it yet.

Revision 1.12.2.3 / (download) - annotate - [select for diffs], Mon Feb 26 09:08:51 2007 UTC (15 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.12.2.2: +5 -4 lines
Diff to previous 1.12.2.2 (colored) to branchpoint 1.12 (colored)

sync with head.

Revision 1.20 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:14 2007 UTC (15 years, 11 months ago) by ad
Branch: MAIN
CVS Tags: yamt-idlelwp-base8, yamt-idlelwp, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, post-newlock2-merge, nick-csl-alignment-base, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, hpcarm-cleanup, ad-audiomp-base, ad-audiomp
Branch point for: vmlocking, ppcoea-renovation, nick-csl-alignment, jmcneill-pm
Changes since 1.19: +5 -4 lines
Diff to previous 1.19 (colored)

Merge newlock2 to head.

Revision 1.16.6.3 / (download) - annotate - [select for diffs], Tue Feb 6 13:11:47 2007 UTC (15 years, 11 months ago) by ad
Branch: newlock2
Changes since 1.16.6.2: +5 -4 lines
Diff to previous 1.16.6.2 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored)

Quieten noisy boot messages.

Revision 1.16.6.2 / (download) - annotate - [select for diffs], Fri Jan 12 01:01:01 2007 UTC (16 years ago) by ad
Branch: newlock2
Changes since 1.16.6.1: +5 -5 lines
Diff to previous 1.16.6.1 (colored) to branchpoint 1.16 (colored)

Sync with head.

Revision 1.12.2.2 / (download) - annotate - [select for diffs], Sat Dec 30 20:47:22 2006 UTC (16 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.12.2.1: +7 -6 lines
Diff to previous 1.12.2.1 (colored) to branchpoint 1.12 (colored)

sync with head.

Revision 1.16.8.2 / (download) - annotate - [select for diffs], Sun Dec 10 07:16:43 2006 UTC (16 years, 1 month ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.16.8.1: +9 -9 lines
Diff to previous 1.16.8.1 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored)

sync with head.

Revision 1.19 / (download) - annotate - [select for diffs], Fri Dec 8 15:05:18 2006 UTC (16 years, 1 month ago) by yamt
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, newlock2-nbase, newlock2-base
Changes since 1.18: +5 -5 lines
Diff to previous 1.18 (colored)

- pass intrframe by-pointer, not by-value.
- make i386 and xen use per-cpu interrupt stack.

xen part is reviewed by Manuel Bouyer.

Revision 1.16.6.1 / (download) - annotate - [select for diffs], Sat Nov 18 21:29:39 2006 UTC (16 years, 2 months ago) by ad
Branch: newlock2
Changes since 1.16: +4 -3 lines
Diff to previous 1.16 (colored)

Sync with head.

Revision 1.18 / (download) - annotate - [select for diffs], Thu Nov 16 01:32:39 2006 UTC (16 years, 2 months ago) by christos
Branch: MAIN
CVS Tags: wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, 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, netbsd-4, matt-nb4-arm-base, matt-nb4-arm
Changes since 1.17: +7 -7 lines
Diff to previous 1.17 (colored)

__unused removal on arguments; approved by core.

Revision 1.16.8.1 / (download) - annotate - [select for diffs], Sun Oct 22 06:05:16 2006 UTC (16 years, 3 months ago) by yamt
Branch: yamt-splraiseipl
Changes since 1.16: +7 -6 lines
Diff to previous 1.16 (colored)

sync with head

Revision 1.17 / (download) - annotate - [select for diffs], Thu Oct 12 01:30:44 2006 UTC (16 years, 3 months ago) by christos
Branch: MAIN
CVS Tags: yamt-splraiseipl-base2
Changes since 1.16: +7 -6 lines
Diff to previous 1.16 (colored)

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

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:44:49 2006 UTC (16 years, 4 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.15: +91 -13 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

sync with head

Revision 1.15.6.1 / (download) - annotate - [select for diffs], Mon Jun 26 12:45:40 2006 UTC (16 years, 7 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.15: +91 -13 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

sync with head.

Revision 1.12.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:58:06 2006 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.12: +100 -22 lines
Diff to previous 1.12 (colored)

sync with head.

Revision 1.15.12.1 / (download) - annotate - [select for diffs], Mon Jun 19 03:45:15 2006 UTC (16 years, 7 months ago) by chap
Branch: chap-midi
Changes since 1.15: +91 -13 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

Sync with head.

Revision 1.16 / (download) - annotate - [select for diffs], Wed Jun 7 22:41:09 2006 UTC (16 years, 7 months ago) by kardel
Branch: MAIN
CVS Tags: yamt-splraiseipl-base, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, rpaulo-netinet-merge-pcb-base, gdamore-uart-base, gdamore-uart, chap-midi-nbase, chap-midi-base, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-splraiseipl, newlock2
Changes since 1.15: +91 -13 lines
Diff to previous 1.15 (colored)

add timecounter support (from branch simonb-timecounters)

Revision 1.15.4.3 / (download) - annotate - [select for diffs], Sun Apr 30 17:55:45 2006 UTC (16 years, 9 months ago) by kardel
Branch: simonb-timecounters
CVS Tags: simonb-timcounters-final
Changes since 1.15.4.2: +79 -3 lines
Diff to previous 1.15.4.2 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

- initialize rtclock (i8254) appropriately
- add lapic late interrupt detection debug code

Revision 1.15.4.2 / (download) - annotate - [select for diffs], Tue Feb 28 20:57:57 2006 UTC (16 years, 11 months ago) by kardel
Branch: simonb-timecounters
Changes since 1.15.4.1: +7 -5 lines
Diff to previous 1.15.4.1 (colored) to branchpoint 1.15 (colored)

disable i8254 reloading when using the lapic timer for interrupts
reverse __HAVE_TIMECOUNTER test for microset code

Revision 1.15.4.1 / (download) - annotate - [select for diffs], Sat Feb 4 15:31:49 2006 UTC (16 years, 11 months ago) by simonb
Branch: simonb-timecounters
Changes since 1.15: +13 -13 lines
Diff to previous 1.15 (colored)

For timecounters, we don't need to do the microset thing, nor set up
variables used by old NTP code.

Revision 1.14.2.1 / (download) - annotate - [select for diffs], Sun Jan 15 10:02:39 2006 UTC (17 years ago) by yamt
Branch: yamt-uio_vmspace
Changes since 1.14: +9 -9 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

sync with head.

Revision 1.15 / (download) - annotate - [select for diffs], Wed Jan 4 00:15:50 2006 UTC (17 years ago) by rpaulo
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-pdpolicy-base5, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, simonb-timecounters-base, peter-altq-base, peter-altq, elad-kernelauth-base, elad-kernelauth
Branch point for: yamt-pdpolicy, simonb-timecounters, rpaulo-netinet-merge-pcb, chap-midi
Changes since 1.14: +9 -9 lines
Diff to previous 1.14 (colored)

Kill __P.

Revision 1.14 / (download) - annotate - [select for diffs], Sat Dec 24 20:07:42 2005 UTC (17 years, 1 month ago) by perry
Branch: MAIN
Branch point for: yamt-uio_vmspace
Changes since 1.13: +4 -4 lines
Diff to previous 1.13 (colored)

Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.

Revision 1.13 / (download) - annotate - [select for diffs], Sun Dec 11 12:19:47 2005 UTC (17 years, 1 month ago) by christos
Branch: MAIN
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

merge ktrace-lwp.

Revision 1.2.2.5 / (download) - annotate - [select for diffs], Thu Nov 10 14:00:20 2005 UTC (17 years, 2 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.2.2.4: +8 -8 lines
Diff to previous 1.2.2.4 (colored) next main 1.3 (colored)

Sync with HEAD. Here we go again...

Revision 1.12 / (download) - annotate - [select for diffs], Sun May 29 21:36:40 2005 UTC (17 years, 8 months ago) by christos
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
Branch point for: yamt-lazymbuf
Changes since 1.11: +8 -8 lines
Diff to previous 1.11 (colored)

avoid variable shadowing.

Revision 1.2.2.4 / (download) - annotate - [select for diffs], Mon Jan 17 19:30:28 2005 UTC (18 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.2.2.3: +7 -3 lines
Diff to previous 1.2.2.3 (colored)

Sync with HEAD.

Revision 1.11 / (download) - annotate - [select for diffs], Thu Jan 13 00:08:22 2005 UTC (18 years ago) by fvdl
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
Changes since 1.10: +7 -3 lines
Diff to previous 1.10 (colored)

* Wrap IPI sending in splclock(), since an interrupt at IPL_CLOCK or lower
  may cause IPIs.
* Make broadcast IPIs go through x86_ipi() as well, so that they wait for
  the APIC to be ready too.

From Stephan Uphoff.

Revision 1.2.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:24:30 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.2.2.2: +2 -2 lines
Diff to previous 1.2.2.2 (colored)

Fix the sync with head I botched.

Revision 1.2.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:42:43 2004 UTC (18 years, 4 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.2.2.1: +0 -0 lines
Diff to previous 1.2.2.1 (colored)

Sync with HEAD.

Revision 1.2.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:43:05 2004 UTC (18 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.2: +51 -26 lines
Diff to previous 1.2 (colored)

Sync with HEAD

Revision 1.10 / (download) - annotate - [select for diffs], Thu Jul 1 13:00:39 2004 UTC (18 years, 7 months ago) by yamt
Branch: MAIN
CVS Tags: kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Changes since 1.9: +16 -2 lines
Diff to previous 1.9 (colored)

{i8254,lapic}_initclocks: try to be more precise using fixtick.

Revision 1.9 / (download) - annotate - [select for diffs], Wed Jun 30 14:46:07 2004 UTC (18 years, 7 months ago) by kochi
Branch: MAIN
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

fix a duplicate member in designated initializers, which was a bug
introduced in rev 1.5.
pointed out by Andreas Gustafsson.

Revision 1.8 / (download) - annotate - [select for diffs], Sat Jun 5 07:15:57 2004 UTC (18 years, 7 months ago) by yamt
Branch: MAIN
Changes since 1.7: +25 -18 lines
Diff to previous 1.7 (colored)

- introduce a function, i82489_icr_wait, which waits for
  LAPIC_DLSTAT_BUSY cleared, and use it where appropriate.
- panic if lapic's busy too long and DIAGNOSTIC.

Revision 1.7 / (download) - annotate - [select for diffs], Wed May 12 20:05:24 2004 UTC (18 years, 8 months ago) by yamt
Branch: MAIN
Changes since 1.6: +4 -4 lines
Diff to previous 1.6 (colored)

x86_ipi: call x86_pause() in busy loops.

Revision 1.4.2.1 / (download) - annotate - [select for diffs], Thu May 6 05:33:14 2004 UTC (18 years, 8 months ago) by jmc
Branch: netbsd-2-0
CVS Tags: netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2
Changes since 1.4: +3 -3 lines
Diff to previous 1.4 (colored) next main 1.5 (colored)

Pullup rev 1.6 (requested by toshii in ticket #254)

Compile TSC support code when __x86_64__ is defined.

Revision 1.6 / (download) - annotate - [select for diffs], Fri Apr 30 17:58:04 2004 UTC (18 years, 9 months ago) by toshii
Branch: MAIN
Changes since 1.5: +3 -3 lines
Diff to previous 1.5 (colored)

Compile TSC support code when __x86_64__ is defined.

Revision 1.5 / (download) - annotate - [select for diffs], Sat Apr 10 14:49:55 2004 UTC (18 years, 9 months ago) by kochi
Branch: MAIN
Changes since 1.4: +11 -9 lines
Diff to previous 1.4 (colored)

use designated initializer for struct pic initializers.
just for readability.

Revision 1.4 / (download) - annotate - [select for diffs], Fri Feb 13 11:36:20 2004 UTC (18 years, 11 months ago) by wiz
Branch: MAIN
CVS Tags: netbsd-2-0-base
Branch point for: netbsd-2-0
Changes since 1.3: +3 -3 lines
Diff to previous 1.3 (colored)

Uppercase CPU, plural is CPUs.

Revision 1.3 / (download) - annotate - [select for diffs], Mon Jul 14 22:32:40 2003 UTC (19 years, 6 months ago) by lukem
Branch: MAIN
Changes since 1.2: +3 -1 lines
Diff to previous 1.2 (colored)

add __KERNEL_RCSID()

Revision 1.2 / (download) - annotate - [select for diffs], Thu May 8 01:04:35 2003 UTC (19 years, 8 months ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.1: +3 -1 lines
Diff to previous 1.1 (colored)

Add x86_pause() inline function, containing the "pause" instruction
for i386, and nothing for amd64. Sprinkle it in various spinloops,
as recommended by Intel.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Feb 26 21:26:12 2003 UTC (19 years, 11 months ago) by fvdl
Branch: MAIN

Move some files out of i386 into x86, so that they can be shared with
other ports.

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>