Up to [cvs.NetBSD.org] / src / sys / arch / amd64 / amd64
Request diff between arbitrary revisions
Default branch: MAIN
Current tag: MAIN
Revision 1.70 / (download) - annotate - [select for diffs], Sun Jul 15 15:17:56 2012 UTC (11 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-pagecache-base8,
yamt-pagecache-base7,
yamt-pagecache-base6,
tls-maxphys-nbase,
tls-maxphys-base,
tls-maxphys,
khorben-n900,
agc-symver-base,
agc-symver,
HEAD
Changes since 1.69: +68 -103
lines
Diff to previous 1.69 (colored)
Rename MDP_IRET to MDL_IRET since it is an lwp flag, not a proc one. Add an MDL_COMPAT32 flag to the lwp's md_flags, set it for 32bit lwps and use it to force 'return to user' with iret (as is done when MDL_IRET is set). Split the iret/sysret code paths much later. Remove all the replicated code for 32bit system calls - which was only needed so that iret was always used. frameasm.h for XEN contains '#define swapgs', while XEN probable never needs swapgs, this is likely to be confusing. Add a SWAPGS which is a nop on XEN and swapgs otherwise. (I've not yet checked all the swapgs in files that include frameasm.h) Simple x86 programs still work. Hijack 6.99.9 kernel bump (needed for compat32 modules)
Revision 1.69 / (download) - annotate - [select for diffs], Sat Jun 16 17:30:19 2012 UTC (12 months ago) by chs
Branch: MAIN
Changes since 1.68: +3 -3
lines
Diff to previous 1.68 (colored)
rename the global variable "cpu" to "cputype" to avoid conflicting with dtrace, which wants to use "cpu" as a local variable.
Revision 1.68 / (download) - annotate - [select for diffs], Thu Apr 19 18:00:34 2012 UTC (13 months, 4 weeks ago) by jym
Branch: MAIN
CVS Tags: yamt-pagecache-base5,
jmcneill-usbmp-base9,
jmcneill-usbmp-base10
Changes since 1.67: +2 -2
lines
Diff to previous 1.67 (colored)
Set the CR0_AM bit so processes can enable alignment check errors under x86 through PSL_AC bit. ATF test incoming shortly.
Revision 1.67 / (download) - annotate - [select for diffs], Fri Feb 24 08:06:07 2012 UTC (15 months, 3 weeks ago) by cherry
Branch: MAIN
CVS Tags: yamt-pagecache-base4,
jmcneill-usbmp-base8,
jmcneill-usbmp-base7,
jmcneill-usbmp-base6,
jmcneill-usbmp-base5,
jmcneill-usbmp-base4
Changes since 1.66: +6 -1
lines
Diff to previous 1.66 (colored)
(xen) - remove the (*xpq_cpu)() shim.We hasten the %fs/%gs setup process during boot.Although this is hacky, it lets us use the non-xen specificpmap_pte_xxx() functions in pmap code (and others).
Revision 1.66 / (download) - annotate - [select for diffs], Sun Dec 4 16:24:13 2011 UTC (18 months, 2 weeks ago) by chs
Branch: MAIN
CVS Tags: netbsd-6-base,
jmcneill-usbmp-base3,
jmcneill-usbmp-base2
Branch point for: netbsd-6
Changes since 1.65: +27 -2
lines
Diff to previous 1.65 (colored)
map all of physical memory using large pages. ported from openbsd years ago by Murray Armfield, updated for changes since then by me.
Revision 1.65 / (download) - annotate - [select for diffs], Fri May 20 13:32:35 2011 UTC (2 years ago) by joerg
Branch: MAIN
CVS Tags: yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
jym-xensuspend-nbase,
jym-xensuspend-base,
jmcneill-usbmp-pre-base2,
jmcneill-usbmp-base,
jmcneill-audiomp3-base,
jmcneill-audiomp3,
cherry-xenmp-base,
cherry-xenmp
Branch point for: yamt-pagecache,
jmcneill-usbmp
Changes since 1.64: +3 -3
lines
Diff to previous 1.64 (colored)
Be more explicit that the "w" part of %r11 is meant.
Revision 1.64 / (download) - annotate - [select for diffs], Mon Dec 20 00:25:24 2010 UTC (2 years, 5 months ago) by matt
Branch: MAIN
CVS Tags: uebayasi-xip-base7,
matt-mips64-premerge-20101231,
jruoho-x86intr-base,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2
Branch point for: jruoho-x86intr
Changes since 1.63: +2 -2
lines
Diff to previous 1.63 (colored)
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.63 / (download) - annotate - [select for diffs], Sat Dec 18 13:53:34 2010 UTC (2 years, 6 months ago) by jym
Branch: MAIN
Changes since 1.62: +2 -7
lines
Diff to previous 1.62 (colored)
Free tables are already zeroed in xen_pmap_bootstrap. No need to do it a second time in assembly code.
Revision 1.62 / (download) - annotate - [select for diffs], Thu Oct 21 11:43:22 2010 UTC (2 years, 7 months ago) by yamt
Branch: MAIN
CVS Tags: uebayasi-xip-base6,
uebayasi-xip-base5,
uebayasi-xip-base4,
uebayasi-xip-base3
Changes since 1.61: +24 -20
lines
Diff to previous 1.61 (colored)
Xosyscall: sync with Xsyscall.
Revision 1.61 / (download) - annotate - [select for diffs], Thu Oct 21 11:42:26 2010 UTC (2 years, 7 months ago) by yamt
Branch: MAIN
Changes since 1.60: +1 -2
lines
Diff to previous 1.60 (colored)
Xsyscall: remove a stale comment.
Revision 1.60 / (download) - annotate - [select for diffs], Thu Oct 21 11:41:31 2010 UTC (2 years, 7 months ago) by yamt
Branch: MAIN
Changes since 1.59: +1 -2
lines
Diff to previous 1.59 (colored)
Xsyscall: remove an unused label.
Revision 1.59 / (download) - annotate - [select for diffs], Thu Oct 21 11:39:45 2010 UTC (2 years, 7 months ago) by yamt
Branch: MAIN
Changes since 1.58: +3 -3
lines
Diff to previous 1.58 (colored)
Xsyscall: save %es before enabling interrupts. otherwise it can be clobbered by preemption. PR/43903.
Revision 1.58 / (download) - annotate - [select for diffs], Wed Jul 7 01:14:52 2010 UTC (2 years, 11 months ago) by chs
Branch: MAIN
CVS Tags: yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
uebayasi-xip-base2
Changes since 1.57: +53 -12
lines
Diff to previous 1.57 (colored)
add the guts of TLS support on amd64. based on joerg's patch, reworked by me to support 32-bit processes as well. we now keep %fs and %gs loaded with the user values while in the kernel, which means we don't need to reload them when returning to user mode.
Revision 1.57 / (download) - annotate - [select for diffs], Sun Apr 18 23:47:50 2010 UTC (3 years, 2 months ago) by jym
Branch: MAIN
CVS Tags: uebayasi-xip-base1
Changes since 1.56: +3 -14
lines
Diff to previous 1.56 (colored)
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.56 / (download) - annotate - [select for diffs], Sun Apr 18 15:24:54 2010 UTC (3 years, 2 months ago) by jym
Branch: MAIN
Changes since 1.55: +26 -6
lines
Diff to previous 1.55 (colored)
When kernel remaps to high memory in amd64 locore, the GDT used before becomes invalid. As such, split it in two parts, one for use when system boots in low memory, and one for use when it jumps to high memory.
Revision 1.55 / (download) - annotate - [select for diffs], Fri Nov 27 03:23:04 2009 UTC (3 years, 6 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9,
uebayasi-xip-base,
matt-premerge-20091211
Branch point for: uebayasi-xip,
rmind-uvmplock
Changes since 1.54: +6 -6
lines
Diff to previous 1.54 (colored)
- 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.54 / (download) - annotate - [select for diffs], Thu Nov 26 00:19:12 2009 UTC (3 years, 6 months ago) by matt
Branch: MAIN
Changes since 1.53: +4 -5
lines
Diff to previous 1.53 (colored)
Kill proc0paddr. Use lwp0.l_addr instead.
Revision 1.53 / (download) - annotate - [select for diffs], Wed Nov 25 14:28:50 2009 UTC (3 years, 6 months ago) by rmind
Branch: MAIN
Changes since 1.52: +3 -3
lines
Diff to previous 1.52 (colored)
Remove IPL_LPT and IPL_IPI aliases, use the actual IPLs. Fix some broken comments.
Revision 1.52 / (download) - annotate - [select for diffs], Mon Oct 19 18:41:10 2009 UTC (3 years, 7 months ago) by bouyer
Branch: MAIN
Changes since 1.51: +1 -6
lines
Diff to previous 1.51 (colored)
Remove closes 3 & 4 from my licence. Lots of thanks to Soren Jacobsen for the booring work !
Revision 1.51 / (download) - annotate - [select for diffs], Fri Feb 13 22:41:00 2009 UTC (4 years, 4 months ago) by apb
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8,
yamt-nfs-mp-base7,
yamt-nfs-mp-base6,
yamt-nfs-mp-base5,
yamt-nfs-mp-base4,
yamt-nfs-mp-base3,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
jymxensuspend-base
Changes since 1.50: +2 -1
lines
Diff to previous 1.50 (colored)
Use "defopt MODULAR" in sys/conf/files, and #include "opt_modular.h" in all kernel sources that use the MODULAR option. Proposed in tech-kern on 18 Jan 2009.
Revision 1.50 / (download) - annotate - [select for diffs], Wed Dec 3 12:04:59 2008 UTC (4 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: mjf-devfs2-base,
haad-nbase2,
haad-dm-base2,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Branch point for: jym-xensuspend
Changes since 1.49: +2 -2
lines
Diff to previous 1.49 (colored)
Don't abort pageidlezero unless a realtime thread wants to run.
Revision 1.49 / (download) - annotate - [select for diffs], Thu Nov 13 10:53:30 2008 UTC (4 years, 7 months ago) by ad
Branch: MAIN
Changes since 1.48: +3 -3
lines
Diff to previous 1.48 (colored)
LKM -> MODULAR
Revision 1.48 / (download) - annotate - [select for diffs], Tue Nov 11 14:40:18 2008 UTC (4 years, 7 months ago) by ad
Branch: MAIN
Changes since 1.47: +3 -4
lines
Diff to previous 1.47 (colored)
PR port-amd64/38293 panic: fp_save ipi didn't Fix race conditions in FPU IPI handling.
Revision 1.47 / (download) - annotate - [select for diffs], Mon Jun 2 14:41:41 2008 UTC (5 years ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-base4,
yamt-pf42-base3,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
netbsd-5-base,
matt-mips64-base2,
haad-dm-base1
Branch point for: nick-hppapmap,
netbsd-5,
haad-dm
Changes since 1.46: +16 -29
lines
Diff to previous 1.46 (colored)
- Don't bother using sse to copy/zero pages on demand. It turns out not to be worth it. - If the machine has sse, re-enable zeroing pages in the idle loop and use the sse instructions so that we don't blow out the cache.
Revision 1.46 / (download) - annotate - [select for diffs], Wed May 21 03:50:42 2008 UTC (5 years ago) by ad
Branch: MAIN
Changes since 1.45: +2 -2
lines
Diff to previous 1.45 (colored)
PR port-amd64/38708 lkm_map issues on amd64 Don't plonk lkm_map right on top of the ISA ROM/video hole.
Revision 1.45 / (download) - annotate - [select for diffs], Fri May 16 17:18:25 2008 UTC (5 years, 1 month ago) by bouyer
Branch: MAIN
CVS Tags: yamt-pf42-base2,
hpcarm-cleanup-nbase
Changes since 1.44: +5 -1
lines
Diff to previous 1.44 (colored)
Initialize cpuid_level for Xen too.
Revision 1.44 / (download) - annotate - [select for diffs], Sun May 11 13:33:54 2008 UTC (5 years, 1 month ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base2
Changes since 1.43: +3 -2
lines
Diff to previous 1.43 (colored)
Expose the 'cpu' variable.:
Revision 1.43 / (download) - annotate - [select for diffs], Fri May 2 15:26:38 2008 UTC (5 years, 1 month ago) by ad
Branch: MAIN
Branch point for: wrstuden-revivesa
Changes since 1.42: +22 -2
lines
Diff to previous 1.42 (colored)
- Give x86 BIOS boot the ability to load new style modules and pass them into the kernel. Based on a patch by jmcneill@, with many fixes and improvements by me. - Put MEMORY_DISK_DYNAMIC and MODULAR into the GENERIC kernels, so that you can load miniroot.kmod from the boot blocks and boot into the installer!
Revision 1.42 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:12 2008 UTC (5 years, 1 month ago) by martin
Branch: MAIN
Changes since 1.41: +1 -8
lines
Diff to previous 1.41 (colored)
Remove clause 3 and 4 from TNF licenses
Revision 1.41 / (download) - annotate - [select for diffs], Mon Apr 28 19:35:56 2008 UTC (5 years, 1 month ago) by ad
Branch: MAIN
Changes since 1.40: +24 -24
lines
Diff to previous 1.40 (colored)
- Make some entry/exit points preemption safe. - Try to avoid mispredicted bracnhes in Xsyscall. - Interrupts were being enabled in Xsyscall _after_ checking for ASTs, while could have resulted in ugly behaviour like delayed signals or context switches. Fix it.
Revision 1.40 / (download) - annotate - [select for diffs], Tue Mar 11 02:24:43 2008 UTC (5 years, 3 months ago) by ad
Branch: MAIN
CVS Tags: yamt-pf42-baseX,
yamt-pf42-base,
yamt-nfs-mp-base,
yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
matt-armv6-nbase,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
ad-socklock-base1
Branch point for: yamt-pf42,
yamt-nfs-mp
Changes since 1.39: +2 -1
lines
Diff to previous 1.39 (colored)
Make context switch + syscall counters optionally per-CPU and accumulate in schedclock() at "about 16 hz".
Revision 1.39 / (download) - annotate - [select for diffs], Thu Jan 10 20:14:10 2008 UTC (5 years, 5 months ago) by ad
Branch: 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
Changes since 1.38: +7 -3
lines
Diff to previous 1.38 (colored)
- Fix a memory order problem with non-interlocked mutex release. - Give kernel_lock its own cache line.
Revision 1.38 / (download) - annotate - [select for diffs], Sat Jan 5 21:47:19 2008 UTC (5 years, 5 months ago) by yamt
Branch: MAIN
CVS Tags: matt-armv6-base
Changes since 1.37: +6 -8
lines
Diff to previous 1.37 (colored)
- make amd64 use per-cpu tss. - fix iopl syscall for amd64+xen.
Revision 1.37 / (download) - annotate - [select for diffs], Fri Dec 21 20:43:45 2007 UTC (5 years, 5 months ago) by dsl
Branch: MAIN
CVS Tags: vmlocking2-base3
Changes since 1.36: +11 -12
lines
Diff to previous 1.36 (colored)
Create the trap/syscall frame space for all the registers in one go. Use the tramp-frame offsets (TF_foo) for all references to the registers. Sort the saving of the GP registers into the same order as the trap frame because consequetive memory accesses are liekly to be faster.
Revision 1.36 / (download) - annotate - [select for diffs], Fri Dec 21 19:18:14 2007 UTC (5 years, 5 months ago) by dsl
Branch: MAIN
Changes since 1.35: +11 -13
lines
Diff to previous 1.35 (colored)
Change the xen CLI() and STI() defines to only use one scratch register. As well as saving an instruction, in one place it saves a push/pop pair.
Revision 1.35 / (download) - annotate - [select for diffs], Mon Dec 3 20:21:32 2007 UTC (5 years, 6 months ago) by ad
Branch: MAIN
CVS Tags: yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base2,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
jmcneill-pm-base,
cube-autoconf-base,
cube-autoconf
Branch point for: bouyer-xeni386
Changes since 1.34: +14 -13
lines
Diff to previous 1.34 (colored)
Merge from vmlocking.
Revision 1.34 / (download) - annotate - [select for diffs], Sun Dec 2 21:43:11 2007 UTC (5 years, 6 months ago) by dsl
Branch: MAIN
CVS Tags: vmlocking2-base1,
vmlocking-nbase
Branch point for: vmlocking2
Changes since 1.33: +18 -12
lines
Diff to previous 1.33 (colored)
Improve the likelyhood of the 'oosyscall' code (ie that for system call entry via a call gate for i386 netbsd 1.0 and ibcs2) doing the right thing. Untested because I've failed to get an a.out netbsd 1.0 binary to load.
Revision 1.33 / (download) - annotate - [select for diffs], Fri Nov 23 15:38:52 2007 UTC (5 years, 6 months ago) by bouyer
Branch: MAIN
Changes since 1.32: +2 -2
lines
Diff to previous 1.32 (colored)
Sync BSD_SYMTAB declaration with xeni386, pointed out by Christoph Egger
Revision 1.32 / (download) - annotate - [select for diffs], Thu Nov 22 16:16:42 2007 UTC (5 years, 6 months ago) by bouyer
Branch: MAIN
Changes since 1.31: +229 -13
lines
Diff to previous 1.31 (colored)
Pull up the bouyer-xenamd64 branch to HEAD. This brings in amd64 support to NetBSD/Xen, both Dom0 and DomU.
Revision 1.31 / (download) - annotate - [select for diffs], Mon Nov 19 19:02:20 2007 UTC (5 years, 7 months ago) by ad
Branch: MAIN
CVS Tags: bouyer-xenamd64-base2,
bouyer-xenamd64-base
Changes since 1.30: +3 -3
lines
Diff to previous 1.30 (colored)
IPL_IPI -> IPL_HIGH
Revision 1.30 / (download) - annotate - [select for diffs], Mon Nov 12 18:44:43 2007 UTC (5 years, 7 months ago) by ad
Branch: MAIN
Changes since 1.29: +4 -4
lines
Diff to previous 1.29 (colored)
- cpu_vendor was both an int and char[] on amd64 - fix it. - Run the errata check/patch on all CPUs, not just the boot processor.
Revision 1.29 / (download) - annotate - [select for diffs], Thu Oct 18 15:28:32 2007 UTC (5 years, 8 months ago) by yamt
Branch: MAIN
CVS Tags: jmcneill-base
Branch point for: mjf-devfs
Changes since 1.28: +32 -22
lines
Diff to previous 1.28 (colored)
merge yamt-x86pmap branch. - reduce differences between amd64 and i386. notably, share pmap.c between them. it makes several i386 pmap improvements available to amd64, including tlb shootdown reduction and bug fixes from Stephan Uphoff. - implement deferred pmap switching for amd64. - remove LARGEPAGES option. always use large pages if available. also, make it work on amd64.
Revision 1.28 / (download) - annotate - [select for diffs], Wed Oct 17 19:53:01 2007 UTC (5 years, 8 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4
Changes since 1.27: +1 -1
lines
Diff to previous 1.27 (colored)
Merge the ppcoea-renovation branch to HEAD. This branch was a major cleanup and rototill of many of the various OEA cpu based PPC ports that focused on sharing as much code as possible between the various ports to eliminate near-identical copies of files in every tree. Additionally there is a new PIC system that unifies the interface to interrupt code for all different OEA ppc arches. The work for this branch was done by a variety of people, too long to list here. TODO: bebox still needs work to complete the transition to -renovation. ofppc still needs a bunch of work, which I will be looking at. ev64260 still needs to be renovated amigappc was not attempted. NOTES: pmppc was removed as an arch, and moved to a evbppc target.
Revision 1.27 / (download) - annotate - [select for diffs], Wed Sep 26 19:48:35 2007 UTC (5 years, 8 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base3,
yamt-x86pmap-base2,
vmlocking-base,
ppcoea-renovation-base
Branch point for: bouyer-xenamd64
Changes since 1.26: +1 -35
lines
Diff to previous 1.26 (colored)
x86 changes for pcc and LKMs. - Replace most inline assembly with proper functions. As a side effect this reduces the size of amd64 GENERIC by about 120kB, and i386 by a smaller amount. Nearly all of the inlines did something slow, or something that does not need to be fast. - Make curcpu() and curlwp functions proper, unless __GNUC__ && _KERNEL. In that case make them inlines. Makes curlwp LKM and preemption safe. - Make bus_space and bus_dma more LKM friendly. - Share a few more files between the ports. - Other minor changes.
Revision 1.26 / (download) - annotate - [select for diffs], Wed Aug 29 23:38:02 2007 UTC (5 years, 9 months ago) by ad
Branch: MAIN
CVS Tags: yamt-x86pmap-base,
nick-csl-alignment-base5
Branch point for: yamt-x86pmap
Changes since 1.25: +53 -2
lines
Diff to previous 1.25 (colored)
Merge most x86 changes from the vmlocking branch, except the threaded soft interrupt stuff. This is mostly comprised of changes to the pmap modules to work on multiprocessor systems without kernel_lock, and changes to speed up tlb shootdowns.
Revision 1.25 / (download) - annotate - [select for diffs], Fri May 25 15:09:50 2007 UTC (6 years ago) by yamt
Branch: 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
Changes since 1.24: +21 -1
lines
Diff to previous 1.24 (colored)
dumpsys: build a fake switchframe for postmortem debugging. reviewed by Frank van der Linden.
Revision 1.24 / (download) - annotate - [select for diffs], Mon May 21 08:10:38 2007 UTC (6 years, 1 month ago) by fvdl
Branch: MAIN
Changes since 1.23: +5 -1
lines
Diff to previous 1.23 (colored)
Revert fs/gs changes until I figure out issues with them.
Revision 1.23 / (download) - annotate - [select for diffs], Sat May 19 20:20:47 2007 UTC (6 years, 1 month ago) by fvdl
Branch: MAIN
Changes since 1.22: +2 -2
lines
Diff to previous 1.22 (colored)
cpu_switchto: PCB_CR0(%r14) is a 32bit value, so don't use movq to retrieve it. Using movq would copy pcb_flags along as well, which would cause traps because bad bits would be written into %cr0 a few instructions later. This wouldn't happen for native NetBSD processes (no pcb_flags set), but it would happen for Linux processes.
Revision 1.22 / (download) - annotate - [select for diffs], Thu May 17 14:51:14 2007 UTC (6 years, 1 month ago) by yamt
Branch: MAIN
Changes since 1.21: +109 -425
lines
Diff to previous 1.21 (colored)
merge yamt-idlelwp branch. asked by core@. some ports still needs work. from doc/BRANCHES: idle lwp, and some changes depending on it. 1. separate context switching and thread scheduling. (cf. gmcgarry_ctxsw) 2. implement idle lwp. 3. clean up related MD/MI interfaces. 4. make scheduler(s) modular.
Revision 1.21 / (download) - annotate - [select for diffs], Fri May 11 14:01:46 2007 UTC (6 years, 1 month ago) by fvdl
Branch: MAIN
CVS Tags: yamt-idlelwp-base8
Changes since 1.20: +1 -5
lines
Diff to previous 1.20 (colored)
Don't save/restore %fs and %gs in trapframe. The kernel won't touch them. Instead, save/restore them on context switch. For 32bit processes, save/restore the selector values only, for 64bit processes, save/restore the appropriate MSRs. Iff the defaults have been changed.
Revision 1.20 / (download) - annotate - [select for diffs], Sat Feb 17 22:31:37 2007 UTC (6 years, 4 months ago) by pavel
Branch: MAIN
CVS Tags: thorpej-atomic-base,
thorpej-atomic,
reinoud-bufcleanup,
ad-audiomp-base,
ad-audiomp
Branch point for: vmlocking,
ppcoea-renovation,
mjf-ufs-trans
Changes since 1.19: +2 -2
lines
Diff to previous 1.19 (colored)
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.19 / (download) - annotate - [select for diffs], Fri Feb 9 21:55:01 2007 UTC (6 years, 4 months ago) by ad
Branch: MAIN
CVS Tags: post-newlock2-merge
Branch point for: yamt-idlelwp
Changes since 1.18: +21 -22
lines
Diff to previous 1.18 (colored)
Merge newlock2 to head.
Revision 1.18 / (download) - annotate - [select for diffs], Sun May 14 21:55:09 2006 UTC (7 years, 1 month ago) by elad
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
yamt-splraiseipl-base2,
yamt-splraiseipl-base,
yamt-splraiseipl,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-pdpolicy-base7,
yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
simonb-timecounters-base,
rpaulo-netinet-merge-pcb-base,
newlock2-nbase,
newlock2-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,
matt-nb4-arm-base,
matt-nb4-arm,
gdamore-uart-base,
gdamore-uart,
chap-midi-nbase,
chap-midi-base,
chap-midi,
abandoned-netbsd-4-base,
abandoned-netbsd-4
Branch point for: wrstuden-fixsa,
newlock2,
netbsd-4
Changes since 1.17: +1 -1
lines
Diff to previous 1.17 (colored)
integrate kauth.
Revision 1.17 / (download) - annotate - [select for diffs], Sat May 13 08:56:08 2006 UTC (7 years, 1 month ago) by skrll
Branch: MAIN
Changes since 1.16: +4 -4
lines
Diff to previous 1.16 (colored)
Fix some more comments.
Revision 1.16 / (download) - annotate - [select for diffs], Sun Apr 30 19:50:19 2006 UTC (7 years, 1 month ago) by rjs
Branch: MAIN
CVS Tags: elad-kernelauth-base
Changes since 1.15: +2 -2
lines
Diff to previous 1.15 (colored)
Fix comment for cpu_switch().
Revision 1.15 / (download) - annotate - [select for diffs], Sun Dec 11 12:16:21 2005 UTC (7 years, 6 months ago) by christos
Branch: 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
Branch point for: yamt-pdpolicy,
simonb-timecounters,
rpaulo-netinet-merge-pcb,
peter-altq,
elad-kernelauth
Changes since 1.14: +1 -1
lines
Diff to previous 1.14 (colored)
merge ktrace-lwp.
Revision 1.14 / (download) - annotate - [select for diffs], Fri Apr 1 11:59:22 2005 UTC (8 years, 2 months ago) by yamt
Branch: MAIN
CVS Tags: yamt-vop-base3,
yamt-vop-base2,
yamt-vop-base,
yamt-vop,
yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base3,
yamt-readahead-base2,
yamt-readahead-base,
yamt-readahead,
thorpej-vnode-attr-base,
thorpej-vnode-attr,
ktrace-lwp-base,
kent-audio2-base
Branch point for: yamt-lazymbuf
Changes since 1.13: +2 -3
lines
Diff to previous 1.13 (colored)
merge yamt-km branch. - don't use managed mappings/backing objects for wired memory allocations. save some resources like pv_entry. also fix (most of) PR/27030. - simplify kernel memory management API. - simplify pmap bootstrap of some ports. - some related cleanups.
Revision 1.13 / (download) - annotate - [select for diffs], Thu Mar 25 18:33:17 2004 UTC (9 years, 2 months ago) by drochner
Branch: MAIN
CVS Tags: yamt-km-base4,
yamt-km-base3,
yamt-km-base2,
yamt-km-base,
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,
matt-timespec,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Branch point for: yamt-km,
kent-audio2
Changes since 1.12: +1 -18
lines
Diff to previous 1.12 (colored)
Native code doesn't need sigcode. Never. So replace it by a dummy setting sigcode=esigcode=0, just to get COMPAT_16+COMPAT_NETBSD32 kernels linking.
Revision 1.12 / (download) - annotate - [select for diffs], Tue Mar 23 19:39:42 2004 UTC (9 years, 2 months ago) by drochner
Branch: MAIN
Changes since 1.11: +14 -2
lines
Diff to previous 1.11 (colored)
put the old and the very old syscall glue into appropriate COMPAT_ conditionals
Revision 1.11 / (download) - annotate - [select for diffs], Mon Mar 1 12:10:41 2004 UTC (9 years, 3 months ago) by drochner
Branch: MAIN
Changes since 1.10: +4 -2
lines
Diff to previous 1.10 (colored)
on (fast) syscall exit, force %ds to its standard value -- it might have been modified by a netbsd32 process
Revision 1.10 / (download) - annotate - [select for diffs], Thu Feb 19 17:18:38 2004 UTC (9 years, 4 months ago) by drochner
Branch: MAIN
Changes since 1.9: +6 -1
lines
Diff to previous 1.9 (colored)
use no-execute page permissions if supported
Revision 1.9 / (download) - annotate - [select for diffs], Sun Nov 30 23:58:51 2003 UTC (9 years, 6 months ago) by fvdl
Branch: MAIN
Changes since 1.8: +2 -1
lines
Diff to previous 1.8 (colored)
Reenable interrupts sooner in the idle_exit case.
Revision 1.8 / (download) - annotate - [select for diffs], Mon Nov 10 08:51:51 2003 UTC (9 years, 7 months ago) by wiz
Branch: MAIN
Changes since 1.7: +2 -2
lines
Diff to previous 1.7 (colored)
Spell address with two d's. Inspired by similar changes in OpenBSD, originating from Jonathon Gray and forwarded by jmc@openbsd.
Revision 1.7 / (download) - annotate - [select for diffs], Tue Nov 4 10:33:15 2003 UTC (9 years, 7 months ago) by dsl
Branch: MAIN
Changes since 1.6: +2 -2
lines
Diff to previous 1.6 (colored)
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.6 / (download) - annotate - [select for diffs], Wed Aug 20 21:48:47 2003 UTC (9 years, 10 months ago) by fvdl
Branch: MAIN
Changes since 1.5: +5 -1
lines
Diff to previous 1.5 (colored)
Pass pointers to frames from assembly, do not use the 'frame on stack as argument passed by value' trick, as gcc 3.3.x makes (valid) assumptions about the stack that will not be true. Costs 2 instructions per trap/syscall on i386, 4 per interrupt for MP. One instruction per trap/syscall on amd64, 2 per interrupt for MP. I expect gcc 3.3.1 to make up for this by better optimization (it'd better..) While here, make amd64 compile again by using subr_mbr_disk.c
Revision 1.5 / (download) - annotate - [select for diffs], Thu Aug 7 16:26:35 2003 UTC (9 years, 10 months ago) by agc
Branch: MAIN
Changes since 1.4: +2 -6
lines
Diff to previous 1.4 (colored)
Move UCB-licensed code from 4-clause to 3-clause licence. Patches provided by Joel Baker in PR 22364, verified by myself.
Revision 1.4 / (download) - annotate - [select for diffs], Tue May 13 09:35:16 2003 UTC (10 years, 1 month ago) by fvdl
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.3: +3 -3
lines
Diff to previous 1.3 (colored)
While the previous change actually made the code do what it intended, it was still wrong. cpu_switch() must return 1 when it switched to a different LWP, 0 if it didn't. It was doing exactly the reverse.
Revision 1.3 / (download) - annotate - [select for diffs], Tue May 13 08:33:58 2003 UTC (10 years, 1 month ago) by fvdl
Branch: MAIN
Changes since 1.2: +6 -4
lines
Diff to previous 1.2 (colored)
Return the correct value in cpu_switch; from Stephan Uphoff for i386.
Revision 1.2 / (download) - annotate - [select for diffs], Sat Apr 26 19:34:45 2003 UTC (10 years, 1 month ago) by fvdl
Branch: MAIN
Changes since 1.1: +3 -2
lines
Diff to previous 1.1 (colored)
Skip sym space if ksyms or LKMs are included, too.
Revision 1.1 / (download) - annotate - [select for diffs], Sat Apr 26 18:39:29 2003 UTC (10 years, 1 month ago) by fvdl
Branch: MAIN
Rename the x86_64 port to amd64, as this is the actual name used for the processor family now. x86_64 is kept as the MACHINE_ARCH value, since it's already widely used (by e.g. the toolchain, etc), and by other operating systems.