CVS log for src/sys/arch/i386/i386/genassym.cf
Up to [cvs.NetBSD.org] / src / sys / arch / i386 / i386
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.135: download - view: text, markup, annotated - select for diffs
Wed Oct 4 20:28:05 2023 UTC (14 months, 1 week ago) by ad
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-altq-separation-base,
thorpej-altq-separation,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
HEAD
Diff to: previous 1.134: preferred, colored
Changes since revision 1.134: +5 -3
lines
Eliminate l->l_ncsw and l->l_nivcsw. From memory think they were added
before we had per-LWP struct rusage; the same is now tracked there.
Revision 1.134: download - view: text, markup, annotated - select for diffs
Sat Sep 23 14:41:15 2023 UTC (14 months, 2 weeks ago) by ad
Branches: MAIN
Diff to: previous 1.133: preferred, colored
Changes since revision 1.133: +1 -2
lines
Remove unused L_KPRIORITY.
Revision 1.133: download - view: text, markup, annotated - select for diffs
Fri Mar 3 14:32:27 2023 UTC (21 months, 1 week ago) by riastradh
Branches: MAIN
Diff to: previous 1.132: preferred, colored
Changes since revision 1.132: +1 -2
lines
Revert "x86: Add kthread_fpu_enter/exit support, take two -- forgot i386 bits."
kthread_fpu_enter/exit changes broke some hardware, unclear why, to
investigate before fixing and reapplying these changes.
Revision 1.132: download - view: text, markup, annotated - select for diffs
Sat Feb 25 18:35:54 2023 UTC (21 months, 2 weeks ago) by riastradh
Branches: MAIN
Diff to: previous 1.131: preferred, colored
Changes since revision 1.131: +2 -1
lines
x86: Add kthread_fpu_enter/exit support, take two -- forgot i386 bits.
Revision 1.131: download - view: text, markup, annotated - select for diffs
Tue Dec 27 08:40:40 2022 UTC (23 months, 2 weeks ago) by msaitoh
Branches: MAIN
Diff to: previous 1.130: preferred, colored
Changes since revision 1.130: +8 -9
lines
Move some definitions. Add comment. No functional change.
Revision 1.130: download - view: text, markup, annotated - select for diffs
Mon Dec 26 15:52:37 2022 UTC (23 months, 2 weeks ago) by msaitoh
Branches: MAIN
Diff to: previous 1.129: preferred, colored
Changes since revision 1.129: +13 -15
lines
Reduce diff between i386/i386/genassym.cf and amd64/amd64/genassym.cf. NFCI.
Revision 1.129: download - view: text, markup, annotated - select for diffs
Mon Dec 26 09:39:29 2022 UTC (23 months, 2 weeks ago) by msaitoh
Branches: MAIN
Diff to: previous 1.128: preferred, colored
Changes since revision 1.128: +13 -8
lines
Sort lines. Add comment. No functional change.
Revision 1.128: download - view: text, markup, annotated - select for diffs
Mon Dec 26 09:12:42 2022 UTC (23 months, 2 weeks ago) by msaitoh
Branches: MAIN
Diff to: previous 1.127: preferred, colored
Changes since revision 1.127: +36 -36
lines
Reduce diff between i386/i386/genassym.cf and amd64/amd64/genassym.cf. NFCI.
- Whitespace fix.
- Sort lines.
Revision 1.127: download - view: text, markup, annotated - select for diffs
Mon Dec 26 08:59:01 2022 UTC (23 months, 2 weeks ago) by msaitoh
Branches: MAIN
Diff to: previous 1.126: preferred, colored
Changes since revision 1.126: +1 -2
lines
Remove duplicated IPL_SCHED. No functional change.
Revision 1.126: download - view: text, markup, annotated - select for diffs
Wed Sep 7 00:40:18 2022 UTC (2 years, 3 months ago) by knakahara
Branches: MAIN
CVS tags: netbsd-10-base,
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,
netbsd-10,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm
Diff to: previous 1.125: preferred, colored
Changes since revision 1.125: +3 -3
lines
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.125: download - view: text, markup, annotated - select for diffs
Sat Aug 20 23:48:50 2022 UTC (2 years, 3 months ago) by riastradh
Branches: MAIN
Diff to: previous 1.124: preferred, colored
Changes since revision 1.124: +2 -1
lines
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.124: download - view: text, markup, annotated - select for diffs
Sun Jun 12 11:36:42 2022 UTC (2 years, 6 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.123: preferred, colored
Changes since revision 1.123: +6 -1
lines
XenPV: in cpu_switchto(), reset ci_xen_clockf_usermode/ci_xen_clockf_pc,
in case a clock interrupt is deffered while we're switching lwp.
Fix a (rare) panic:
panic: kernel diagnostic assertion "p != NULL" failed: file "/usr/src/sys/kern/kern_clock.c", line 438
seen when xen_timer_handler() is called from the splx() at the end of
mi_switch()
Revision 1.123: download - view: text, markup, annotated - select for diffs
Tue May 24 15:55:19 2022 UTC (2 years, 6 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.122: preferred, colored
Changes since revision 1.122: +2 -1
lines
Some devices (e.g. ixg in MSI-X mode) don't to have their handlers called
when no interrupt are pending. So add an extra ih_pending field
to struct intrhand, which is incremeted when the handler is not called because
of IPL level and reset to 0 when called. Check this in Xen's resume
assembly to call only handlers that are really pending.
Revision 1.122: download - view: text, markup, annotated - select for diffs
Sat May 2 16:44:35 2020 UTC (4 years, 7 months ago) by bouyer
Branches: 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
Diff to: previous 1.121: preferred, colored
Changes since revision 1.121: +4 -2
lines
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.121: download - view: text, markup, annotated - select for diffs
Sat Apr 25 15:26:17 2020 UTC (4 years, 7 months ago) by bouyer
Branches: MAIN
Diff to: previous 1.120: preferred, colored
Changes since revision 1.120: +8 -7
lines
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.119.4.4: download - view: text, markup, annotated - select for diffs
Sat Apr 25 11:23:56 2020 UTC (4 years, 7 months ago) by bouyer
Branches: bouyer-xenpvh
Diff to: previous 1.119.4.3: preferred, colored; branchpoint 1.119: preferred, colored; next MAIN 1.120: preferred, colored
Changes since revision 1.119.4.3: +1 -4
lines
Sync with bouyer-xenpvh-base2 (HEAD)
Revision 1.120: download - view: text, markup, annotated - select for diffs
Sat Apr 25 05:17:16 2020 UTC (4 years, 7 months ago) by maxv
Branches: MAIN
CVS tags: bouyer-xenpvh-base2
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +1 -4
lines
Switch to the new PTE naming. The old naming is now unused, remove it.
Revision 1.107.4.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:03:52 2020 UTC (4 years, 7 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.107.4.1: preferred, colored; branchpoint 1.107: preferred, colored; next MAIN 1.108: preferred, colored
Changes since revision 1.107.4.1: +7 -8
lines
Mostly merge changes from HEAD upto 20200411
Revision 1.119.4.3: download - view: text, markup, annotated - select for diffs
Sun Apr 12 17:25:52 2020 UTC (4 years, 8 months ago) by bouyer
Branches: bouyer-xenpvh
Diff to: previous 1.119.4.2: preferred, colored; branchpoint 1.119: preferred, colored
Changes since revision 1.119.4.2: +6 -5
lines
Get rid of xen-specific ci_x* interrupt handling:
- use the general SIR mechanism, reserving 3 more slots for IPL_VM, IPL_SCHED
and IPL_HIGH
- remove specific handling from C sources, or change to ipending
- convert IPL number to SIR number in various places
- Remove XUNMASK/XPENDING in assembly or change to IUNMASK/IPENDING
- remove Xen-specific ci_xsources, ci_xmask, ci_xunmask, ci_xpending from
struct cpu_info
- for now remove a KASSERT that there are no pending interrupts in
idle_block(). We can get there with some software interrupts pending
in autoconf XXX needs to be looked at.
Revision 1.119.4.2: download - view: text, markup, annotated - select for diffs
Sat Apr 11 10:11:31 2020 UTC (4 years, 8 months ago) by bouyer
Branches: bouyer-xenpvh
Diff to: previous 1.119.4.1: preferred, colored; branchpoint 1.119: preferred, colored
Changes since revision 1.119.4.1: +1 -3
lines
Include ci_isources[] for XenPV too.
Adjust spllower() to XenPV needs, and switch XenPV to the native spllower().
Remove xen_spllower().
Revision 1.119.4.1: download - view: text, markup, annotated - select for diffs
Wed Apr 8 17:59:16 2020 UTC (4 years, 8 months ago) by bouyer
Branches: bouyer-xenpvh
Diff to: previous 1.119: preferred, colored
Changes since revision 1.119: +3 -1
lines
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.117.2.4: download - view: text, markup, annotated - select for diffs
Sat Feb 29 20:18:25 2020 UTC (4 years, 9 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.117.2.3: preferred, colored; branchpoint 1.117: preferred, colored; next MAIN 1.118: preferred, colored
Changes since revision 1.117.2.3: +1 -4
lines
Sync with head.
Revision 1.119: download - view: text, markup, annotated - select for diffs
Mon Feb 17 09:09:48 2020 UTC (4 years, 9 months ago) by skrll
Branches: MAIN
CVS tags: phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
is-mlppp-base,
is-mlppp,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
ad-namecache-base3
Branch point for: bouyer-xenpvh
Diff to: previous 1.118: preferred, colored
Changes since revision 1.118: +1 -4
lines
G/C LS{SLEEP,RUN,ONPROC}
LWP status manipulation was moved out of assembly long ago.
Revision 1.117.2.3: download - view: text, markup, annotated - select for diffs
Wed Jan 22 11:40:16 2020 UTC (4 years, 10 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.117.2.2: preferred, colored; branchpoint 1.117: preferred, colored
Changes since revision 1.117.2.2: +11 -1
lines
Back out previous.
Revision 1.117.2.2: download - view: text, markup, annotated - select for diffs
Sun Jan 19 21:08:29 2020 UTC (4 years, 10 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.117.2.1: preferred, colored; branchpoint 1.117: preferred, colored
Changes since revision 1.117.2.1: +1 -11
lines
Adaptive rwlocks proposed on tech-kern and working well on this branch
with vnode locks.
Revision 1.117.2.1: download - view: text, markup, annotated - select for diffs
Fri Jan 17 21:47:25 2020 UTC (4 years, 10 months ago) by ad
Branches: ad-namecache
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +1 -2
lines
Sync with head.
Revision 1.118: download - view: text, markup, annotated - select for diffs
Wed Jan 8 17:38:41 2020 UTC (4 years, 11 months ago) by ad
Branches: MAIN
CVS tags: ad-namecache-base2,
ad-namecache-base1
Diff to: previous 1.117: preferred, colored
Changes since revision 1.117: +1 -2
lines
Hopefully fix some problems seen with MP support on non-x86, in particular
where curcpu() is defined as curlwp->l_cpu:
- mi_switch(): undo the ~2007ish optimisation to unlock curlwp before
calling cpu_switchto(). It's not safe to let other actors mess with the
LWP (in particular l->l_cpu) while it's still context switching. This
removes l->l_ctxswtch.
- Move the LP_RUNNING flag into l->l_flag and rename to LW_RUNNING since
it's now covered by the LWP's lock.
- Ditch lwp_exit_switchaway() and just call mi_switch() instead. Everything
is in cache anyway so it wasn't buying much by trying to avoid saving old
state. This means cpu_switchto() will never be called with prevlwp ==
NULL.
- Remove some KERNEL_LOCK handling which hasn't been needed for years.
Revision 1.117: download - view: text, markup, annotated - select for diffs
Mon Dec 30 23:32:29 2019 UTC (4 years, 11 months ago) by thorpej
Branches: MAIN
CVS tags: ad-namecache-base
Branch point for: ad-namecache
Diff to: previous 1.116: preferred, colored
Changes since revision 1.116: +2 -1
lines
Fix a problem with intr_unmask() that can cause a forever-loop:
- When handling the source-is-masked case in the interrupt vector, set the
interrupt bit in a new ci_imasked field and ensure the bit is cleared
from ci_ipending.
- In intr_unmask(), transfer the bit from ci_imasked to ci_ipending for
non-level-sensitive interrupts (the PIC does the work for us in the
level-sensitive case), and only force pending interrupts to be processed
in this case. (In all cases, make sure the now-unmasked bit is cleared
from ci_imasked.)
Before, the bit was left in ci_ipending so as not to use edge-triggered
interrupts while the source is masked, but Xspllower() relies on the
pending bits getting cleared.
Tested by forcing all wm(4) interrupts on my test system though an
intr_mask() / softint / intr_unmask() cycle and exercising the network
heavily.
Revision 1.116: download - view: text, markup, annotated - select for diffs
Sun Dec 22 15:09:39 2019 UTC (4 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.115: preferred, colored
Changes since revision 1.115: +2 -1
lines
Add intr_mask() and corresponding intr_unmask() calls that allow specific
interrupt lines / sources to be masked as needed (rather than making a
set of sources by IPL as with spl*()).
Revision 1.115: download - view: text, markup, annotated - select for diffs
Thu Nov 21 19:27:54 2019 UTC (5 years ago) by ad
Branches: MAIN
Diff to: previous 1.114: preferred, colored
Changes since revision 1.114: +1 -3
lines
x86: abort pageidlezero unconditionally if there is something to run.
Revision 1.114: download - view: text, markup, annotated - select for diffs
Sat Oct 12 06:31:03 2019 UTC (5 years, 2 months ago) by maxv
Branches: MAIN
CVS tags: phil-wifi-20191119
Diff to: previous 1.113: preferred, colored
Changes since revision 1.113: +5 -2
lines
Rewrite the FPU code on x86. This greatly simplifies the logic and removes
the dependency on IPL_HIGH. NVMM is updated accordingly. Posted on
port-amd64 a week ago.
Bump the kernel version to 9.99.16.
Revision 1.107.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:06:20 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +13 -4
lines
Sync with HEAD
Revision 1.99.10.2: download - view: text, markup, annotated - select for diffs
Sat Mar 9 17:10:21 2019 UTC (5 years, 9 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1
Diff to: previous 1.99.10.1: preferred, colored; branchpoint 1.99: preferred, colored; next MAIN 1.100: preferred, colored
Changes since revision 1.99.10.1: +3 -1
lines
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.113: download - view: text, markup, annotated - select for diffs
Sat Mar 9 08:42:25 2019 UTC (5 years, 9 months ago) by maxv
Branches: MAIN
CVS tags: phil-wifi-20190609,
netbsd-9-base,
netbsd-9-4-RELEASE,
netbsd-9-3-RELEASE,
netbsd-9-2-RELEASE,
netbsd-9-1-RELEASE,
netbsd-9-0-RELEASE,
netbsd-9-0-RC2,
netbsd-9-0-RC1,
netbsd-9,
isaki-audio2-base,
isaki-audio2
Diff to: previous 1.112: preferred, colored
Changes since revision 1.112: +3 -1
lines
Start replacing the x86 PTE bits.
Revision 1.112: download - view: text, markup, annotated - select for diffs
Thu Mar 7 13:26:24 2019 UTC (5 years, 9 months ago) by maxv
Branches: MAIN
Diff to: previous 1.111: preferred, colored
Changes since revision 1.111: +1 -2
lines
Drop PG_RO, PG_KR and PG_PROT, they are useless and create confusion.
Revision 1.111: download - view: text, markup, annotated - select for diffs
Fri Feb 15 08:54:01 2019 UTC (5 years, 9 months ago) by nonaka
Branches: MAIN
Diff to: previous 1.110: preferred, colored
Changes since revision 1.110: +3 -1
lines
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.110: download - view: text, markup, annotated - select for diffs
Mon Feb 11 14:59:32 2019 UTC (5 years, 10 months ago) by cherry
Branches: MAIN
Diff to: previous 1.109: preferred, colored
Changes since revision 1.109: +2 -2
lines
We reorganise definitions for XEN source support as follows:
XEN - common sources required for baseline XEN support.
XENPV - sources required for support of XEN in PV mode.
XENPVHVM - sources required for support for XEN in HVM mode.
XENPVH - sources required for support for XEN in PVH mode.
Revision 1.109: download - view: text, markup, annotated - select for diffs
Sat Feb 2 12:32:54 2019 UTC (5 years, 10 months ago) by cherry
Branches: MAIN
Diff to: previous 1.108: preferred, colored
Changes since revision 1.108: +2 -2
lines
Switch NetBSD/xen to use XEN api tag RELEASE-4.11.1
The headers for this api are in sys/external/mit/xen-include-public/dist/
Revision 1.107.2.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 14:01:38 2018 UTC (5 years, 11 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.107: preferred, colored; next MAIN 1.108: preferred, colored
Changes since revision 1.107: +8 -2
lines
Sync with HEAD, resolve a few conflicts
Revision 1.108: download - view: text, markup, annotated - select for diffs
Tue Dec 25 06:50:11 2018 UTC (5 years, 11 months ago) by cherry
Branches: MAIN
CVS tags: pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226
Diff to: previous 1.107: preferred, colored
Changes since revision 1.107: +8 -2
lines
Excise XEN specific code out of x86/x86/intr.c into xen/x86/xen_intr.c
While at it, separate the source function tracking so that the interrupt
paths are truly independant.
Use weak symbol exporting to provision for future PVHVM co-existence
of both files, but with independant paths. Introduce assembler code
such that in a unified scenario, native interrupts get first priority
in spllower(), followed by XEN event callbacks. IPL management and
semantics are unchanged - native handlers and xen callbacks are
expected to maintain their ipl related semantics.
In summary, after this commit, native and XEN now have completely
unrelated interrupt handling mechanisms, including
intr_establish_xname() and assembler stubs and intr handler
management.
Happy Christmas!
Revision 1.99.10.1: download - view: text, markup, annotated - select for diffs
Tue Mar 13 15:47:44 2018 UTC (6 years, 9 months ago) by martin
Branches: netbsd-8
CVS tags: netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +6 -5
lines
Pullup the following revisions via patch, requested by maxv in ticket #629:
sys/arch/amd64/amd64/genassym.cf 1.63,1.64
sys/arch/amd64/amd64/locore.S 1.144
sys/arch/amd64/amd64/machdep.c 1.281-1.283
sys/arch/i386/i386/genassym.cf 1.105-1.106
sys/arch/i386/i386/locore.S 1.155
sys/arch/i386/i386/machdep.c 1.802 (adapted),1.803
sys/arch/x86/include/cpu.h 1.85
sys/arch/x86/x86/intr.c 1.115-1.116
sys/arch/x86/x86/pmap.c 1.275
sys/arch/x86/x86/sys_machdep.c 1.45
sys/arch/xen/x86/cpu.c 1.117
Stop sharing the double-fault stack.
Merge the TSS structures into one single cpu_tss structure, and
allocate it dynamically.
Revision 1.107: download - view: text, markup, annotated - select for diffs
Thu Jan 4 14:02:23 2018 UTC (6 years, 11 months ago) by maxv
Branches: MAIN
CVS tags: phil-wifi-base,
pgoyette-compat-base,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
pgoyette-compat-0625,
pgoyette-compat-0521,
pgoyette-compat-0502,
pgoyette-compat-0422,
pgoyette-compat-0415,
pgoyette-compat-0407,
pgoyette-compat-0330,
pgoyette-compat-0322,
pgoyette-compat-0315
Branch point for: phil-wifi,
pgoyette-compat
Diff to: previous 1.106: preferred, colored
Changes since revision 1.106: +2 -1
lines
Declare IOMAP_VALIDOFF, not to use ci_tss pointers.
Revision 1.106: download - view: text, markup, annotated - select for diffs
Thu Jan 4 13:36:30 2018 UTC (6 years, 11 months ago) by maxv
Branches: MAIN
Diff to: previous 1.105: preferred, colored
Changes since revision 1.105: +7 -6
lines
Allocate the TSS area dynamically. This way cpu_info and cpu_tss can be
put in separate pages.
Revision 1.105: download - view: text, markup, annotated - select for diffs
Thu Jan 4 12:34:15 2018 UTC (6 years, 11 months ago) by maxv
Branches: MAIN
Diff to: previous 1.104: preferred, colored
Changes since revision 1.104: +5 -5
lines
Group the different TSSes into a cpu_tss structure. And pack this
structure to make sure there is no padding between 'tss' and 'iomap'.
Revision 1.92.2.3: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:17 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.92.2.2: preferred, colored; branchpoint 1.92: preferred, colored; next MAIN 1.93: preferred, colored
Changes since revision 1.92.2.2: +1 -43
lines
update from HEAD
Revision 1.104: download - view: text, markup, annotated - select for diffs
Sun Sep 17 09:04:51 2017 UTC (7 years, 2 months ago) by maxv
Branches: MAIN
CVS tags: tls-maxphys-base-20171202
Diff to: previous 1.103: preferred, colored
Changes since revision 1.103: +1 -19
lines
Remove TRAPLOG from i386. Nowadays there are better instrumentation tools,
in both software and hardware.
Revision 1.97.6.2: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:51:40 2017 UTC (7 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.97.6.1: preferred, colored; branchpoint 1.97: preferred, colored; next MAIN 1.98: preferred, colored
Changes since revision 1.97.6.1: +2 -25
lines
Sync with HEAD
Revision 1.103: download - view: text, markup, annotated - select for diffs
Sat Aug 12 13:16:14 2017 UTC (7 years, 4 months ago) by maxv
Branches: MAIN
CVS tags: nick-nhusb-base-20170825
Diff to: previous 1.102: preferred, colored
Changes since revision 1.102: +1 -2
lines
Remove references to PSL_VM (implicitly vm86).
Revision 1.102: download - view: text, markup, annotated - select for diffs
Tue Aug 8 08:04:05 2017 UTC (7 years, 4 months ago) by maxv
Branches: MAIN
Diff to: previous 1.101: preferred, colored
Changes since revision 1.101: +2 -2
lines
Move freebsd_machdep.h into sys/compat/freebsd, and don't install it. Now,
the compat_freebsd files are all contained in sys/compat/freebsd.
Revision 1.101: download - view: text, markup, annotated - select for diffs
Sat Jul 29 12:07:45 2017 UTC (7 years, 4 months ago) by maxv
Branches: MAIN
Diff to: previous 1.100: preferred, colored
Changes since revision 1.100: +1 -11
lines
Unlink svr4_machdep.h.
Revision 1.100.2.2: download - view: text, markup, annotated - select for diffs
Sun Jul 16 14:02:49 2017 UTC (7 years, 4 months ago) by cherry
Branches: perseant-stdc-iso10646
Diff to: previous 1.100.2.1: preferred, colored; branchpoint 1.100: preferred, colored; next MAIN 1.101: preferred, colored
Changes since revision 1.100.2.1: +412 -0
lines
2302677
Revision 1.100.2.1
Sun Jul 16 14:02:48 2017 UTC (7 years, 4 months ago) by cherry
Branches: perseant-stdc-iso10646
FILE REMOVED
Changes since revision 1.100: +0 -412
lines
file genassym.cf was added on branch perseant-stdc-iso10646 on 2017-07-16 14:02:49 +0000
Revision 1.100: download - view: text, markup, annotated - select for diffs
Sun Jul 16 14:02:48 2017 UTC (7 years, 4 months ago) by cherry
Branches: MAIN
CVS tags: perseant-stdc-iso10646-base
Branch point for: perseant-stdc-iso10646
Diff to: previous 1.99: preferred, colored
Changes since revision 1.99: +1 -13
lines
Unify the xen and native x86/ interrupt setup functions and
spl traversal data structures.
This is towards PVHVM.
Revision 1.97.6.1: download - view: text, markup, annotated - select for diffs
Tue Sep 22 12:05:44 2015 UTC (9 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +1 -2
lines
Sync with HEAD
Revision 1.99: download - view: text, markup, annotated - select for diffs
Wed Aug 26 03:00:53 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
CVS tags: prg-localcount2-base3,
prg-localcount2-base2,
prg-localcount2-base1,
prg-localcount2-base,
prg-localcount2,
pgoyette-localcount-base,
pgoyette-localcount-20170426,
pgoyette-localcount-20170320,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
pgoyette-localcount,
nick-nhusb-base-20170204,
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,
netbsd-8-base,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
localcount-20160914,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Branch point for: netbsd-8
Diff to: previous 1.98: preferred, colored
Changes since revision 1.98: +0 -2
lines
Have MI genassym.cf.
Revision 1.98: download - view: text, markup, annotated - select for diffs
Tue Aug 25 12:56:58 2015 UTC (9 years, 3 months ago) by uebayasi
Branches: MAIN
Diff to: previous 1.97: preferred, colored
Changes since revision 1.97: +2 -1
lines
Replace a constant in ldscript.
Revision 1.92.2.2: download - view: text, markup, annotated - select for diffs
Wed Aug 20 00:03:06 2014 UTC (10 years, 3 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.92.2.1: preferred, colored; branchpoint 1.92: preferred, colored
Changes since revision 1.92.2.1: +1 -2
lines
Rebase to HEAD as of a few days ago.
Revision 1.90.2.4: download - view: text, markup, annotated - select for diffs
Thu May 22 11:39:51 2014 UTC (10 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.90.2.3: preferred, colored; branchpoint 1.90: preferred, colored; next MAIN 1.91: preferred, colored
Changes since revision 1.90.2.3: +1 -2
lines
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.94.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 17:45:12 2014 UTC (10 years, 6 months ago) by rmind
Branches: rmind-smpnet
Diff to: previous 1.94: preferred, colored; next MAIN 1.95: preferred, colored
Changes since revision 1.94: +1 -2
lines
sync with head
Revision 1.97: download - view: text, markup, annotated - select for diffs
Sat Feb 15 10:11:15 2014 UTC (10 years, 9 months ago) by dsl
Branches: 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-20150606,
nick-nhusb-base-20150406,
nick-nhusb-base,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7
Branch point for: nick-nhusb
Diff to: previous 1.96: preferred, colored
Changes since revision 1.96: +1 -2
lines
Remove all references to MDL_USEDFPU and deferred fpu initialisation.
The cost of zeroing the save area on exec is minimal.
This stops the FP registers of a random process being used the first
time an lwp uses the fpu.
sendsig_siginfo() and get_mcontext() now unconditionally copy the FP
registers.
I'll remove the double-copy for signal handlers soon.
get_mcontext() might have been leaking kernel memory to userspace - and
may still do so if i386_use_fxsave is false (short copies).
Revision 1.96: download - view: text, markup, annotated - select for diffs
Sun Dec 1 01:05:16 2013 UTC (11 years ago) by christos
Branches: MAIN
Diff to: previous 1.95: preferred, colored
Changes since revision 1.95: +2 -0
lines
revert fpu/pcu changes until we figure out what's wrong; they cause random
freezes
Revision 1.95: download - view: text, markup, annotated - select for diffs
Wed Oct 23 20:18:50 2013 UTC (11 years, 1 month ago) by drochner
Branches: MAIN
Diff to: previous 1.94: preferred, colored
Changes since revision 1.94: +1 -3
lines
Use the MI "pcu" framework for bookkeeping of npx/fpu states on x86.
This reduces the amount of MD code enormously, and makes it easier
to implement support for newer CPU features which require more fpu
state, or for fpu usage by the kernel.
For access to FPU state across CPUs, an xcall kthread is used now
rather than a dedicated IPI.
No user visible changes intended.
Revision 1.92.2.1: download - view: text, markup, annotated - select for diffs
Tue Nov 20 03:01:26 2012 UTC (12 years ago) by tls
Branches: tls-maxphys
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +1 -26
lines
Resync to 2012-11-19 00:00:00 UTC
Revision 1.90.2.3: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:19:49 2012 UTC (12 years, 1 month ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.90.2.2: preferred, colored; branchpoint 1.90: preferred, colored
Changes since revision 1.90.2.2: +1 -26
lines
sync with head
Revision 1.94: download - view: text, markup, annotated - select for diffs
Sun Sep 30 20:54:52 2012 UTC (12 years, 2 months ago) by dsl
Branches: MAIN
CVS tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
riastradh-drm2-base2,
riastradh-drm2-base1,
riastradh-drm2-base,
riastradh-drm2,
khorben-n900,
agc-symver-base,
agc-symver
Branch point for: rmind-smpnet
Diff to: previous 1.93: preferred, colored
Changes since revision 1.93: +1 -4
lines
Fix build.
I've removed 'option apmbios' so config no longer generates apmbios.h
Not to be confused with dev/apm/apmbios.h :-)
Revision 1.93: download - view: text, markup, annotated - select for diffs
Sun Sep 30 20:19:51 2012 UTC (12 years, 2 months ago) by dsl
Branches: MAIN
Diff to: previous 1.92: preferred, colored
Changes since revision 1.92: +1 -23
lines
Remove the obvious parts of i386 Advanced power management 'apm' support.
This is the code that predates ACPI, and might once have been able to
power down some laptops.
It hasn't been compiled for ages (it isn't it i386/ALL or any other
standard kernel) and hasn't worked for even longer.
The APM specification was made obsolete by ACPI before it was widely
implemented.
This will allow some other, even more dubious code be removed.
Unfortunately apmbios.h is used by the world !
Revision 1.90.2.2: download - view: text, markup, annotated - select for diffs
Wed May 23 10:07:44 2012 UTC (12 years, 6 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.90.2.1: preferred, colored; branchpoint 1.90: preferred, colored
Changes since revision 1.90.2.1: +1 -3
lines
sync with head.
Revision 1.91.2.1: download - view: text, markup, annotated - select for diffs
Wed May 9 03:22:53 2012 UTC (12 years, 7 months ago) by riz
Branches: netbsd-6
CVS tags: 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,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus
Diff to: previous 1.91: preferred, colored; next MAIN 1.92: preferred, colored
Changes since revision 1.91: +1 -3
lines
Pull up following revision(s) (requested by rmind in ticket #202):
sys/arch/x86/include/cpuvar.h: revision 1.46
sys/arch/xen/include/xenpmap.h: revision 1.34
sys/arch/i386/include/param.h: revision 1.77
sys/arch/x86/x86/pmap_tlb.c: revision 1.5
sys/arch/x86/x86/pmap_tlb.c: revision 1.6
sys/arch/i386/i386/genassym.cf: revision 1.92
sys/arch/xen/x86/cpu.c: revision 1.91
sys/arch/x86/x86/pmap.c: revision 1.177
sys/arch/xen/x86/xen_pmap.c: revision 1.21
sys/arch/x86/acpi/acpi_wakeup.c: revision 1.31
sys/kern/subr_kcpuset.c: revision 1.5
sys/arch/amd64/include/param.h: revision 1.18
sys/sys/kcpuset.h: revision 1.5
sys/arch/x86/x86/mtrr_i686.c: revision 1.26
sys/arch/x86/x86/mtrr_i686.c: revision 1.27
sys/arch/xen/x86/x86_xpmap.c: revision 1.43
sys/arch/x86/x86/cpu.c: revision 1.98
sys/arch/amd64/amd64/mptramp.S: revision 1.14
sys/kern/sys_sched.c: revision 1.42
sys/arch/amd64/amd64/genassym.cf: revision 1.50
sys/arch/i386/i386/mptramp.S: revision 1.24
sys/arch/x86/include/pmap.h: revision 1.52
sys/arch/x86/include/cpu.h: revision 1.50
- Convert x86 MD code, mainly pmap(9) e.g. TLB shootdown code, to use
kcpuset(9) and thus replace hardcoded CPU bitmasks. This removes the
limitation of maximum CPUs.
- Support up to 256 CPUs on amd64 architecture by default.
Bug fixes, improvements, completion of Xen part and testing on 64-core
AMD Opteron(tm) Processor 6282 SE (also, as Xen HVM domU with 128 CPUs)
by Manuel Bouyer.
- pmap_tlb_shootdown: do not overwrite tp_cpumask with pm_cpus, but merge
like pm_kernel_cpus. Remove unecessary intersection with kcpuset_running.
Do not reset tp_userpmap if pmap_kernel().
- Remove pmap_tlb_mailbox_t wrapping, which is pointless after recent changes.
- pmap_tlb_invalidate, pmap_tlb_intr: constify for packet structure.
i686_mtrr_init_first: handle the case when there are no variable-size MTRR
registers available (i686_mtrr_vcnt == 0).
Revision 1.90.6.2: download - view: text, markup, annotated - select for diffs
Sun Apr 29 23:04:41 2012 UTC (12 years, 7 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.90.6.1: preferred, colored; branchpoint 1.90: preferred, colored; next MAIN 1.91: preferred, colored
Changes since revision 1.90.6.1: +1 -3
lines
sync to latest -current.
Revision 1.92: download - view: text, markup, annotated - select for diffs
Fri Apr 20 22:23:24 2012 UTC (12 years, 7 months ago) by rmind
Branches: MAIN
CVS tags: yamt-pagecache-base5,
jmcneill-usbmp-base9,
jmcneill-usbmp-base10
Branch point for: tls-maxphys
Diff to: previous 1.91: preferred, colored
Changes since revision 1.91: +1 -3
lines
- Convert x86 MD code, mainly pmap(9) e.g. TLB shootdown code, to use
kcpuset(9) and thus replace hardcoded CPU bitmasks. This removes the
limitation of maximum CPUs.
- Support up to 256 CPUs on amd64 architecture by default.
Bug fixes, improvements, completion of Xen part and testing on 64-core
AMD Opteron(tm) Processor 6282 SE (also, as Xen HVM domU with 128 CPUs)
by Manuel Bouyer.
Revision 1.90.2.1: download - view: text, markup, annotated - select for diffs
Tue Apr 17 00:06:28 2012 UTC (12 years, 7 months ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +2 -2
lines
sync with head
Revision 1.90.6.1: download - view: text, markup, annotated - select for diffs
Sat Feb 18 07:32:20 2012 UTC (12 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +2 -2
lines
merge to -current.
Revision 1.91: download - view: text, markup, annotated - select for diffs
Wed Dec 7 15:47:42 2011 UTC (13 years ago) by cegger
Branches: MAIN
CVS tags: yamt-pagecache-base4,
netbsd-6-base,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2
Branch point for: netbsd-6
Diff to: previous 1.90: preferred, colored
Changes since revision 1.90: +2 -2
lines
switch from xen3-public to xen-public.
Revision 1.80.2.3: download - view: text, markup, annotated - select for diffs
Sat Aug 27 15:37:25 2011 UTC (13 years, 3 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.80.2.2: preferred, colored; branchpoint 1.80: preferred, colored; next MAIN 1.81: preferred, colored
Changes since revision 1.80.2.2: +2 -14
lines
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.90: download - view: text, markup, annotated - select for diffs
Fri Jul 1 18:14:15 2011 UTC (13 years, 5 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
jym-xensuspend-nbase,
jym-xensuspend-base,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3
Branch point for: yamt-pagecache,
jmcneill-usbmp
Diff to: previous 1.89: preferred, colored
Changes since revision 1.89: +2 -2
lines
#include <sys/bus.h> instead of <machine/bus.h>.
Revision 1.88.6.1: download - view: text, markup, annotated - select for diffs
Thu Jun 23 14:19:14 2011 UTC (13 years, 5 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.88: preferred, colored; next MAIN 1.89: preferred, colored
Changes since revision 1.88: +1 -13
lines
Catchup with rmind-uvmplock merge.
Revision 1.89: download - view: text, markup, annotated - select for diffs
Sun Jun 12 03:35:41 2011 UTC (13 years, 6 months ago) by rmind
Branches: MAIN
Diff to: previous 1.88: preferred, colored
Changes since revision 1.88: +1 -13
lines
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.80.2.2: download - view: text, markup, annotated - select for diffs
Mon Mar 28 23:58:10 2011 UTC (13 years, 8 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.80.2.1: preferred, colored; branchpoint 1.80: preferred, colored
Changes since revision 1.80.2.1: +10 -10
lines
Cure sync hiccups. Code with compile errors is not really useful, heh.
Revision 1.85.2.4: download - view: text, markup, annotated - select for diffs
Thu Mar 17 04:46:29 2011 UTC (13 years, 8 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.85.2.3: preferred, colored; branchpoint 1.85: preferred, colored; next MAIN 1.86: preferred, colored
Changes since revision 1.85.2.3: +1 -12
lines
- Fix tlbflushg() to behave like tlbflush(), if page global extension (PGE)
is not (yet) enabled. This fixes the issue of stale TLB entry, experienced
early on boot, when PGE is not yet set on primary CPU.
- Rewrite i386/amd64 TLB interrupt handlers in C (only stubs are in assembly),
which simplifies and unifies (under x86) code, plus fixes few bugs.
- cpu_attach: remove assignment to cpus_running, as primary CPU might not be
attached first, which causes reset (and thus missed secondary CPUs).
Revision 1.85.2.3: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:50:39 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.85.2.2: preferred, colored; branchpoint 1.85: preferred, colored
Changes since revision 1.85.2.2: +3 -4
lines
sync with head
Revision 1.88: download - view: text, markup, annotated - select for diffs
Mon Dec 20 00:25:35 2010 UTC (13 years, 11 months ago) by matt
Branches: MAIN
CVS tags: uebayasi-xip-base7,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
matt-mips64-premerge-20101231,
jruoho-x86intr-base,
jruoho-x86intr,
cherry-xenmp-base,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: cherry-xenmp
Diff to: previous 1.87: preferred, colored
Changes since revision 1.87: +3 -4
lines
Move counting of faults, traps, intrs, soft[intr]s, syscalls, and nswtch
from uvmexp to per-cpu cpu_data and move them to 64bits. Remove unneeded
includes of <uvm/uvm_extern.h> and/or <uvm/uvm.h>.
Revision 1.65.2.5: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:52:11 2010 UTC (14 years, 4 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.65.2.4: preferred, colored; branchpoint 1.65: preferred, colored; next MAIN 1.66: preferred, colored
Changes since revision 1.65.2.4: +4 -3
lines
sync with head.
Revision 1.85.2.2: download - view: text, markup, annotated - select for diffs
Sun May 30 05:16:53 2010 UTC (14 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.85.2.1: preferred, colored; branchpoint 1.85: preferred, colored
Changes since revision 1.85.2.1: +4 -3
lines
sync with head
Revision 1.84.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 30 14:39:29 2010 UTC (14 years, 7 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.84: preferred, colored; next MAIN 1.85: preferred, colored
Changes since revision 1.84: +7 -4
lines
Sync with HEAD.
Revision 1.87: download - view: text, markup, annotated - select for diffs
Wed Apr 28 19:17:03 2010 UTC (14 years, 7 months ago) by dyoung
Branches: MAIN
CVS tags: yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base6,
uebayasi-xip-base5,
uebayasi-xip-base4,
uebayasi-xip-base3,
uebayasi-xip-base2,
uebayasi-xip-base1
Diff to: previous 1.86: preferred, colored
Changes since revision 1.86: +4 -2
lines
On x86, change the bus_space_tag_t to a pointer to a struct
bus_space_tag. For now, bus_space_tag's only member is
bst_type, the type of space, which is either X86_BUS_SPACE_IO
or X86_BUS_SPACE_MEM. In the future, new bus_space_tag members
will refer to override-functions installed by a new function,
bus_space_tag_create(9).
Add pointers to constant struct bus_space_tag, x86_bus_space_io and
x86_bus_space_mem. Use them to replace most uses of X86_BUS_SPACE_IO
and X86_BUS_SPACE_MEM.
Add an x86-specific bus_space_is_equal(9) implementation that compares
the two tags' bst_type.
Revision 1.85.2.1: download - view: text, markup, annotated - select for diffs
Mon Apr 26 02:43:34 2010 UTC (14 years, 7 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +7 -8
lines
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.86: download - view: text, markup, annotated - select for diffs
Sun Apr 18 23:47:50 2010 UTC (14 years, 7 months ago) by jym
Branches: MAIN
Diff to: previous 1.85: preferred, colored
Changes since revision 1.85: +1 -2
lines
This patch fixes the NX regression issue observed on amd64 kernels, where
per-page execution right was disabled (therefore leading to the inability
of the kernel to detect fraudulent use of memory mappings marked as not
being executable).
- replace cpu_feature and ci_feature_flags variables by cpu_feature and
ci_feat_val arrays. This makes it cleaner and brings kernel code closer
to the design of cpuctl(8). A warning will be raised for each CPU that
does not expose the same features as the Boot Processor (BP).
- the blacklist of CPU features is now a macro defined in the
specialreg.h header, instead of hardcoding it inside MD initialization
code; fix comments.
- replace checks against CPUID_TSC with the cpu_hascounter() function.
- clean up the code in init_x86_64(), as cpu_feature variables are set
inside cpu_probe().
- use cpu_init_msrs() for i386. It will be eventually used later for NX
feature under i386 PAE kernels.
- remove code that checks for CPUID_NOX in amd64 mptramp.S, this is already
performed by cpu_hatch() through cpu_init_msrs().
- remove cpu_signature and feature_flags members from struct mpbios_proc
(they were never used).
This patch was tested with i386 MONOLITHIC, XEN3PAE_DOM0 and XEN3_DOM0 under
a native i386 host, and amd64 GENERIC, XEN3_DOM0 via QEMU virtual machines.
XXX Should kernel rev be bumped?
XXX A similar patch should be pulled-up for NetBSD-5, hopefully tomorrow.
Revision 1.65.2.4: download - view: text, markup, annotated - select for diffs
Thu Mar 11 15:02:28 2010 UTC (14 years, 9 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.65.2.3: preferred, colored; branchpoint 1.65: preferred, colored
Changes since revision 1.65.2.3: +5 -5
lines
sync with head
Revision 1.85: download - view: text, markup, annotated - select for diffs
Mon Feb 22 23:52:17 2010 UTC (14 years, 9 months ago) by jym
Branches: MAIN
CVS tags: yamt-nfs-mp-base9
Branch point for: rmind-uvmplock
Diff to: previous 1.84: preferred, colored
Changes since revision 1.84: +4 -2
lines
Remove a duplicate entry for PTE_BASE.
While here, introduce PDP_SIZE and PDE_SIZE. They will be used by asm code
to make it more generic (PAE related).
Revision 1.84: download - view: text, markup, annotated - select for diffs
Fri Nov 27 03:23:10 2009 UTC (15 years ago) by rmind
Branches: MAIN
CVS tags: uebayasi-xip-base,
matt-premerge-20091211
Branch point for: uebayasi-xip
Diff to: previous 1.83: preferred, colored
Changes since revision 1.83: +2 -2
lines
- Use uvm_lwp_setuarea() instead of directly setting address to lwp_t::l_addr.
- Replace most remaining uses of l_addr with uvm_lwp_getuarea() or lwp_getpcb().
- Amend assembly in ports where it accesses PCB via struct user.
- Rename L_ADDR to L_PCB in few places. Reduce sys/user.h inclusions.
Revision 1.83: download - view: text, markup, annotated - select for diffs
Wed Nov 25 14:28:50 2009 UTC (15 years ago) by rmind
Branches: MAIN
Diff to: previous 1.82: preferred, colored
Changes since revision 1.82: +1 -2
lines
Remove IPL_LPT and IPL_IPI aliases, use the actual IPLs.
Fix some broken comments.
Revision 1.82: download - view: text, markup, annotated - select for diffs
Sat Nov 21 03:11:00 2009 UTC (15 years ago) by rmind
Branches: MAIN
Diff to: previous 1.81: preferred, colored
Changes since revision 1.81: +1 -2
lines
Use lwp_getpcb() on x86 MD code, clean from struct user usage.
Revision 1.80.2.1: download - view: text, markup, annotated - select for diffs
Sun Nov 1 13:58:21 2009 UTC (15 years, 1 month ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +1 -9
lines
Sync with HEAD.
Revision 1.65.2.3: download - view: text, markup, annotated - select for diffs
Wed Aug 19 18:46:19 2009 UTC (15 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.65.2.2: preferred, colored; branchpoint 1.65: preferred, colored
Changes since revision 1.65.2.2: +1 -9
lines
sync with head.
Revision 1.81: download - view: text, markup, annotated - select for diffs
Wed Jul 29 12:02:05 2009 UTC (15 years, 4 months ago) by cegger
Branches: MAIN
CVS tags: yamt-nfs-mp-base8,
yamt-nfs-mp-base7
Diff to: previous 1.80: preferred, colored
Changes since revision 1.80: +1 -9
lines
remove Xen2 support.
ok bouyer@
Revision 1.65.2.2: download - view: text, markup, annotated - select for diffs
Mon May 4 08:11:16 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.65.2.1: preferred, colored; branchpoint 1.65: preferred, colored
Changes since revision 1.65.2.1: +12 -16
lines
sync with head.
Revision 1.76.4.2: download - view: text, markup, annotated - select for diffs
Mon Feb 2 03:22:55 2009 UTC (15 years, 10 months ago) by snj
Branches: netbsd-5
CVS tags: netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
netbsd-5-1-5-RELEASE,
netbsd-5-1-4-RELEASE,
netbsd-5-1-3-RELEASE,
netbsd-5-1-2-RELEASE,
netbsd-5-1-1-RELEASE,
netbsd-5-1,
netbsd-5-0-RELEASE,
netbsd-5-0-RC4,
netbsd-5-0-RC3,
netbsd-5-0-RC2,
netbsd-5-0-2-RELEASE,
netbsd-5-0-1-RELEASE,
netbsd-5-0,
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
Diff to: previous 1.76.4.1: preferred, colored; branchpoint 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76.4.1: +5 -6
lines
Pull up following revision(s) (requested by ad in ticket #345):
sys/arch/amd64/amd64/genassym.cf: revision 1.39
sys/arch/i386/i386/genassym.cf: revision 1.79
sys/arch/i386/i386/locore.S: revision 1.82
sys/arch/x86/x86/x86_machdep.c: revision 1.26
Don't abort pageidlezero unless a realtime thread wants to run.
Revision 1.76.2.1: download - view: text, markup, annotated - select for diffs
Mon Jan 19 13:16:15 2009 UTC (15 years, 10 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.76: preferred, colored; next MAIN 1.77: preferred, colored
Changes since revision 1.76: +9 -9
lines
Sync with HEAD.
Revision 1.61.6.5: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:03 2009 UTC (15 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.61.6.4: preferred, colored; branchpoint 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61.6.4: +8 -8
lines
Sync with HEAD.
Revision 1.80: download - view: text, markup, annotated - select for diffs
Tue Dec 30 13:15:49 2008 UTC (15 years, 11 months ago) by pooka
Branches: MAIN
CVS tags: 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,
mjf-devfs2-base,
jymxensuspend-base
Branch point for: jym-xensuspend
Diff to: previous 1.79: preferred, colored
Changes since revision 1.79: +3 -3
lines
!defined(_LKM) -> defined(_KERNEL_OPT)
Revision 1.75.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:13:13 2008 UTC (16 years ago) by haad
Branches: haad-dm
Diff to: previous 1.75.2.1: preferred, colored; branchpoint 1.75: preferred, colored; next MAIN 1.76: preferred, colored
Changes since revision 1.75.2.1: +7 -7
lines
Update haad-dm branch to haad-dm-base2.
Revision 1.79: download - view: text, markup, annotated - select for diffs
Wed Dec 3 11:40:17 2008 UTC (16 years ago) by ad
Branches: MAIN
CVS tags: haad-nbase2,
haad-dm-base2,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Diff to: previous 1.78: preferred, colored
Changes since revision 1.78: +5 -6
lines
Don't abort pageidlezero unless a realtime thread wants to run.
Revision 1.76.4.1: download - view: text, markup, annotated - select for diffs
Mon Nov 17 18:53:54 2008 UTC (16 years ago) by snj
Branches: netbsd-5
CVS tags: netbsd-5-0-RC1
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +2 -1
lines
Pull up following revision(s) (requested by ad in ticket #74):
sys/arch/i386/isa/npx.c: revision 1.131
sys/arch/amd64/amd64/fpu.c: revision 1.28
sys/arch/i386/i386/genassym.cf: revision 1.77
sys/arch/i386/i386/autoconf.c: revision 1.93
sys/arch/amd64/amd64/locore.S: revision 1.48
sys/arch/amd64/amd64/machdep.c: revision 1.104
sys/arch/i386/i386/machdep.c: revision 1.646
sys/arch/amd64/amd64/genassym.cf: revision 1.38
sys/arch/i386/i386/locore.S: revision 1.79
PR port-amd64/38293 panic: fp_save ipi didn't
Fix race conditions in FPU IPI handling.
Revision 1.78: download - view: text, markup, annotated - select for diffs
Thu Nov 13 18:44:51 2008 UTC (16 years, 1 month ago) by cegger
Branches: MAIN
Diff to: previous 1.77: preferred, colored
Changes since revision 1.77: +2 -2
lines
Finish preparation to new interface.
New interface not yet used by default. It needs some testing first.
Revision 1.77: download - view: text, markup, annotated - select for diffs
Tue Nov 11 14:40:18 2008 UTC (16 years, 1 month ago) by ad
Branches: MAIN
Diff to: previous 1.76: preferred, colored
Changes since revision 1.76: +2 -1
lines
PR port-amd64/38293 panic: fp_save ipi didn't
Fix race conditions in FPU IPI handling.
Revision 1.75.2.1: download - view: text, markup, annotated - select for diffs
Sun Oct 19 22:15:48 2008 UTC (16 years, 1 month ago) by haad
Branches: haad-dm
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +2 -6
lines
Sync with HEAD.
Revision 1.68.2.3: download - view: text, markup, annotated - select for diffs
Fri Oct 10 22:29:04 2008 UTC (16 years, 2 months ago) by skrll
Branches: wrstuden-revivesa
Diff to: previous 1.68.2.2: preferred, colored; next MAIN 1.69: preferred, colored
Changes since revision 1.68.2.2: +2 -6
lines
Sync with HEAD.
Revision 1.61.6.4: download - view: text, markup, annotated - select for diffs
Sun Sep 28 10:39:59 2008 UTC (16 years, 2 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.61.6.3: preferred, colored; branchpoint 1.61: preferred, colored
Changes since revision 1.61.6.3: +2 -5
lines
Sync with HEAD.
Revision 1.76: download - view: text, markup, annotated - select for diffs
Sat Sep 20 18:29:05 2008 UTC (16 years, 2 months ago) by tsutsui
Branches: MAIN
CVS tags: wrstuden-revivesa-base-4,
netbsd-5-base,
matt-mips64-base2,
haad-dm-base1
Branch point for: nick-hppapmap,
netbsd-5
Diff to: previous 1.75: preferred, colored
Changes since revision 1.75: +2 -6
lines
Remove advertising clause for UCB in various genassym.cf files,
which were derived from genassym.c in 4.4BSD-Lite2 (or 386BSD).
Closes PR misc/39573. Approved by martin@.
Revision 1.68.2.2: download - view: text, markup, annotated - select for diffs
Thu Sep 18 04:33:27 2008 UTC (16 years, 2 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.68.2.1: preferred, colored
Changes since revision 1.68.2.1: +2 -1
lines
Sync with wrstuden-revivesa-base-2.
Revision 1.74.2.1: download - view: text, markup, annotated - select for diffs
Thu Jul 3 18:37:53 2008 UTC (16 years, 5 months ago) by simonb
Branches: simonb-wapbl
Diff to: previous 1.74: preferred, colored; next MAIN 1.75: preferred, colored
Changes since revision 1.74: +2 -1
lines
Sync with head.
Revision 1.75: download - view: text, markup, annotated - select for diffs
Thu Jul 3 14:02:25 2008 UTC (16 years, 5 months ago) by drochner
Branches: MAIN
CVS tags: wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
simonb-wapbl-nbase,
simonb-wapbl-base
Branch point for: haad-dm
Diff to: previous 1.74: preferred, colored
Changes since revision 1.74: +2 -1
lines
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.68.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:30:26 2008 UTC (16 years, 5 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +18 -29
lines
Sync w/ -current. 34 merge conflicts to follow.
Revision 1.64.2.3: download - view: text, markup, annotated - select for diffs
Tue Jun 17 09:14:03 2008 UTC (16 years, 5 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.64.2.2: preferred, colored; branchpoint 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64.2.2: +2 -4
lines
sync with head.
Revision 1.61.6.3: download - view: text, markup, annotated - select for diffs
Thu Jun 5 19:14:33 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.61.6.2: preferred, colored; branchpoint 1.61: preferred, colored
Changes since revision 1.61.6.2: +1 -3
lines
Sync with HEAD.
Also fix build.
Revision 1.74: download - view: text, markup, annotated - select for diffs
Wed Jun 4 11:30:25 2008 UTC (16 years, 6 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-base4,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base
Branch point for: simonb-wapbl
Diff to: previous 1.73: preferred, colored
Changes since revision 1.73: +2 -4
lines
Remove ref to uvm.page_idle_zero
Revision 1.64.2.2: download - view: text, markup, annotated - select for diffs
Wed Jun 4 02:04:47 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.64.2.1: preferred, colored; branchpoint 1.64: preferred, colored
Changes since revision 1.64.2.1: +2 -1
lines
sync with head
Revision 1.61.6.2: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:22:15 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.61.6.1: preferred, colored; branchpoint 1.61: preferred, colored
Changes since revision 1.61.6.1: +25 -41
lines
Sync with HEAD.
Revision 1.73: download - view: text, markup, annotated - select for diffs
Sun Jun 1 22:06:06 2008 UTC (16 years, 6 months ago) by christos
Branches: MAIN
CVS tags: yamt-pf42-base3
Diff to: previous 1.72: preferred, colored
Changes since revision 1.72: +2 -1
lines
need CPU_INFO_NTRAP
Revision 1.64.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:32:10 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +25 -42
lines
sync with head.
Revision 1.65.2.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:22:34 2008 UTC (16 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +22 -35
lines
sync with head.
Revision 1.72: download - view: text, markup, annotated - select for diffs
Sun May 11 16:23:05 2008 UTC (16 years, 7 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-base2,
yamt-nfs-mp-base2,
hpcarm-cleanup-nbase
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +2 -1
lines
Don't reload LDTR unless a new value, which only happens for USER_LDT.
Revision 1.71: download - view: text, markup, annotated - select for diffs
Sun May 11 15:32:20 2008 UTC (16 years, 7 months ago) by ad
Branches: MAIN
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +15 -18
lines
Share cpu.h between the x86 ports.
Revision 1.70: download - view: text, markup, annotated - select for diffs
Sun May 11 14:44:54 2008 UTC (16 years, 7 months ago) by ad
Branches: MAIN
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +1 -3
lines
Simplify x86 identcpu code, and share between i386/amd64.
Revision 1.69: download - view: text, markup, annotated - select for diffs
Sat May 10 16:12:32 2008 UTC (16 years, 7 months ago) by ad
Branches: MAIN
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +2 -8
lines
Improve x86 tsc handling:
- Ditch the cross-CPU calibration stuff. It didn't work properly, and it's
near impossible to synchronize the CPUs in a running system, because bus
traffic will interfere with any calibration attempt, messing up the
timings.
- Only enable the TSC on CPUs where we are sure it does not drift. If we are
On a known good CPU, give the TSC high timecounter quality, making it the
default.
- When booting CPUs, detect TSC skew and account for it. Most Intel MP
systems have synchronized counters, but that need not be true if the
system has a complicated bus structure. As far as I know, AMD systems
do not have synchronized TSCs and so we need to handle skew.
- While an AP is waiting to be set running, try and make the TSC drift by
entering a reduced power state. If we detect drift, ensure that the TSC
does not get a high timecounter quality. This should not happen and is
only for safety.
- Make cpu_counter() stuff LKM safe.
Revision 1.68: download - view: text, markup, annotated - select for diffs
Mon Apr 28 22:47:37 2008 UTC (16 years, 7 months ago) by ad
Branches: MAIN
Branch point for: wrstuden-revivesa
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +3 -1
lines
Add support for kernel preeemption to the i386 and amd64 ports. Notes:
- I have seen one isolated panic in the x86 pmap, but otherwise i386
seems stable with preemption enabled.
- amd64 is missing the FPU handling changes and it's not yet safe to
enable it there.
- The usual level for kern.sched.kpreempt_pri will be 128 once enabled
by default. For testing, setting it to 0 helps to shake out bugs.
Revision 1.67: download - view: text, markup, annotated - select for diffs
Mon Apr 28 20:23:24 2008 UTC (16 years, 7 months ago) by martin
Branches: MAIN
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +1 -8
lines
Remove clause 3 and 4 from TNF licenses
Revision 1.66: download - view: text, markup, annotated - select for diffs
Mon Apr 28 18:20:51 2008 UTC (16 years, 7 months ago) by ad
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +4 -2
lines
+L_NOPREEMPT, L_DOPREEMPT
Revision 1.65: download - view: text, markup, annotated - select for diffs
Mon Apr 21 15:15:33 2008 UTC (16 years, 7 months ago) by cegger
Branches: MAIN
CVS tags: yamt-nfs-mp-base
Branch point for: yamt-nfs-mp
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +4 -8
lines
Access Xen's vcpu info structure per-CPU.
Tested on i386 and amd64 (both dom0 and domU) by me.
Xen2 tested (both dom0 and domU) by bouyer.
OK bouyer
Revision 1.61.6.1: download - view: text, markup, annotated - select for diffs
Thu Apr 3 12:42:18 2008 UTC (16 years, 8 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +10 -0
lines
Sync with HEAD.
Revision 1.64: download - view: text, markup, annotated - select for diffs
Wed Mar 26 12:36:33 2008 UTC (16 years, 8 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base,
ad-socklock-base1
Branch point for: yamt-pf42
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +2 -2
lines
Correct pasto in the cc_microtime defs. From tsutsui@.
Revision 1.61.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 24 07:14:58 2008 UTC (16 years, 8 months ago) by keiichi
Branches: keiichi-mipv6
Diff to: previous 1.61: preferred, colored; next MAIN 1.62: preferred, colored
Changes since revision 1.61: +11 -1
lines
sync with head.
Revision 1.49.10.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:06 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.49.10.2: preferred, colored; branchpoint 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49.10.2: +59 -4
lines
sync with HEAD
Revision 1.40.16.11: download - view: text, markup, annotated - select for diffs
Mon Mar 17 09:14:20 2008 UTC (16 years, 8 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.40.16.10: preferred, colored; branchpoint 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40.16.10: +11 -1
lines
sync with head.
Revision 1.63: download - view: text, markup, annotated - select for diffs
Tue Mar 11 02:24:43 2008 UTC (16 years, 9 months ago) by ad
Branches: MAIN
CVS tags: yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +3 -2
lines
Make context switch + syscall counters optionally per-CPU and accumulate
in schedclock() at "about 16 hz".
Revision 1.62: download - view: text, markup, annotated - select for diffs
Mon Mar 10 22:03:40 2008 UTC (16 years, 9 months ago) by ad
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +10 -1
lines
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.40.16.10: download - view: text, markup, annotated - select for diffs
Wed Feb 27 09:34:47 2008 UTC (16 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.40.16.9: preferred, colored; branchpoint 1.40: preferred, colored
Changes since revision 1.40.16.9: +1 -4
lines
revert the rest of lazy mapping code.
Revision 1.54.2.4: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:04:37 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.54.2.3: preferred, colored; branchpoint 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54.2.3: +58 -5
lines
Sync with HEAD.
Revision 1.40.16.9: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:36:59 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.40.16.8: preferred, colored; branchpoint 1.40: preferred, colored
Changes since revision 1.40.16.8: +76 -5
lines
sync with head
Revision 1.61: download - view: text, markup, annotated - select for diffs
Fri Jan 11 20:00:13 2008 UTC (16 years, 11 months ago) by bouyer
Branches: MAIN
CVS tags: nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
hpcarm-cleanup-base,
bouyer-xeni386-nbase,
bouyer-xeni386-base
Branch point for: mjf-devfs2,
keiichi-mipv6
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +49 -4
lines
Merge the bouyer-xeni386 branch to head, at tag bouyer-xeni386-merge1 (the
branch is still active and will see i386PAE support developement).
Sumary of changes:
- switch xeni386 to the x86/x86/pmap.c, and the xen/x86/x86_xpmap.c
pmap bootstrap.
- merge back most of xen/i386/ to i386/i386
- change the build to reduce diffs between i386 and amd64 in file locations
- remove include files that were identical to the i386/amd64 counterparts,
the build will find them via the xen-ma/machine link.
Revision 1.58.6.4: download - view: text, markup, annotated - select for diffs
Thu Jan 10 13:05:51 2008 UTC (16 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.58.6.3: preferred, colored; branchpoint 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58.6.3: +3 -3
lines
Change xeni386 build to match xenamd64:
- machine/ points to xen/include/i386
- remove includes that were identical to the i386/include/ ones; the build
will find them though the xen-ma/machine link.
- include xen files using xen/ not machine/
Revision 1.49.10.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:46:35 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.49.10.1: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.10.1: +39 -9
lines
sync with HEAD
Revision 1.58.6.3: download - view: text, markup, annotated - select for diffs
Tue Jan 8 22:09:59 2008 UTC (16 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.58.6.2: preferred, colored; branchpoint 1.58: preferred, colored
Changes since revision 1.58.6.2: +9 -2
lines
Sync with HEAD
Revision 1.58.6.2: download - view: text, markup, annotated - select for diffs
Sun Jan 6 18:29:43 2008 UTC (16 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.58.6.1: preferred, colored; branchpoint 1.58: preferred, colored
Changes since revision 1.58.6.1: +48 -2
lines
Merge needed changes to genassym.cf and locore.S for xeni386 back to
arch/i386. Switch xeni386 to use the arch/i386 cpu.h.
Revision 1.60: download - view: text, markup, annotated - select for diffs
Fri Jan 4 15:55:31 2008 UTC (16 years, 11 months ago) by yamt
Branches: MAIN
CVS tags: matt-armv6-base
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +10 -2
lines
i386:
- make tss per-cpu. this considerably speeds up context switch for,
at least, pentium4, where ltr instruction seems very slow.
i386, xen:
- kill cpu_maxproc.
kvm86:
- adapt to per-cpu tss.
- cleanup and simplify.
- move kvm86_mp_lock to more meaningful place.
- disable preemption during a call.
Revision 1.58.6.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:48:15 2008 UTC (16 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +19 -1
lines
Sync with HEAD
Revision 1.54.2.3: download - view: text, markup, annotated - select for diffs
Thu Dec 27 00:43:05 2007 UTC (16 years, 11 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.54.2.2: preferred, colored; branchpoint 1.54: preferred, colored
Changes since revision 1.54.2.2: +19 -1
lines
Sync with HEAD.
Revision 1.58.2.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 19:42:18 2007 UTC (16 years, 11 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.58: preferred, colored; next MAIN 1.59: preferred, colored
Changes since revision 1.58: +19 -1
lines
Sync with head.
Revision 1.59: download - view: text, markup, annotated - select for diffs
Tue Dec 18 07:17:14 2007 UTC (16 years, 11 months ago) by joerg
Branches: MAIN
CVS tags: vmlocking2-base3
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +19 -1
lines
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.8.6: download - view: text, markup, annotated - select for diffs
Sun Dec 9 19:35:21 2007 UTC (17 years ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.49.8.5: preferred, colored; branchpoint 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49.8.5: +5 -8
lines
Sync with HEAD.
Revision 1.54.2.2: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:17:09 2007 UTC (17 years ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.54.2.1: preferred, colored; branchpoint 1.54: preferred, colored
Changes since revision 1.54.2.1: +5 -8
lines
Sync with HEAD.
Revision 1.40.16.8: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:24:58 2007 UTC (17 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.40.16.7: preferred, colored; branchpoint 1.40: preferred, colored
Changes since revision 1.40.16.7: +5 -8
lines
sync with head
Revision 1.48.4.11: download - view: text, markup, annotated - select for diffs
Mon Dec 3 19:03:26 2007 UTC (17 years ago) by ad
Branches: vmlocking
Diff to: previous 1.48.4.10: preferred, colored; branchpoint 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48.4.10: +1 -4
lines
Sync with HEAD.
Revision 1.48.4.10: download - view: text, markup, annotated - select for diffs
Mon Dec 3 18:36:40 2007 UTC (17 years ago) by ad
Branches: vmlocking
Diff to: previous 1.48.4.9: preferred, colored; branchpoint 1.48: preferred, colored
Changes since revision 1.48.4.9: +14 -4
lines
Sync with HEAD.
Revision 1.58: download - view: text, markup, annotated - select for diffs
Mon Dec 3 15:33:45 2007 UTC (17 years ago) by ad
Branches: MAIN
CVS tags: yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base2,
vmlocking2-base1,
vmlocking-nbase,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
jmcneill-pm-base,
cube-autoconf-base,
cube-autoconf
Branch point for: vmlocking2,
bouyer-xeni386
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +5 -8
lines
Interrupt handling changes, in discussion since February:
- Reduce available SPL levels for hardware devices to none, vm, sched, high.
- Acquire kernel_lock only for interrupts at IPL_VM.
- Implement threaded soft interrupts.
Revision 1.49.8.5: download - view: text, markup, annotated - select for diffs
Wed Nov 21 21:53:15 2007 UTC (17 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.49.8.4: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.8.4: +2 -1
lines
Sync with HEAD.
Revision 1.54.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 19 00:46:25 2007 UTC (17 years ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +8 -1
lines
Sync with HEAD.
Revision 1.52.2.3: download - view: text, markup, annotated - select for diffs
Sun Nov 18 19:34:26 2007 UTC (17 years ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.52.2.2: preferred, colored; branchpoint 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52.2.2: +1 -0
lines
Sync with HEAD
Revision 1.40.16.7: download - view: text, markup, annotated - select for diffs
Thu Nov 15 11:42:55 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.40.16.6: preferred, colored; branchpoint 1.40: preferred, colored
Changes since revision 1.40.16.6: +8 -1
lines
sync with head.
Revision 1.57: download - view: text, markup, annotated - select for diffs
Wed Nov 14 17:54:59 2007 UTC (17 years, 1 month ago) by ad
Branches: MAIN
CVS tags: bouyer-xenamd64-base2,
bouyer-xenamd64-base
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +2 -1
lines
- Remove I486_CPU, I586_CPU, I686_CPU options. They buy us nothing and
clutter the code significantly.
- Remove pccons.
Revision 1.52.2.2: download - view: text, markup, annotated - select for diffs
Tue Nov 13 15:58:32 2007 UTC (17 years, 1 month ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.52.2.1: preferred, colored; branchpoint 1.52: preferred, colored
Changes since revision 1.52.2.1: +6 -0
lines
Sync with HEAD
Revision 1.49.8.4: download - view: text, markup, annotated - select for diffs
Sun Nov 11 16:46:30 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.49.8.3: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.8.3: +7 -1
lines
Sync with HEAD.
Revision 1.56: download - view: text, markup, annotated - select for diffs
Sat Nov 10 23:04:28 2007 UTC (17 years, 1 month ago) by ad
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +3 -3
lines
fsbase/gsbase:
- Fix a few bugs with it, in particular fork/exec handling.
- Store the descriptors in the PCB, not in the LWP.
Revision 1.55: download - view: text, markup, annotated - select for diffs
Sat Nov 10 20:06:23 2007 UTC (17 years, 1 month ago) by ad
Branches: MAIN
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +7 -1
lines
- When computing the TSC frequency, call i8254_delay() and not DELAY().
- Use atomics to adjust the pmap reference count, instead of taking locks.
- Implement I386_{SET,GET}_{FS,GS}BASE, allowing %fs and %gs to be used
as per-thread registers. This is compatible with FreeBSD.
- Run patches after we have attached CPUs, since we then know if the
system is uniprocessor or not. Eliminates a lot of #ifdef MULTIPROCESSOR
and makes running MP kernels on UP systems cheaper.
- Patch out many of the 'lock' prefixes to nops if uniprocessor.
- Do a wbinvd after patching to ensure that the trace/instruction cache
is up to date.
Revision 1.49.10.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:17:27 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +48 -30
lines
sync with HEAD
Revision 1.40.16.6: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:26:35 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.40.16.5: preferred, colored; branchpoint 1.40: preferred, colored
Changes since revision 1.40.16.5: +30 -25
lines
sync with head.
Revision 1.49.8.3: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:42:34 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.49.8.2: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.8.2: +24 -24
lines
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.52.2.1: download - view: text, markup, annotated - select for diffs
Thu Oct 25 22:35:50 2007 UTC (17 years, 1 month ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +24 -24
lines
Sync with HEAD.
Revision 1.48.4.9: download - view: text, markup, annotated - select for diffs
Tue Oct 23 20:13:01 2007 UTC (17 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.48.4.8: preferred, colored; branchpoint 1.48: preferred, colored
Changes since revision 1.48.4.8: +29 -25
lines
Sync with head.
Revision 1.54: download - view: text, markup, annotated - select for diffs
Thu Oct 18 15:28:35 2007 UTC (17 years, 1 month ago) by yamt
Branches: MAIN
CVS tags: jmcneill-base
Branch point for: mjf-devfs
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +24 -24
lines
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.53: download - view: text, markup, annotated - select for diffs
Wed Oct 17 19:54:45 2007 UTC (17 years, 1 month ago) by garbled
Branches: MAIN
CVS tags: yamt-x86pmap-base4
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +1 -1
lines
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.48.4.8: download - view: text, markup, annotated - select for diffs
Fri Oct 12 13:48:49 2007 UTC (17 years, 2 months ago) by ad
Branches: vmlocking
Diff to: previous 1.48.4.7: preferred, colored; branchpoint 1.48: preferred, colored
Changes since revision 1.48.4.7: +1 -12
lines
Fix merge errors.
Revision 1.48.4.7: download - view: text, markup, annotated - select for diffs
Tue Oct 9 15:22:04 2007 UTC (17 years, 2 months ago) by ad
Branches: vmlocking
Diff to: previous 1.48.4.6: preferred, colored; branchpoint 1.48: preferred, colored
Changes since revision 1.48.4.6: +1 -2
lines
Sync with head.
Revision 1.48.4.6: download - view: text, markup, annotated - select for diffs
Tue Oct 9 13:37:54 2007 UTC (17 years, 2 months ago) by ad
Branches: vmlocking
Diff to: previous 1.48.4.5: preferred, colored; branchpoint 1.48: preferred, colored
Changes since revision 1.48.4.5: +18 -1
lines
Sync with head.
Revision 1.50.2.4: download - view: text, markup, annotated - select for diffs
Sun Oct 7 13:17:12 2007 UTC (17 years, 2 months ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.50.2.3: preferred, colored; branchpoint 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50.2.3: +13 -13
lines
whitespace changes to reduce diffs.
Revision 1.50.2.3: download - view: text, markup, annotated - select for diffs
Sat Oct 6 15:34:51 2007 UTC (17 years, 2 months ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.50.2.2: preferred, colored; branchpoint 1.50: preferred, colored
Changes since revision 1.50.2.2: +7 -2
lines
sync with head.
Revision 1.48.12.2: download - view: text, markup, annotated - select for diffs
Wed Oct 3 19:23:44 2007 UTC (17 years, 2 months ago) by garbled
Branches: ppcoea-renovation
Diff to: previous 1.48.12.1: preferred, colored; branchpoint 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48.12.1: +25 -7
lines
Sync with HEAD
Revision 1.49.8.2: download - view: text, markup, annotated - select for diffs
Tue Oct 2 18:27:16 2007 UTC (17 years, 2 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.49.8.1: preferred, colored; branchpoint 1.49: preferred, colored
Changes since revision 1.49.8.1: +7 -2
lines
Sync with HEAD.
Revision 1.52: download - view: text, markup, annotated - select for diffs
Wed Sep 26 19:48:36 2007 UTC (17 years, 2 months ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base3,
yamt-x86pmap-base2,
vmlocking-base,
ppcoea-renovation-base
Branch point for: bouyer-xenamd64
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +7 -1
lines
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.51: download - view: text, markup, annotated - select for diffs
Tue Sep 25 17:08:08 2007 UTC (17 years, 2 months ago) by ad
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +1 -2
lines
ci_astpending is no more.
Revision 1.50.2.2: download - view: text, markup, annotated - select for diffs
Mon Sep 24 10:56:48 2007 UTC (17 years, 2 months ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.50.2.1: preferred, colored; branchpoint 1.50: preferred, colored
Changes since revision 1.50.2.1: +2 -1
lines
remove hardcoded numbers of PTPs used for kernel image and bootstrap tables.
Revision 1.50.2.1: download - view: text, markup, annotated - select for diffs
Sun Sep 23 18:28:16 2007 UTC (17 years, 2 months ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +11 -12
lines
- sync with amd64.
- pmap_alloc_level: remove fast call special case.
- tweak some printf to work for both of LP64 and LP32.
- remove machdep.nkpde sysctl.
- remove automatic adjustment of nkpde for now. will revisit later.
Revision 1.49.8.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 16:47:23 2007 UTC (17 years, 3 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +19 -6
lines
Sync with HEAD.
Revision 1.40.16.5: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:26:39 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.40.16.4: preferred, colored; branchpoint 1.40: preferred, colored
Changes since revision 1.40.16.4: +22 -12
lines
sync with head.
Revision 1.49.4.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 10:19:02 2007 UTC (17 years, 3 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +19 -6
lines
Sync with HEAD.
Revision 1.50: download - view: text, markup, annotated - select for diffs
Wed Aug 29 23:38:04 2007 UTC (17 years, 3 months ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base,
nick-csl-alignment-base5
Branch point for: yamt-x86pmap
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +19 -6
lines
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.48.4.5: download - view: text, markup, annotated - select for diffs
Tue Aug 21 10:36:50 2007 UTC (17 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.48.4.4: preferred, colored; branchpoint 1.48: preferred, colored
Changes since revision 1.48.4.4: +2 -2
lines
- Add ci_cpumask and use in preference to (1 << ci_cpuid). Some processors
are bad at shifting by non-constant amounts.
- pmap_tlb_shootdown() must be called with preemption disabled.
- Defer waiting for tlb shootdown to complete after kenter_pa()/kremove().
Spin in pmap_update() and in pmap_detactivate(), in case the LWP has been
preempted
- When preparing to send a multicast shootdown IPI, avoid scanning the list
of CPUs if the pmap's bitmask indicates that it's only active locally.
Revision 1.48.4.4: download - view: text, markup, annotated - select for diffs
Sun Jul 29 10:18:48 2007 UTC (17 years, 4 months ago) by ad
Branches: vmlocking
Diff to: previous 1.48.4.3: preferred, colored; branchpoint 1.48: preferred, colored
Changes since revision 1.48.4.3: +18 -2
lines
- 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.48.6.1: download - view: text, markup, annotated - select for diffs
Wed Jul 11 19:59:58 2007 UTC (17 years, 5 months ago) by mjf
Branches: mjf-ufs-trans
Diff to: previous 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48: +4 -7
lines
Sync with head.
Revision 1.48.4.3: download - view: text, markup, annotated - select for diffs
Sat Jul 7 11:56:10 2007 UTC (17 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.48.4.2: preferred, colored; branchpoint 1.48: preferred, colored
Changes since revision 1.48.4.2: +1 -11
lines
- Remove the interrupt priority range and use 'kernel RT' instead,
since only soft interrupts are threaded.
- Rename l->l_pinned to l->l_switchto. It might be useful for (re-)
implementing SA or doors.
- Simplify soft interrupt dispatch so MD code is doing as little as
possible that is new.
Revision 1.48.4.2: download - view: text, markup, annotated - select for diffs
Sun Jun 17 21:30:36 2007 UTC (17 years, 5 months ago) by ad
Branches: vmlocking
Diff to: previous 1.48.4.1: preferred, colored; branchpoint 1.48: preferred, colored
Changes since revision 1.48.4.1: +9 -9
lines
- Increase the number of thread priorities from 128 to 256. How the space
is set up is to be revisited.
- Implement soft interrupts as kernel threads. A generic implementation
is provided, with hooks for fast-path MD code that can run the interrupt
threads over the top of other threads executing in the kernel.
- Split vnode::v_flag into three fields, depending on how the flag is
locked (by the interlock, by the vnode lock, by the file system).
- Miscellaneous locking fixes and improvements.
Revision 1.48.4.1: download - view: text, markup, annotated - select for diffs
Sun May 27 12:27:30 2007 UTC (17 years, 6 months ago) by ad
Branches: vmlocking
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +4 -7
lines
Sync with head.
Revision 1.48.12.1: download - view: text, markup, annotated - select for diffs
Tue May 22 17:26:58 2007 UTC (17 years, 6 months ago) by matt
Branches: ppcoea-renovation
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +4 -7
lines
Update to HEAD.
Revision 1.49: download - view: text, markup, annotated - select for diffs
Thu May 17 14:51:20 2007 UTC (17 years, 6 months ago) by yamt
Branches: MAIN
CVS tags: nick-csl-alignment-base,
mjf-ufs-trans-base,
matt-mips64-base,
matt-mips64,
hpcarm-cleanup
Branch point for: nick-csl-alignment,
matt-armv6,
jmcneill-pm
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +4 -7
lines
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.47.2.4: download - view: text, markup, annotated - select for diffs
Thu Mar 29 18:57:15 2007 UTC (17 years, 8 months ago) by ad
Branches: yamt-idlelwp
Diff to: previous 1.47.2.3: preferred, colored; branchpoint 1.47: preferred, colored; next MAIN 1.48: preferred, colored
Changes since revision 1.47.2.3: +2 -2
lines
PK_SYSTEM -> LW_SYSTEM
Revision 1.47.2.3: download - view: text, markup, annotated - select for diffs
Fri Mar 23 15:52:52 2007 UTC (17 years, 8 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.47.2.2: preferred, colored; branchpoint 1.47: preferred, colored
Changes since revision 1.47.2.2: +1 -3
lines
remove L_FORW and L_BACK.
Revision 1.47.2.2: download - view: text, markup, annotated - select for diffs
Tue Feb 27 16:51:38 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.47.2.1: preferred, colored; branchpoint 1.47: preferred, colored
Changes since revision 1.47.2.1: +2 -2
lines
- sync with head.
- move sched_changepri back to kern_synch.c as it doesn't know PPQ anymore.
Revision 1.40.16.4: download - view: text, markup, annotated - select for diffs
Mon Feb 26 09:06:55 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.40.16.3: preferred, colored; branchpoint 1.40: preferred, colored
Changes since revision 1.40.16.3: +27 -3
lines
sync with head.
Revision 1.48: download - view: text, markup, annotated - select for diffs
Sat Feb 17 22:31:37 2007 UTC (17 years, 9 months ago) by pavel
Branches: MAIN
CVS tags: yamt-idlelwp-base8,
thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup,
ad-audiomp-base,
ad-audiomp
Branch point for: vmlocking,
ppcoea-renovation,
mjf-ufs-trans
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +2 -2
lines
Change the process/lwp flags seen by userland via sysctl back to the
P_*/L_* naming convention, and rename the in-kernel flags to avoid
conflict. (P_ -> PK_, L_ -> LW_ ). Add back the (now unused) LSDEAD
constant.
Restores source compatibility with pre-newlock2 tools like ps or top.
Reviewed by Andrew Doran.
Revision 1.47.2.1: download - view: text, markup, annotated - select for diffs
Sat Feb 17 10:30:44 2007 UTC (17 years, 9 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +4 -5
lines
- separate context switching and thread scheduling.
- introduce idle lwp.
- change some related MD/MI interfaces and implement i386 version.
Revision 1.47: download - view: text, markup, annotated - select for diffs
Fri Feb 9 21:55:04 2007 UTC (17 years, 10 months ago) by ad
Branches: MAIN
CVS tags: post-newlock2-merge
Branch point for: yamt-idlelwp
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +26 -2
lines
Merge newlock2 to head.
Revision 1.45.4.7: download - view: text, markup, annotated - select for diffs
Sat Jan 27 07:09:02 2007 UTC (17 years, 10 months ago) by ad
Branches: newlock2
Diff to: previous 1.45.4.6: preferred, colored; branchpoint 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45.4.6: +2 -1
lines
If running on a PPro or later, at boot patch in versions of spllower() and
similar that use cmpxchg8b instead of cli/sti. Cuts the clock cycles for
splx() by a factor of ~6 on the P4, and ~3 on the PIII when bracketed by
serializing instructions (and hopefully more when not).
Revision 1.45.4.6: download - view: text, markup, annotated - select for diffs
Fri Jan 12 01:00:49 2007 UTC (17 years, 11 months ago) by ad
Branches: newlock2
Diff to: previous 1.45.4.5: preferred, colored; branchpoint 1.45: preferred, colored
Changes since revision 1.45.4.5: +4 -3
lines
Sync with head.
Revision 1.45.4.5: download - view: text, markup, annotated - select for diffs
Thu Jan 11 22:22:56 2007 UTC (17 years, 11 months ago) by ad
Branches: newlock2
Diff to: previous 1.45.4.4: preferred, colored; branchpoint 1.45: preferred, colored
Changes since revision 1.45.4.4: +2 -1
lines
Checkpoint work in progress.
Revision 1.40.16.3: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:46:09 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.40.16.2: preferred, colored; branchpoint 1.40: preferred, colored
Changes since revision 1.40.16.2: +6 -4
lines
sync with head.
Revision 1.45.4.4: download - view: text, markup, annotated - select for diffs
Fri Dec 29 20:27:41 2006 UTC (17 years, 11 months ago) by ad
Branches: newlock2
Diff to: previous 1.45.4.3: preferred, colored; branchpoint 1.45: preferred, colored
Changes since revision 1.45.4.3: +2 -5
lines
Checkpoint work in progress.
Revision 1.45.6.1: download - view: text, markup, annotated - select for diffs
Sun Dec 10 07:16:06 2006 UTC (18 years ago) by yamt
Branches: yamt-splraiseipl
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +3 -1
lines
sync with head.
Revision 1.46: download - view: text, markup, annotated - select for diffs
Fri Dec 8 15:05:18 2006 UTC (18 years ago) by yamt
Branches: MAIN
CVS tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
newlock2-nbase,
newlock2-base
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +3 -1
lines
- 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.45.4.3: download - view: text, markup, annotated - select for diffs
Fri Nov 17 16:34:32 2006 UTC (18 years ago) by ad
Branches: newlock2
Diff to: previous 1.45.4.2: preferred, colored; branchpoint 1.45: preferred, colored
Changes since revision 1.45.4.2: +18 -13
lines
Checkpoint work in progress.
Revision 1.45.4.2: download - view: text, markup, annotated - select for diffs
Fri Oct 20 19:46:53 2006 UTC (18 years, 1 month ago) by ad
Branches: newlock2
Diff to: previous 1.45.4.1: preferred, colored; branchpoint 1.45: preferred, colored
Changes since revision 1.45.4.1: +4 -2
lines
Export/remove new symbols to asm code.
Revision 1.45.4.1: download - view: text, markup, annotated - select for diffs
Sun Sep 10 23:42:41 2006 UTC (18 years, 3 months ago) by ad
Branches: newlock2
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +20 -1
lines
Add updated locking primatives.
Revision 1.43.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:40:07 2006 UTC (18 years, 3 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43: +5 -4
lines
sync with head
Revision 1.43.8.2: download - view: text, markup, annotated - select for diffs
Fri Aug 11 15:41:54 2006 UTC (18 years, 4 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.43.8.1: preferred, colored; branchpoint 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43.8.1: +4 -4
lines
sync with head
Revision 1.44.2.1: download - view: text, markup, annotated - select for diffs
Thu Jul 13 17:48:52 2006 UTC (18 years, 5 months ago) by gdamore
Branches: gdamore-uart
Diff to: previous 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44: +4 -4
lines
Merge from HEAD.
Revision 1.45: download - view: text, markup, annotated - select for diffs
Sat Jul 8 20:30:00 2006 UTC (18 years, 5 months ago) by christos
Branches: MAIN
CVS tags: yamt-splraiseipl-base2,
yamt-splraiseipl-base,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
rpaulo-netinet-merge-pcb-base,
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,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: yamt-splraiseipl,
newlock2
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +4 -4
lines
- apm.c -> apmbios.c and s/NAPM/NAPMBIOS/
- adjust to new function call signatures.
Revision 1.40.16.2: download - view: text, markup, annotated - select for diffs
Wed Jun 21 14:52:18 2006 UTC (18 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.40.16.1: preferred, colored; branchpoint 1.40: preferred, colored
Changes since revision 1.40.16.1: +50 -1
lines
sync with head.
Revision 1.43.14.1: download - view: text, markup, annotated - select for diffs
Mon Jun 19 03:44:25 2006 UTC (18 years, 5 months ago) by chap
Branches: chap-midi
Diff to: previous 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43: +2 -1
lines
Sync with head.
Revision 1.43.6.1: download - view: text, markup, annotated - select for diffs
Thu Jun 1 22:34:49 2006 UTC (18 years, 6 months ago) by kardel
Branches: simonb-timecounters
CVS tags: simonb-timcounters-final
Diff to: previous 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43: +2 -1
lines
Sync with head.
Revision 1.43.12.1: download - view: text, markup, annotated - select for diffs
Wed May 24 15:47:58 2006 UTC (18 years, 6 months ago) by tron
Branches: peter-altq
Diff to: previous 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43: +2 -1
lines
Merge 2006-05-24 NetBSD-current into the "peter-altq" branch.
Revision 1.43.8.1: download - view: text, markup, annotated - select for diffs
Wed May 24 10:56:51 2006 UTC (18 years, 6 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +2 -1
lines
sync with head.
Revision 1.44: download - view: text, markup, annotated - select for diffs
Mon May 22 13:44:53 2006 UTC (18 years, 6 months ago) by yamt
Branches: MAIN
CVS tags: yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
simonb-timecounters-base,
gdamore-uart-base,
chap-midi-nbase,
chap-midi-base
Branch point for: gdamore-uart
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +2 -1
lines
i386 and xen: move struct user to the highest address in uarea
and reduce UPAGES from 4 to 3 in the case of !NOREDZONE.
Revision 1.43: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:17:41 2005 UTC (19 years ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5,
yamt-uio_vmspace,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
peter-altq-base,
elad-kernelauth-base,
elad-kernelauth
Branch point for: yamt-pdpolicy,
simonb-timecounters,
rpaulo-netinet-merge-pcb,
peter-altq,
chap-midi
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +1 -1
lines
merge ktrace-lwp.
Revision 1.37.2.4: download - view: text, markup, annotated - select for diffs
Thu Nov 10 13:56:46 2005 UTC (19 years, 1 month ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.37.2.3: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37.2.3: +49 -1
lines
Sync with HEAD. Here we go again...
Revision 1.42: download - view: text, markup, annotated - select for diffs
Mon Nov 7 11:42:34 2005 UTC (19 years, 1 month ago) by yamt
Branches: MAIN
CVS tags: yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base3,
yamt-readahead-base2,
yamt-readahead-base,
yamt-readahead,
ktrace-lwp-base
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +46 -1
lines
some assym cleanup.
- move copyin and friends from locore.S to their own file, copy.S.
share it between i386 and xen.
- defparam KERNBASE and kill KERNBASE_LOCORE hack.
- add more symbols to assym.h and use it where appropriate.
Revision 1.41: download - view: text, markup, annotated - select for diffs
Tue Sep 13 01:43:29 2005 UTC (19 years, 3 months ago) by christos
Branches: MAIN
CVS tags: yamt-vop-base3,
yamt-vop-base2,
yamt-vop-base,
yamt-vop,
thorpej-vnode-attr-base,
thorpej-vnode-attr
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +4 -1
lines
compat code reorg. Other archs will need similar changes...
Revision 1.40.16.1: download - view: text, markup, annotated - select for diffs
Thu Jul 7 12:35:52 2005 UTC (19 years, 5 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +4 -1
lines
handle M_EXT_LAZY in i386 MD in_cksum.
Revision 1.37.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:16:42 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.37.2.2: preferred, colored
Changes since revision 1.37.2.2: +1 -1
lines
Fix the sync with head I botched.
Revision 1.37.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:35:27 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.37.2.1: preferred, colored
Changes since revision 1.37.2.1: +0 -0
lines
Sync with HEAD.
Revision 1.37.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:35:49 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +6 -3
lines
Sync with HEAD
Revision 1.40: download - view: text, markup, annotated - select for diffs
Fri Feb 20 17:35:01 2004 UTC (20 years, 9 months ago) by yamt
Branches: 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,
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,
kent-audio2-base,
kent-audio2,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: yamt-lazymbuf
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +4 -1
lines
defer pmap switching until it's really needed
to avoid frequent loading of cr3 register, which involves tlb flush.
with some fixes/improvements from Stephan Uphoff and Bang Jun-Young.
Revision 1.39: download - view: text, markup, annotated - select for diffs
Tue Nov 4 10:33:15 2003 UTC (21 years, 1 month ago) by dsl
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +2 -2
lines
Remove p_nras from struct proc - use LIST_EMPTY(&p->p_raslist) instead.
Remove p_raslock and rename p_lwplock p_lock (one lock is enough).
Simplify window test when adding a ras and correct test on VM_MAXUSER_ADDRESS.
Avoid unpredictable branch in i386 locore.S
(pad fields left in struct proc to avoid kernel bump)
Revision 1.38: download - view: text, markup, annotated - select for diffs
Thu Jul 3 21:25:45 2003 UTC (21 years, 5 months ago) by christos
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +2 -2
lines
use the real linux_rt_sigreturn.
Revision 1.37: download - view: text, markup, annotated - select for diffs
Sun May 4 22:01:58 2003 UTC (21 years, 7 months ago) by fvdl
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +2 -1
lines
Block level-triggered interrupts at the ioapic if they are deferred.
Avoids interrupt storms seen on some systems. Many thanks to
Stoned Elipot for testing.
Revision 1.36: download - view: text, markup, annotated - select for diffs
Wed Apr 2 07:35:58 2003 UTC (21 years, 8 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +4 -1
lines
Use PAGE_SIZE rather than NBPG.
Revision 1.35: download - view: text, markup, annotated - select for diffs
Fri Jan 17 23:10:30 2003 UTC (21 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +15 -14
lines
Merge the nathanw_sa branch.
Revision 1.24.2.12: download - view: text, markup, annotated - select for diffs
Wed Dec 11 06:00:53 2002 UTC (22 years ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.24.2.11: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24.2.11: +51 -9
lines
Sync with HEAD.
Revision 1.34: download - view: text, markup, annotated - select for diffs
Fri Dec 6 00:00:20 2002 UTC (22 years ago) by christos
Branches: MAIN
CVS tags: nathanw_sa_before_merge,
nathanw_sa_base,
gmcgarry_ucred_base,
gmcgarry_ucred,
gmcgarry_ctxsw_base,
gmcgarry_ctxsw,
fvdl_fs64_base
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +3 -1
lines
add offsets for linux_rt_sigframe
Revision 1.24.2.11: download - view: text, markup, annotated - select for diffs
Tue Nov 26 22:08:42 2002 UTC (22 years ago) by skrll
Branches: nathanw_sa
Diff to: previous 1.24.2.10: preferred, colored
Changes since revision 1.24.2.10: +2 -1
lines
Add P_MD_ASTPENDING for the benefit of locore.s after recent changes.
Revision 1.33: download - view: text, markup, annotated - select for diffs
Fri Nov 22 15:23:39 2002 UTC (22 years ago) by fvdl
Branches: MAIN
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +49 -9
lines
New interrupt code. The basic idea behind it is to hide the differences
in interrupt controllers in struct pic, and try to keep as much
common code as possible. At the lowest (asm) level, this is done
with CPP macros.
The main structure is now struct intrsource, describing an established
interrupt line, of any kind (soft/hard local apic/legacy apic/IO apic).
For quick masking, there may be a maximum of 32 sources per CPU.
Sources can be assigned to any CPU in the MP case, though currently they
all go to the boot CPU.
Revision 1.24.2.10: download - view: text, markup, annotated - select for diffs
Fri Oct 18 03:32:49 2002 UTC (22 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.24.2.9: preferred, colored
Changes since revision 1.24.2.9: +2 -2
lines
L_CPU is relative to a struct lwp, not a struct proc.
Revision 1.24.2.9: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:37:40 2002 UTC (22 years, 1 month ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.24.2.8: preferred, colored
Changes since revision 1.24.2.8: +42 -0
lines
Catch up to -current.
Revision 1.28.2.3: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:33:19 2002 UTC (22 years, 2 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.28.2.2: preferred, colored; branchpoint 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28.2.2: +44 -1
lines
sync kqueue with -current; this includes merge of gehenna-devsw branch,
merge of i386 MP branch, and part of autoconf rototil work
Revision 1.32: download - view: text, markup, annotated - select for diffs
Tue Oct 1 12:56:51 2002 UTC (22 years, 2 months ago) by fvdl
Branches: MAIN
CVS tags: kqueue-beforemerge,
kqueue-base,
kqueue-aftermerge
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +44 -1
lines
Merge Bill Sommerfeld's i386 MP branch. This code has some known
caveats, but works quite well in a lot of MP cases, and all
UP cases that I have tested. Parts of this will hopefully be
reworked in the not-too-distant future.
Revision 1.24.2.8: download - view: text, markup, annotated - select for diffs
Tue Sep 17 21:15:04 2002 UTC (22 years, 2 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.24.2.7: preferred, colored
Changes since revision 1.24.2.7: +1 -1
lines
Catch up to -current.
Revision 1.28.2.2: download - view: text, markup, annotated - select for diffs
Fri Sep 6 08:36:12 2002 UTC (22 years, 3 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.28.2.1: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.2.1: +2 -4
lines
sync kqueue branch with HEAD
Revision 1.17.10.18: download - view: text, markup, annotated - select for diffs
Sat Aug 31 20:31:34 2002 UTC (22 years, 3 months ago) by sommerfeld
Branches: sommerfeld_i386mp_1
Diff to: previous 1.17.10.17: preferred, colored; branchpoint 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17.10.17: +1 -0
lines
SMP branch resync. Mostly RAS support.
Revision 1.29.2.2: download - view: text, markup, annotated - select for diffs
Sat Aug 31 13:44:52 2002 UTC (22 years, 3 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.29.2.1: preferred, colored; branchpoint 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29.2.1: +2 -1
lines
catch up with -current.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Wed Aug 28 09:47:15 2002 UTC (22 years, 3 months ago) by gmcgarry
Branches: MAIN
CVS tags: sommerfeld_i386mpnext,
sommerfeld_i386mpbase_1,
gehenna-devsw-base
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -1
lines
RAS support for i386.
Revision 1.24.2.7: download - view: text, markup, annotated - select for diffs
Thu Aug 1 02:42:01 2002 UTC (22 years, 4 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.24.2.6: preferred, colored
Changes since revision 1.24.2.6: +1 -4
lines
Catch up to -current.
Revision 1.24.2.6: download - view: text, markup, annotated - select for diffs
Sun Jul 28 05:12:24 2002 UTC (22 years, 4 months ago) by gmcgarry
Branches: nathanw_sa
Diff to: previous 1.24.2.5: preferred, colored
Changes since revision 1.24.2.5: +1 -2
lines
Purge SAF_UPCALL.
Revision 1.29.2.1: download - view: text, markup, annotated - select for diffs
Tue Jul 16 08:29:30 2002 UTC (22 years, 5 months ago) by gehenna
Branches: gehenna-devsw
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +1 -4
lines
catch up with -current.
Revision 1.24.2.5: download - view: text, markup, annotated - select for diffs
Fri Jul 12 01:39:30 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.24.2.4: preferred, colored
Changes since revision 1.24.2.4: +1 -2
lines
No longer need to pull in lwp.h; proc.h pulls it in for us.
Revision 1.17.10.17: download - view: text, markup, annotated - select for diffs
Tue Jun 25 15:44:50 2002 UTC (22 years, 5 months ago) by sommerfeld
Branches: sommerfeld_i386mp_1
Diff to: previous 1.17.10.16: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.10.16: +0 -3
lines
Resynch with -current.
Revision 1.30: download - view: text, markup, annotated - select for diffs
Sun Jun 23 22:18:49 2002 UTC (22 years, 5 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +1 -4
lines
During native signal delivery (and iBCS2, since it uses the native
sigcode), arrange to have the signal handler invoked directly, using
the trampoline only for the return path, saving a call insn. Play
some other stack trickery in the trampoline to turn 2 pushl's into
one movl.
Revision 1.28.2.1: download - view: text, markup, annotated - select for diffs
Sun Jun 23 17:37:23 2002 UTC (22 years, 5 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -2
lines
catch up with -current on kqueue branch
Revision 1.24.2.4: download - view: text, markup, annotated - select for diffs
Thu Jun 20 03:39:10 2002 UTC (22 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.24.2.3: preferred, colored
Changes since revision 1.24.2.3: +2 -2
lines
Catch up to -current.
Revision 1.17.10.16: download - view: text, markup, annotated - select for diffs
Sat May 18 17:27:31 2002 UTC (22 years, 6 months ago) by sommerfeld
Branches: sommerfeld_i386mp_1
CVS tags: i386mp_plus16_stable
Diff to: previous 1.17.10.15: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.10.15: +2 -2
lines
Catch up with -current. (commons elimination, changes to MI pci framework)
Revision 1.29: download - view: text, markup, annotated - select for diffs
Sat May 11 09:39:26 2002 UTC (22 years, 7 months ago) by jdolecek
Branches: MAIN
CVS tags: netbsd-1-6-base,
netbsd-1-6-RELEASE,
netbsd-1-6-RC3,
netbsd-1-6-RC2,
netbsd-1-6-RC1,
netbsd-1-6-PATCH002-RELEASE,
netbsd-1-6-PATCH002-RC4,
netbsd-1-6-PATCH002-RC3,
netbsd-1-6-PATCH002-RC2,
netbsd-1-6-PATCH002-RC1,
netbsd-1-6-PATCH002,
netbsd-1-6-PATCH001-RELEASE,
netbsd-1-6-PATCH001-RC3,
netbsd-1-6-PATCH001-RC2,
netbsd-1-6-PATCH001-RC1,
netbsd-1-6-PATCH001,
netbsd-1-6
Branch point for: gehenna-devsw
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -2
lines
use _KERNEL_OPT rather than _KERNEL && !_LKM
Revision 1.17.10.15: download - view: text, markup, annotated - select for diffs
Sat Apr 27 14:39:34 2002 UTC (22 years, 7 months ago) by sommerfeld
Branches: sommerfeld_i386mp_1
Diff to: previous 1.17.10.14: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.10.14: +19 -1
lines
Add options TRAPLOG:
When enabled, each cpu gets a ring buffer; on every trap entry, we add
an entry to the trap log using the new locore "TLOG" macro. Somewhat
like a flight recorder, this may give some post-mortem clues as to
what was going on as we were spiralling in...
XXX currently depends on various intel MSR's to record the low order
32 bits of the cycle counter as well as last-branch from and to
addresses.
Revision 1.28.10.4: download - view: text, markup, annotated - select for diffs
Fri Mar 22 19:39:40 2002 UTC (22 years, 8 months ago) by thorpej
Branches: newlock
Diff to: previous 1.28.10.3: preferred, colored; branchpoint 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28.10.3: +3 -1
lines
def __MUTEX_PRIVATE
Revision 1.28.10.3: download - view: text, markup, annotated - select for diffs
Fri Mar 22 00:24:44 2002 UTC (22 years, 8 months ago) by thorpej
Branches: newlock
Diff to: previous 1.28.10.2: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.10.2: +5 -1
lines
Handle MUTEX_DEBUG.
Revision 1.28.10.2: download - view: text, markup, annotated - select for diffs
Sun Mar 17 23:07:44 2002 UTC (22 years, 9 months ago) by thorpej
Branches: newlock
Diff to: previous 1.28.10.1: preferred, colored; branchpoint 1.28: preferred, colored
Changes since revision 1.28.10.1: +2 -1
lines
Allocate proc0 in machine-dependent code (can't specify align(16) in
C code on x86).
Revision 1.28.10.1: download - view: text, markup, annotated - select for diffs
Sun Mar 17 21:28:52 2002 UTC (22 years, 9 months ago) by thorpej
Branches: newlock
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +4 -1
lines
Add first-cut mutex and rwlock implementation bits for the x86.
XXX Does not actually handle i386 CPUs yet, only i486 and later.
Revision 1.17.10.14: download - view: text, markup, annotated - select for diffs
Sat Dec 29 23:31:00 2001 UTC (22 years, 11 months ago) by sommerfeld
Branches: sommerfeld_i386mp_1
Diff to: previous 1.17.10.13: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.10.13: +4 -2
lines
Set up per-cpu GDT.
Use %fs for per-cpu data access.
Revision 1.24.2.3: download - view: text, markup, annotated - select for diffs
Thu Jun 21 19:25:27 2001 UTC (23 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.24.2.2: preferred, colored
Changes since revision 1.24.2.2: +9 -12
lines
Catch up to -current.
Revision 1.17.10.13: download - view: text, markup, annotated - select for diffs
Mon Jun 18 03:33:28 2001 UTC (23 years, 5 months ago) by sommerfeld
Branches: sommerfeld_i386mp_1
Diff to: previous 1.17.10.12: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.10.12: +0 -11
lines
checkpoint merge-in-progress from mainline.
Revision 1.19.4.3: download - view: text, markup, annotated - select for diffs
Sun Jun 17 22:26:52 2001 UTC (23 years, 6 months ago) by he
Branches: netbsd-1-5
CVS tags: netbsd-1-5-PATCH003,
netbsd-1-5-PATCH002,
netbsd-1-5-PATCH001
Diff to: previous 1.19.4.2: preferred, colored; branchpoint 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19.4.2: +1 -12
lines
Pull up revision 1.28 (requested by sommerfeld):
Add %fs/%gs to trap frame and save/restore them on trap/interupt/
syscall entry from userspace.
Remove special-case ``by hand'' validation of %fs/%gs register
values s well as special handling of them in various signal
handling paths. Now, like %ds and %es, they are validated by
the hardware on return to userland.
This paves the way for the use of %fs for per-cpu data on multi-
processor systems, and fixes an otherwise difficult-to-fix
interaction between threads/clone(2) and USER_LDT.
Revision 1.28: download - view: text, markup, annotated - select for diffs
Sun Jun 17 21:01:32 2001 UTC (23 years, 6 months ago) by sommerfeld
Branches: MAIN
CVS tags: thorpej-mips-cache-base,
thorpej-mips-cache,
thorpej-devvp-base3,
thorpej-devvp-base2,
thorpej-devvp-base,
thorpej-devvp,
pre-chs-ubcperf,
post-chs-ubcperf,
newlock-base,
ifpoll-base,
eeh-devprop-base,
eeh-devprop
Branch point for: newlock,
kqueue
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +1 -12
lines
Add %fs/%gs to trap frame and save/restore them on
trap/interrupt/syscall entry from userspace.
Remove special-case "by hand" validation of fs/gs register values as
well as special handling of them in various signal handling paths.
Now, like %ds and %es, they are validated by the hardware on return to
userland.
This paves the way for the use of %fs for per-cpu data on
multiprocessor systems, and fixes an otherwise difficult-to-fix
interaction between threads/clone(2) and USER_LDT.
Discussed in advance with Frank van der Linden.
Revision 1.17.10.12: download - view: text, markup, annotated - select for diffs
Sat May 26 20:05:42 2001 UTC (23 years, 6 months ago) by sommerfeld
Branches: sommerfeld_i386mp_1
Diff to: previous 1.17.10.11: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.10.11: +5 -1
lines
Merge up with -current
Revision 1.27: download - view: text, markup, annotated - select for diffs
Sat May 26 17:46:12 2001 UTC (23 years, 6 months ago) by sommerfeld
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +5 -1
lines
Add infrastructure to allow ports to override build of in6_cksum.c by
enabling the INET6_MD_CKSUM option, which is defopted into opt_inet.h.
Supply an i386 assembly version of in6_cksum in in_cksum.s; on
P6-family cpu's, this is is roughly 20% faster than the C code in
sys/netinet6 for ethernet-mtu-sized mbufs in L1 cache. Turn on
INET6_MD_CKSUM in i386/conf/std.i386
While we're here, also nuke some now-obsolete XXX comments from
in_cksum.s.
Revision 1.17.10.11: download - view: text, markup, annotated - select for diffs
Mon Apr 30 16:23:10 2001 UTC (23 years, 7 months ago) by sommerfeld
Branches: sommerfeld_i386mp_1
Diff to: previous 1.17.10.10: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.10.10: +4 -1
lines
Merge sommerfeld_i386mp_1 branch with -current as of today.
GENERIC.MP kernel boots and runs multiuser on my ABIT BP6
Revision 1.17.2.5: download - view: text, markup, annotated - select for diffs
Sat Apr 21 17:53:50 2001 UTC (23 years, 7 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.17.2.4: preferred, colored; branchpoint 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17.2.4: +5 -1
lines
Sync with HEAD
Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat Apr 14 13:56:02 2001 UTC (23 years, 8 months ago) by augustss
Branches: MAIN
CVS tags: thorpej_scsipi_nbase,
thorpej_scsipi_beforemerge,
thorpej_scsipi_base
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +5 -1
lines
Propagate __HAVE_GENERIC_SOFTINTR to assembly files.
Revision 1.24.2.2: download - view: text, markup, annotated - select for diffs
Mon Apr 9 01:53:30 2001 UTC (23 years, 8 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.24.2.1: preferred, colored
Changes since revision 1.24.2.1: +8 -1
lines
Catch up with -current.
Revision 1.19.4.2: download - view: text, markup, annotated - select for diffs
Fri Mar 30 22:29:23 2001 UTC (23 years, 8 months ago) by he
Branches: netbsd-1-5
Diff to: previous 1.19.4.1: preferred, colored; branchpoint 1.19: preferred, colored
Changes since revision 1.19.4.1: +8 -1
lines
Pull up revision 1.25 (requested by fvdl):
Use optimized i386 assembly version for in4_cksum as well as the
older in_cksum. Gets back the 10-15% throughput loss compared
to the NetBSD 1.4 branch.
Revision 1.17.10.10: download - view: text, markup, annotated - select for diffs
Fri Mar 16 05:00:47 2001 UTC (23 years, 9 months ago) by sommerfeld
Branches: sommerfeld_i386mp_1
Diff to: previous 1.17.10.9: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.10.9: +8 -1
lines
Merge branch with -current; top of branch + current builds a working
GENERIC.MP again.
Revision 1.17.2.4: download - view: text, markup, annotated - select for diffs
Mon Mar 12 13:28:54 2001 UTC (23 years, 9 months ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.17.2.3: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.2.3: +8 -1
lines
Sync with HEAD.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Tue Mar 6 14:55:14 2001 UTC (23 years, 9 months ago) by fvdl
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +8 -1
lines
Use assembly version of in4_cksum (which is a piece of code that
does some of the extra work and then jumps into in_cksum).
Revision 1.24.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 5 22:49:12 2001 UTC (23 years, 9 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +15 -11
lines
Initial commit of scheduler activations and lightweight process support.
Revision 1.17.10.9: download - view: text, markup, annotated - select for diffs
Wed Jan 10 04:38:32 2001 UTC (23 years, 11 months ago) by sommerfeld
Branches: sommerfeld_i386mp_1
Diff to: previous 1.17.10.8: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.10.8: +5 -6
lines
Significant rewrite of slave CPU attach and initialization, centering
on identifycpu() and spreading outward.
Separate feature probes (cpuid invocation), which runs on the cpu
being attached, from the display of this information, which runs on
the boot cpu; remove some of the probe code from locore as it doesn't
need to run that early.
We now spin up secondary cpu's during cpu_attach, have them do a cpu
feature probe, and then have them spin waiting for a "go" signal.
We no longer pay attention to the cpu signature and cpuid features
reported by the MP BIOS since those are known to be truncated for at
least some bioses.
We now do npx initialization (including FDIV bug detection) on all
cpus.
XXX Change some of the cyrix bug workarounds to fit the new
identifycpu() system; this is untested.
Revision 1.17.10.8: download - view: text, markup, annotated - select for diffs
Sun Jan 7 22:12:41 2001 UTC (23 years, 11 months ago) by sommerfeld
Branches: sommerfeld_i386mp_1
Diff to: previous 1.17.10.7: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.10.7: +11 -3
lines
Snapshot of merge-in-progress with -current.
[Not expected to build]. Catch up with the last N months worth of
changes to -current.
Revision 1.17.2.3: download - view: text, markup, annotated - select for diffs
Wed Dec 13 15:49:25 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.17.2.2: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.2.2: +2 -0
lines
Sync with HEAD (for UBC fixes).
Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Dec 11 05:28:59 2000 UTC (24 years ago) by mycroft
Branches: MAIN
Branch point for: nathanw_sa
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +3 -4
lines
Introduce 2 new flags in types.h:
* __HAVE_SYSCALL_INTERN. If this is defined, e_syscall is replaced by
e_syscall_intern, which is called at key places in the kernel. This can be
used to set a MD syscall handler pointer. This obsoletes and replaces the
*_HAS_SEPARATED_SYSCALL flags.
* __HAVE_MINIMAL_EMUL. If this is defined, certain (deprecated) elements in
struct emul are omitted.
Revision 1.23: download - view: text, markup, annotated - select for diffs
Sat Dec 9 13:20:04 2000 UTC (24 years ago) by jdolecek
Branches: MAIN
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +4 -1
lines
make locore.s call emulation-specific syscall code directly
this should improve speed of emulation syscall path (avoids one function call,
and emulations syscall can use the trapframe trick)
Idea: Charles Hannum
Revision 1.17.2.2: download - view: text, markup, annotated - select for diffs
Fri Dec 8 09:26:35 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.17.2.1: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.2.1: +7 -1
lines
Sync with HEAD.
Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Nov 29 21:53:47 2000 UTC (24 years ago) by jdolecek
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +7 -1
lines
LKMify
Revision 1.17.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 20:09:21 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +6 -6
lines
Update thorpej_scsipi to -current as of a month ago
A i386 GENERIC kernel compiles without the siop, ahc and bha drivers
(will be updated later). i386 IDE/ATAPI and ncr work, as well as
sparc/esp_sbus. alpha should work as well (untested yet).
siop, ahc and bha will be updated once I've updated the branch to current
-current, as well as machine-dependant code.
Revision 1.17.10.7: download - view: text, markup, annotated - select for diffs
Fri Aug 25 03:56:27 2000 UTC (24 years, 3 months ago) by sommerfeld
Branches: sommerfeld_i386mp_1
Diff to: previous 1.17.10.6: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.10.6: +3 -2
lines
Get this to at least build again in the !MULTIPROCESSOR case..
Revision 1.17.10.6: download - view: text, markup, annotated - select for diffs
Fri Aug 18 03:30:53 2000 UTC (24 years, 3 months ago) by sommerfeld
Branches: sommerfeld_i386mp_1
Diff to: previous 1.17.10.5: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.10.5: +2 -1
lines
Add PCB_FPCPU
Revision 1.19.4.1: download - view: text, markup, annotated - select for diffs
Wed Aug 16 23:18:21 2000 UTC (24 years, 4 months ago) by thorpej
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE,
netbsd-1-5-BETA2,
netbsd-1-5-BETA
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +2 -3
lines
Update from trunk:
Move the TSS selector out of the PCB and put it into mdproc. We
need to access this when we have the proclist locked for reading,
and thus cannot store it in the PCB (which may be swapped out).
As part of this, call pmap_activate() from cpu_switch() to switch
to the new address space, and refresh the PCB's copy of the LDT
selector from the pmap structure (see above paragraph). We need
to do this for MP support anyhow.
Fixes a "panic: spinlock_switchcheck: CPU 0 has 1 spin locks" via
gdt_compact() reported by Nathan Williams.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Aug 16 04:44:35 2000 UTC (24 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +2 -3
lines
Move the TSS selector out of the PCB and put it into mdproc. We
need to access this when we have the proclist locked for reading,
and thus cannot store it in the PCB (which may be swapped out).
As part of this, call pmap_activate() from cpu_switch() to switch
to the new address space, and refresh the PCB's copy of the LDT
selector from the pmap structure (see above paragraph). We need
to do this for MP support anyhow.
Fixes a "panic: spinlock_switchcheck: CPU 0 has 1 spin locks" via
gdt_compact() reported by Nathan Williams.
Revision 1.17.10.5: download - view: text, markup, annotated - select for diffs
Mon Aug 7 01:08:34 2000 UTC (24 years, 4 months ago) by sommerfeld
Branches: sommerfeld_i386mp_1
Diff to: previous 1.17.10.4: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.10.4: +0 -3
lines
Merge sommerfeld_i386mp_1 branch forward to 20000806 sources
Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Jun 29 08:44:51 2000 UTC (24 years, 5 months ago) by mrg
Branches: MAIN
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +1 -4
lines
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
Revision 1.17.10.4: download - view: text, markup, annotated - select for diffs
Sun Jun 25 23:10:18 2000 UTC (24 years, 5 months ago) by sommerfeld
Branches: sommerfeld_i386mp_1
Diff to: previous 1.17.10.3: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.10.3: +2 -1
lines
MULTIPROCESSOR: Set curproc->p_cpu when context switching
Revision 1.17.10.3: download - view: text, markup, annotated - select for diffs
Sun Jun 25 19:37:03 2000 UTC (24 years, 5 months ago) by sommerfeld
Branches: sommerfeld_i386mp_1
Diff to: previous 1.17.10.2: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.10.2: +2 -1
lines
Merge up to just-post-1.5 -current
Revision 1.19: download - view: text, markup, annotated - select for diffs
Fri May 26 00:36:45 2000 UTC (24 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: sommerfeld_i386mp_houseclean,
netbsd-1-5-base,
netbsd-1-5-ALPHA2,
minoura-xpg4dl-base,
minoura-xpg4dl
Branch point for: netbsd-1-5
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +2 -1
lines
Introduce a new process state distinct from SRUN called SONPROC
which indicates that the process is actually running on a
processor. Test against SONPROC as appropriate rather than
combinations of SRUN and curproc. Update all context switch code
to properly set SONPROC when the process becomes the current
process on the CPU.
Revision 1.17.10.2: download - view: text, markup, annotated - select for diffs
Wed May 3 14:42:31 2000 UTC (24 years, 7 months ago) by sommerfeld
Branches: sommerfeld_i386mp_1
Diff to: previous 1.17.10.1: preferred, colored; branchpoint 1.17: preferred, colored
Changes since revision 1.17.10.1: +4 -1
lines
Merge with -current
Revision 1.18: download - view: text, markup, annotated - select for diffs
Mon Apr 24 17:18:16 2000 UTC (24 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +4 -1
lines
Glue in uvm_pageidlezero(). While here, improve some panic messages
in pmap.c, as requested by Jonathan Stone.
Revision 1.17.10.1: download - view: text, markup, annotated - select for diffs
Sun Feb 20 17:53:26 2000 UTC (24 years, 9 months ago) by sommerfeld
Branches: sommerfeld_i386mp_1
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +22 -1
lines
Add offsets in struct cpu_info for the benefit of locore.s and similar
bottom-feeders.
Revision 1.16.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 21 00:49:58 1999 UTC (25 years, 5 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16: +1 -11
lines
Sync w/ -current.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Thu Jun 17 00:12:11 1999 UTC (25 years, 6 months ago) by thorpej
Branches: MAIN
CVS tags: wrstuden-devbsize-base,
wrstuden-devbsize-19991221,
wrstuden-devbsize,
sommerfeld_i386mpbase_20000422,
fvdl-softdep-base,
fvdl-softdep,
comdex-fall-1999-base,
comdex-fall-1999,
chs-ubc2-newbase,
chs-ubc2-base
Branch point for: thorpej_scsipi,
sommerfeld_i386mp_1
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +1 -11
lines
PMAP_NEW is no longer optional on the i386; the old pmap's page table
allocation strategy no longer works at all. Move pmap.new.* to pmap.*.
To read the revision history of PMAP_NEW up until this merge, use cvs
rlog of the old pmap.new.* files.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Mar 24 11:23:45 1999 UTC (25 years, 8 months ago) by tron
Branches: MAIN
CVS tags: netbsd-1-4-base,
netbsd-1-4-RELEASE,
netbsd-1-4-PATCH003,
netbsd-1-4-PATCH002,
netbsd-1-4-PATCH001,
netbsd-1-4,
kame_14_19990705,
kame_14_19990628,
kame_141_19991130,
kame
Branch point for: chs-ubc2
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +1 -8
lines
Remove remaining "ifdef UVM" checks.
Revision 1.15: download - view: text, markup, annotated - select for diffs
Wed Mar 24 11:21:47 1999 UTC (25 years, 8 months ago) by tron
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +1 -2
lines
Don't include "opt_uvm.h" any more.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri Mar 19 05:13:17 1999 UTC (25 years, 9 months ago) by cgd
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2
lines
pull isa_machdep.h in from machine/ instead of from $(MACHINE)/isa/
Revision 1.13: download - view: text, markup, annotated - select for diffs
Sat Oct 3 23:38:32 1998 UTC (26 years, 2 months ago) by fvdl
Branches: MAIN
CVS tags: kenh-if-detach-base,
kenh-if-detach,
chs-ubc-base,
chs-ubc
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -3
lines
Correct Linux compat include file names.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu Oct 1 04:36:05 1998 UTC (26 years, 2 months ago) by erh
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +2 -2
lines
Path to linux_machdep.h changed.
Revision 1.11: download - view: text, markup, annotated - select for diffs
Sun Sep 13 11:26:58 1998 UTC (26 years, 3 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +2 -1
lines
Oops; forgot to commit this.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Mon Aug 31 23:54:32 1998 UTC (26 years, 3 months ago) by jtk
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +8 -8
lines
add 32-bit register support and beginnings of APM V1.2 support
Revision 1.9: download - view: text, markup, annotated - select for diffs
Sat Aug 15 05:10:22 1998 UTC (26 years, 4 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +37 -2
lines
Assign my copyrights to TNF.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri Jun 26 06:54:08 1998 UTC (26 years, 5 months ago) by thorpej
Branches: MAIN
CVS tags: eeh-paddr_t-base,
eeh-paddr_t
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -1
lines
Include COMPAT_* option headers I forgot earlier, pointed out by
Nathan Williams.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Wed Feb 11 03:05:35 1998 UTC (26 years, 10 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +5 -2
lines
Fix for defopt'd UVM and PMAP_NEW.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Fri Feb 6 07:21:53 1998 UTC (26 years, 10 months ago) by mrg
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +18 -1
lines
add the i386 MD portions for UVM.
Revision 1.3.2.1: download - view: text, markup, annotated - select for diffs
Thu Nov 13 07:49:27 1997 UTC (27 years, 1 month ago) by mellon
Branches: netbsd-1-3
CVS tags: netbsd-1-3-RELEASE,
netbsd-1-3-PATCH003-CANDIDATE2,
netbsd-1-3-PATCH003-CANDIDATE1,
netbsd-1-3-PATCH003-CANDIDATE0,
netbsd-1-3-PATCH003,
netbsd-1-3-PATCH002,
netbsd-1-3-PATCH001,
netbsd-1-3-BETA
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +3 -1
lines
Pull rev 1.4 and 1.5 up from trunk (mycroft)
Revision 1.5: download - view: text, markup, annotated - select for diffs
Thu Nov 13 03:25:27 1997 UTC (27 years, 1 month ago) by mycroft
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +2 -1
lines
Implement the BSDI kluge for the Pentium `hang'; leave the first 7 IDT
descriptors in an unmapped page, and patch up the trap information inside
the page fault handler if the faulting VA is inside the IDT.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Thu Nov 13 03:16:44 1997 UTC (27 years, 1 month ago) by mycroft
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -1
lines
Some general cleanup:
* Call gdt_init() earlier on.
* Don't bother to check for TSS and LDT descriptors in verr_gdt().
* Nuke the sti special case for trace and breakpoint traps.
* Move some variable declarations into more appropriate locations.
Revision 1.2.4.1: download - view: text, markup, annotated - select for diffs
Wed Oct 15 20:59:28 1997 UTC (27 years, 2 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +9 -8
lines
Sync w/ trunk.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Oct 15 01:21:00 1997 UTC (27 years, 2 months ago) by jtk
Branches: MAIN
CVS tags: netbsd-1-3-base,
marc-pcmcia-base
Branch point for: netbsd-1-3
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +9 -8
lines
put in place a proper bioscall.h (sorry about that!)
finish up incomplete job of moving structure used by bioscall() to
<machine/bioscall.h>, with associated changes in include file strategy,
genassym stuff, etc.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Mar 15 18:09:51 1997 UTC (27 years, 9 months ago) by is
Branches: MAIN
CVS tags: thorpej-signal-base,
thorpej-signal,
marc-pcmcia-bp,
bouyer-scsipi
Branch point for: marc-pcmcia
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +1 -1
lines
New ARP system, supports IPv4 over any hardware link.
Some of the stuff (e.g., rarpd, bootpd, dhcpd etc., libsa) still will
only support Ethernet. Tcpdump itself should be ok, but libpcap needs
lot of work.
For the detailed change history, look at the commit log entries for
the is-newarp branch.
Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Wed Mar 12 14:34:41 1997 UTC (27 years, 9 months ago) by is
Branches: is-newarp
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.1: +172 -0
lines
Merge in Changes from The Trunk.
Revision 1.1.2.1
Wed Feb 26 23:50:07 1997 UTC (27 years, 9 months ago) by is
Branches: is-newarp
FILE REMOVED
Changes since revision 1.1: +0 -172
lines
file genassym.cf was added on branch is-newarp on 1997-03-12 14:34:41 +0000
Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Feb 26 23:50:07 1997 UTC (27 years, 9 months ago) by mycroft
Branches: MAIN
CVS tags: is-newarp-before-merge
Branch point for: is-newarp
Use genassym.sh, to support cross-compilation.
CVSweb <webmaster@jp.NetBSD.org>