The NetBSD Project

CVS log for src/sys/arch/i386/i386/gdt.c

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.74: download - view: text, markup, annotated - select for diffs
Sun Jul 16 19:55:43 2023 UTC (16 months, 3 weeks ago) by riastradh
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.73: preferred, colored
Changes since revision 1.73: +26 -4 lines
x86: Sprinkle extensive commentary about %fs/%gs initialization.

Plus some other side quests like the three-stage GDT metamorphosis
lifecycle.

No functional change intended.

Revision 1.73: 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
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.72: preferred, colored
Changes since revision 1.72: +3 -2 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.71.12.1: download - view: text, markup, annotated - select for diffs
Thu May 13 00:47:25 2021 UTC (3 years, 7 months ago) by thorpej
Branches: thorpej-i2c-spi-conf
Diff to: previous 1.71: preferred, colored; next MAIN 1.72: preferred, colored
Changes since revision 1.71: +3 -3 lines
Sync with HEAD.

Revision 1.72: download - view: text, markup, annotated - select for diffs
Fri Apr 30 13:54:26 2021 UTC (3 years, 7 months ago) by christos
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-futex2-base, thorpej-futex2, thorpej-cfargs2-base, thorpej-cfargs2, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Diff to: previous 1.71: preferred, colored
Changes since revision 1.71: +3 -3 lines
Merge the x86 gdt function and constant definitions

Revision 1.68.4.2: download - view: text, markup, annotated - select for diffs
Mon Apr 13 08:03:52 2020 UTC (4 years, 8 months ago) by martin
Branches: phil-wifi
Diff to: previous 1.68.4.1: preferred, colored; branchpoint 1.68: preferred, colored; next MAIN 1.69: preferred, colored
Changes since revision 1.68.4.1: +3 -3 lines
Mostly merge changes from HEAD upto 20200411

Revision 1.71: download - view: text, markup, annotated - select for diffs
Wed Oct 30 07:40:05 2019 UTC (5 years, 1 month ago) by maxv
Branches: MAIN
CVS tags: thorpej-futex-base, thorpej-futex, thorpej-cfargs-base, thorpej-cfargs, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, is-mlppp-base, is-mlppp, bouyer-xenpvh-base2, bouyer-xenpvh-base1, bouyer-xenpvh-base, bouyer-xenpvh, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache
Branch point for: thorpej-i2c-spi-conf
Diff to: previous 1.70: preferred, colored
Changes since revision 1.70: +3 -3 lines
Switch to new PTE bits.

Revision 1.68.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.68: preferred, colored
Changes since revision 1.68: +10 -10 lines
Sync with HEAD

Revision 1.70: 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.69: preferred, colored
Changes since revision 1.69: +4 -4 lines
Start replacing the x86 PTE bits.

Revision 1.69: 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.68: preferred, colored
Changes since revision 1.68: +8 -8 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.68: download - view: text, markup, annotated - select for diffs
Thu Jan 4 20:38:31 2018 UTC (6 years, 11 months ago) by maxv
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, 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, pgoyette-compat
Branch point for: phil-wifi
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +11 -9 lines
Declare gdt_size as const, simplifies.

Revision 1.53.2.1: 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.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53: +98 -229 lines
update from HEAD

Revision 1.67: download - view: text, markup, annotated - select for diffs
Wed Sep 6 12:39:18 2017 UTC (7 years, 3 months ago) by bouyer
Branches: MAIN
CVS tags: tls-maxphys-base-20171202
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +6 -2 lines
The last GDT slots are reserved for Xen, so use FIRST_RESERVED_GDT_BYTE
instead of MAXGDTSIZ for gdt_size.
Xen kernels should boot again.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Sat Sep 2 12:57:03 2017 UTC (7 years, 3 months ago) by maxv
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +16 -67 lines
Fix a subtle ring0 escalation vulnerability in amd64, and implement a
mitigation against similar bugs.

The operations on segment registers can generate a page fault if there is
an issue when touching the in-memory gdt. Theoretically, it is never
supposed to happen, since the gdt is mapped correctly. However, in the
kernel we allow the gdt to be resized, and to do that, we allocate the
maximum amount of va needed by it, but only kenter a few pages until we
need more. Moreover, to avoid reloading the gdt each time we grow it, the
'size' field of gdtr is set to the maximum value. All of this means that
if a mov or iretq is done with a segment register whose index hits a page
that has not been kentered, a page fault is sent.

Such a page fault, if received in kernel mode, does not trigger a swapgs
on amd64; in other words, the kernel would be re-entered with the userland
tls.

And there just happens to be a place in compat_linux32 where the index of
%cs is controlled by userland, making it easy to trigger the page fault
and get kernel privileges.

The mitigation simply consists in abandoning the gdt_grow mechanism and
allocating/kentering the maximum size right away, in such a way that no
page fault can be triggered because of segment registers.

Revision 1.53.16.3: 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.53.16.2: preferred, colored; branchpoint 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53.16.2: +109 -195 lines
Sync with HEAD

Revision 1.65: download - view: text, markup, annotated - select for diffs
Thu Jul 6 20:23:57 2017 UTC (7 years, 5 months ago) by bouyer
Branches: MAIN
CVS tags: perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +6 -5 lines
gdt_size is now in bytes, but the HYPERVISOR_set_gdt() expects a number
of entries and has not been converted.
Xen/i386 now boots again.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Sun Jul 2 11:21:13 2017 UTC (7 years, 5 months ago) by maxv
Branches: MAIN
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +1 -2 lines
Put some ()s in the macro (kre).

Revision 1.63: download - view: text, markup, annotated - select for diffs
Sun Jul 2 11:16:50 2017 UTC (7 years, 5 months ago) by maxv
Branches: MAIN
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +72 -77 lines
Use a bitmap-based allocator for i386, same as amd64. Several functions
are now identical - or nearly identical - on both sides. I couldn't test
this change on xen, because I'm having some unrelated issues with my VM
and I've spent enough time not understanding what's wrong with it.

Revision 1.62: download - view: text, markup, annotated - select for diffs
Sun Jul 2 09:02:06 2017 UTC (7 years, 5 months ago) by maxv
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +9 -9 lines
Define MINGDTSIZ/MAXGDTSIZ in bytes, not in number of slots; same as
amd64.

Revision 1.61: download - view: text, markup, annotated - select for diffs
Sat Jun 17 09:32:53 2017 UTC (7 years, 5 months ago) by maxv
Branches: MAIN
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +36 -114 lines
Remove dead and broken code. It is not a bad idea to implement USER_LDT on
Xen, but it certainly shouldn't be done this way.

Revision 1.56.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:53:28 2017 UTC (7 years, 7 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.56: preferred, colored; next MAIN 1.57: preferred, colored
Changes since revision 1.56: +40 -43 lines
Sync with HEAD

Revision 1.53.20.2: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:14 2017 UTC (7 years, 8 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.53.20.1: preferred, colored; branchpoint 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53.20.1: +42 -45 lines
Sync with HEAD

Revision 1.60: download - view: text, markup, annotated - select for diffs
Wed Feb 8 18:53:01 2017 UTC (7 years, 10 months ago) by kre
Branches: MAIN
CVS tags: prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, pgoyette-localcount-20170426, pgoyette-localcount-20170320, netbsd-8-base, netbsd-8-3-RELEASE, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +6 -2 lines

Analagous fix to that just committed to the equiv amd64 sources.
Note: this one has yet to be compile tested, so anything is possible...

Revision 1.59: download - view: text, markup, annotated - select for diffs
Wed Feb 8 10:08:26 2017 UTC (7 years, 10 months ago) by maxv
Branches: MAIN
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +0 -13 lines
Remove gdt_reload_cpu. GDTR takes a VA as base, and in our x86
implementation this VA is per-cpu and does not change; there is therefore
no need to remotely reload GDTR.

Revision 1.58: download - view: text, markup, annotated - select for diffs
Wed Feb 8 09:39:32 2017 UTC (7 years, 10 months ago) by maxv
Branches: MAIN
Diff to: previous 1.57: preferred, colored
Changes since revision 1.57: +16 -11 lines
Localify, add a comment and merge some others.

Revision 1.53.16.2: download - view: text, markup, annotated - select for diffs
Sun Feb 5 13:40:12 2017 UTC (7 years, 10 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.53.16.1: preferred, colored; branchpoint 1.53: preferred, colored
Changes since revision 1.53.16.1: +6 -6 lines
Sync with HEAD

Revision 1.57: download - view: text, markup, annotated - select for diffs
Sun Feb 5 10:42:21 2017 UTC (7 years, 10 months ago) by maxv
Branches: MAIN
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +23 -22 lines
Rename ldt->ldtstore and gdt->gdtstore on i386. It reduces the diff with
amd64, and makes it easier to track down these variables on nxr - 'ldt'
and 'gdt' being common keywords.

Revision 1.53.20.1: download - view: text, markup, annotated - select for diffs
Sat Jan 7 08:56:18 2017 UTC (7 years, 11 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +6 -6 lines
Sync with HEAD.  (Note that most of these changes are simply $NetBSD$
tag issues.)

Revision 1.56: download - view: text, markup, annotated - select for diffs
Sat Dec 17 14:27:53 2016 UTC (7 years, 11 months ago) by maxv
Branches: MAIN
CVS tags: pgoyette-localcount-20170107, nick-nhusb-base-20170204, bouyer-socketcan-base
Branch point for: bouyer-socketcan
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +6 -6 lines
Put a limit in the percpu segment, so we can detect overflows on %fs.

Revision 1.53.16.1: download - view: text, markup, annotated - select for diffs
Wed Oct 5 20:55:28 2016 UTC (8 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +28 -26 lines
Sync with HEAD

Revision 1.55: download - view: text, markup, annotated - select for diffs
Sat Aug 20 19:46:54 2016 UTC (8 years, 3 months ago) by christos
Branches: MAIN
CVS tags: pgoyette-localcount-20161104, nick-nhusb-base-20161204, nick-nhusb-base-20161004, localcount-20160914
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +6 -2 lines
fix the build

Revision 1.54: download - view: text, markup, annotated - select for diffs
Sat Aug 20 16:05:48 2016 UTC (8 years, 3 months ago) by maxv
Branches: MAIN
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +24 -26 lines
Localify.

Revision 1.51.2.2: 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
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.51.2.1: preferred, colored; branchpoint 1.51: preferred, colored; next MAIN 1.52: preferred, colored
Changes since revision 1.51.2.1: +6 -5 lines
sync with head

Revision 1.45.10.2: download - view: text, markup, annotated - select for diffs
Wed Mar 21 21:29:31 2012 UTC (12 years, 8 months ago) by jdc
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
Diff to: previous 1.45.10.1: preferred, colored; branchpoint 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45.10.1: +3 -3 lines
Apply patch (requested by bouyer in ticket #1738).

Do not special-case XEN and always use the proper selectors for %fs and %gs
in buildcontext() and setregs(). The consequence was that signal handlers
would have the wrong %fs/%gs. Found by running atf tests under Xen/i386.

Revision 1.52.4.1: download - view: text, markup, annotated - select for diffs
Sun Mar 4 00:46:09 2012 UTC (12 years, 9 months ago) by mrg
Branches: jmcneill-usbmp
Diff to: previous 1.52: preferred, colored; next MAIN 1.53: preferred, colored
Changes since revision 1.52: +6 -5 lines
sync to latest -current.

Revision 1.53: download - view: text, markup, annotated - select for diffs
Fri Feb 24 08:06:07 2012 UTC (12 years, 9 months ago) by cherry
Branches: MAIN
CVS tags: yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, rmind-smpnet, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, pgoyette-localcount-base, pgoyette-localcount-20160806, pgoyette-localcount-20160726, nick-nhusb-base-20160907, nick-nhusb-base-20160529, nick-nhusb-base-20160422, nick-nhusb-base-20160319, nick-nhusb-base-20151226, nick-nhusb-base-20150921, 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, khorben-n900, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base10, agc-symver-base, agc-symver
Branch point for: tls-maxphys, pgoyette-localcount, nick-nhusb
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +6 -5 lines
(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.51.2.1: download - view: text, markup, annotated - select for diffs
Thu Nov 10 14:31:40 2011 UTC (13 years, 1 month ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +2 -4 lines
sync with head

Revision 1.52: download - view: text, markup, annotated - select for diffs
Sun Nov 6 11:40:46 2011 UTC (13 years, 1 month ago) by cherry
Branches: MAIN
CVS tags: yamt-pagecache-base3, yamt-pagecache-base2, netbsd-6-base, netbsd-6-1-RELEASE, netbsd-6-1-RC4, netbsd-6-1-RC3, netbsd-6-1-RC2, netbsd-6-1-RC1, netbsd-6-1-5-RELEASE, netbsd-6-1-4-RELEASE, netbsd-6-1-3-RELEASE, netbsd-6-1-2-RELEASE, netbsd-6-1-1-RELEASE, netbsd-6-1, netbsd-6-0-RELEASE, netbsd-6-0-RC2, netbsd-6-0-RC1, netbsd-6-0-6-RELEASE, netbsd-6-0-5-RELEASE, netbsd-6-0-4-RELEASE, netbsd-6-0-3-RELEASE, netbsd-6-0-2-RELEASE, netbsd-6-0-1-RELEASE, netbsd-6-0, netbsd-6, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3
Branch point for: jmcneill-usbmp
Diff to: previous 1.51: preferred, colored
Changes since revision 1.51: +2 -4 lines
[merging from cherry-xenmp] Make the xen MMU op queue locking api private. Implement per-cpu queues.

Revision 1.50.10.3: download - view: text, markup, annotated - select for diffs
Tue Sep 20 18:57:51 2011 UTC (13 years, 2 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.50.10.2: preferred, colored; branchpoint 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50.10.2: +2 -4 lines
Remove the "xpq lock", since we have per-cpu mmu queues now. This may need further testing. Also add some preliminary locking around queue-ops in the network backend driver

Revision 1.45.14.5: 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.45.14.4: preferred, colored; branchpoint 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45.14.4: +27 -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.51: download - view: text, markup, annotated - select for diffs
Thu Aug 11 11:01:30 2011 UTC (13 years, 4 months ago) by cherry
Branches: MAIN
CVS tags: yamt-pagecache-base, jym-xensuspend-nbase, jym-xensuspend-base
Branch point for: yamt-pagecache
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +27 -14 lines
per-cpu gdt support for xen

Revision 1.50.10.2: download - view: text, markup, annotated - select for diffs
Sat Aug 6 14:05:35 2011 UTC (13 years, 4 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.50.10.1: preferred, colored; branchpoint 1.50: preferred, colored
Changes since revision 1.50.10.1: +12 -10 lines
gdtgrow() must extend the gdt size on all cpus, not just the primary

Revision 1.50.10.1: download - view: text, markup, annotated - select for diffs
Sun Jul 31 20:49:10 2011 UTC (13 years, 4 months ago) by cherry
Branches: cherry-xenmp
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +17 -6 lines
grow MP support for i386. boots to single user

Revision 1.45.14.4: download - view: text, markup, annotated - select for diffs
Sun Oct 24 22:48:00 2010 UTC (14 years, 1 month ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.45.14.3: preferred, colored; branchpoint 1.45: preferred, colored
Changes since revision 1.45.14.3: +6 -7 lines
Sync with HEAD

Revision 1.44.10.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.44.10.3: preferred, colored; branchpoint 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44.10.3: +6 -7 lines
sync with head

Revision 1.50: download - view: text, markup, annotated - select for diffs
Sat Nov 21 03:11:00 2009 UTC (15 years ago) by rmind
Branches: MAIN
CVS tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, matt-premerge-20091211, 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.49: preferred, colored
Changes since revision 1.49: +2 -3 lines
Use lwp_getpcb() on x86 MD code, clean from struct user usage.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Sat Nov 7 07:27:44 2009 UTC (15 years, 1 month ago) by cegger
Branches: MAIN
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +6 -6 lines
Add a flags argument to pmap_kenter_pa(9).
Patch showed on tech-kern@ http://mail-index.netbsd.org/tech-kern/2009/11/04/msg006434.html
No objections.

Revision 1.45.14.3: download - view: text, markup, annotated - select for diffs
Sun Nov 1 13:58:20 2009 UTC (15 years, 1 month ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.45.14.2: preferred, colored; branchpoint 1.45: preferred, colored
Changes since revision 1.45.14.2: +0 -0 lines
Sync with HEAD.

Revision 1.44.10.3: download - view: text, markup, annotated - select for diffs
Sat Jun 20 07:20:05 2009 UTC (15 years, 5 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.44.10.2: preferred, colored; branchpoint 1.44: preferred, colored
Changes since revision 1.44.10.2: +3 -3 lines
sync with head

Revision 1.45.14.2: download - view: text, markup, annotated - select for diffs
Sun May 31 14:32:33 2009 UTC (15 years, 6 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.45.14.1: preferred, colored; branchpoint 1.45: preferred, colored
Changes since revision 1.45.14.1: +3 -3 lines
Sync with HEAD.

Revision 1.48: download - view: text, markup, annotated - select for diffs
Sun May 17 18:24:23 2009 UTC (15 years, 6 months ago) by bouyer
Branches: MAIN
CVS tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, jymxensuspend-base
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +3 -3 lines
on Xen the GDT has to be updated though HYPERVISOR_update_descriptor().
Export i386/i386/gdt.c:update_descriptor() and use it in x86_set_sdbase(),
as a direct write to the GDT will cause a kernel trap.
Fix PR port-xen/41401.

Revision 1.45.14.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:17:49 2009 UTC (15 years, 7 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +36 -44 lines
Sync with HEAD.

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

Revision 1.44.10.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.44.10.1: preferred, colored; branchpoint 1.44: preferred, colored
Changes since revision 1.44.10.1: +36 -44 lines
sync with head.

Revision 1.45.8.1: download - view: text, markup, annotated - select for diffs
Tue Apr 28 07:34:08 2009 UTC (15 years, 7 months ago) by skrll
Branches: nick-hppapmap
Diff to: previous 1.45: preferred, colored; next MAIN 1.46: preferred, colored
Changes since revision 1.45: +36 -44 lines
Sync with HEAD.

Revision 1.45.10.1: download - view: text, markup, annotated - select for diffs
Sat Apr 4 17:39:09 2009 UTC (15 years, 8 months ago) by snj
Branches: netbsd-5
CVS tags: netbsd-5-1-RELEASE, netbsd-5-1-RC4, netbsd-5-1-RC3, netbsd-5-1-RC2, netbsd-5-1-RC1, netbsd-5-1-5-RELEASE, netbsd-5-1-4-RELEASE, netbsd-5-1-3-RELEASE, netbsd-5-1-2-RELEASE, netbsd-5-1-1-RELEASE, netbsd-5-1, netbsd-5-0-RELEASE, netbsd-5-0-RC4, netbsd-5-0-2-RELEASE, netbsd-5-0-1-RELEASE, netbsd-5-0, matt-nb5-pq3-base, matt-nb5-pq3, matt-nb5-mips64-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.45: preferred, colored
Changes since revision 1.45: +34 -42 lines
Pull up following revision(s) (requested by ad in ticket #656):
	sys/arch/amd64/amd64/gdt.c: revision 1.21 via patch
	sys/arch/amd64/amd64/machdep.c: revision 1.129 via patch
	sys/arch/i386/i386/gdt.c: revision 1.47 via patch
	sys/arch/i386/i386/kvm86.c: revision 1.17 via patch
	sys/arch/i386/i386/locore.S: revision 1.85 via patch
	sys/arch/i386/i386/machdep.c: revision 1.666 via patch
	sys/arch/i386/i386/vector.S: revision 1.45 via patch
	sys/arch/i386/include/pcb.h: revision 1.47 via patch
	sys/arch/x86/include/pmap.h: revision 1.22 via patch
	sys/arch/x86/include/sysarch.h: revision 1.8 via patch
	sys/arch/x86/x86/pmap.c: revision 1.80 via patch
	sys/arch/x86/x86/sys_machdep.c: revision 1.17 via patch
	sys/compat/linux/arch/i386/linux_machdep.c: revision 1.143 via patch
	sys/kern/init_main.c: revision 1.384 via patch
PR port-i386/40143 Viewing an mpeg transport stream with mplayer causes crash
Fix numerous problems:
1. LDT updates are not atomic.
2. Number of processes running with private LDTs and/or I/O bitmaps
   is not capped. System with high maxprocs can be paniced.
3. LDTR can be leaked over context switch.
4. GDT slot allocations can race, giving the same LDT slot to two procs.
5. Incomplete interrupt/trap frames can be stacked.
6. In some rare cases segment faults are not handled correctly.

Revision 1.47: download - view: text, markup, annotated - select for diffs
Sat Mar 21 14:41:29 2009 UTC (15 years, 8 months ago) by ad
Branches: MAIN
CVS tags: yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +34 -42 lines
PR port-i386/40143 Viewing an mpeg transport stream with mplayer causes crash

Fix numerous problems:

1. LDT updates are not atomic.

2. Number of processes running with private LDTs and/or I/O bitmaps
   is not capped. System with high maxprocs can be paniced.

3. LDTR can be leaked over context switch.

4. GDT slot allocations can race, giving the same LDT slot to two procs.

5. Incomplete interrupt/trap frames can be stacked.

6. In some rare cases segment faults are not handled correctly.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Mon Mar 16 09:37:35 2009 UTC (15 years, 9 months ago) by cegger
Branches: MAIN
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +6 -6 lines
ansify function definitions

Revision 1.44.6.1: 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.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44: +0 -7 lines
Sync with HEAD.

Revision 1.44.8.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.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44: +2 -9 lines
sync with head.

Revision 1.44.10.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.44: preferred, colored
Changes since revision 1.44: +2 -9 lines
sync with head.

Revision 1.45: 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
CVS tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-hppapmap-base2, netbsd-5-base, netbsd-5-0-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, mjf-devfs2-base, matt-mips64-base2, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, netbsd-5, jym-xensuspend
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +2 -9 lines
Remove clause 3 and 4 from TNF licenses

Revision 1.40.2.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.40.2.2: preferred, colored; branchpoint 1.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40.2.2: +147 -32 lines
sync with HEAD

Revision 1.41.2.2: 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.41.2.1: preferred, colored; branchpoint 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41.2.1: +150 -37 lines
Sync with HEAD.

Revision 1.34.2.5: 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.34.2.4: preferred, colored; branchpoint 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34.2.4: +150 -37 lines
sync with head

Revision 1.44: 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: yamt-pf42-baseX, yamt-pf42-base, yamt-nfs-mp-base, yamt-lazymbuf-base15, yamt-lazymbuf-base14, nick-net80211-sync-base, nick-net80211-sync, mjf-devfs-base, matt-armv6-nbase, keiichi-mipv6-nbase, keiichi-mipv6-base, keiichi-mipv6, hpcarm-cleanup-base, bouyer-xeni386-nbase, bouyer-xeni386-base, ad-socklock-base1
Branch point for: yamt-pf42, yamt-nfs-mp, mjf-devfs2
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +147 -32 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.42.6.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 19:25:05 2008 UTC (16 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.42.6.1: preferred, colored; branchpoint 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42.6.1: +147 -32 lines
Merge xen bits to i386/i386/gdt.c. Convert remaining uses of PTE_* macros to
pmap_pte_* macros/inlines.
Fix think-o in pmap.c for native i386.

Revision 1.40.2.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.40.2.1: preferred, colored; branchpoint 1.40: preferred, colored
Changes since revision 1.40.2.1: +7 -9 lines
sync with HEAD

Revision 1.42.6.1: 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.42: preferred, colored
Changes since revision 1.42: +5 -7 lines
Sync with HEAD

Revision 1.43: 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.42: preferred, colored
Changes since revision 1.42: +5 -7 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.37.6.3: download - view: text, markup, annotated - select for diffs
Mon Dec 3 18:36:39 2007 UTC (17 years ago) by ad
Branches: vmlocking
Diff to: previous 1.37.6.2: preferred, colored; branchpoint 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37.6.2: +4 -4 lines
Sync with HEAD.

Revision 1.41.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.41: preferred, colored
Changes since revision 1.41: +4 -4 lines
Sync with HEAD.

Revision 1.40.6.1: 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.40: preferred, colored; next MAIN 1.41: preferred, colored
Changes since revision 1.40: +4 -4 lines
Sync with HEAD

Revision 1.34.2.4: download - view: text, markup, annotated - select for diffs
Thu Nov 15 11:42:54 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.34.2.3: preferred, colored; branchpoint 1.34: preferred, colored
Changes since revision 1.34.2.3: +4 -4 lines
sync with head.

Revision 1.38.10.2: download - view: text, markup, annotated - select for diffs
Wed Nov 14 19:04:11 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.38.10.1: preferred, colored; branchpoint 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38.10.1: +4 -4 lines
Sync with HEAD.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Wed Nov 14 14:44:14 2007 UTC (17 years, 1 month ago) by ad
Branches: MAIN
CVS tags: yamt-kmem-base3, yamt-kmem-base2, yamt-kmem-base, yamt-kmem, vmlocking2-base3, vmlocking2-base2, vmlocking2-base1, vmlocking2, vmlocking-nbase, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, jmcneill-pm-base, cube-autoconf-base, cube-autoconf, bouyer-xenamd64-base2, bouyer-xenamd64-base
Branch point for: bouyer-xeni386
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +4 -4 lines
Set a 4G limit on the per-CPU segment (quicker for the MMU, and no reason
to limit it).

Revision 1.40.2.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.40: preferred, colored
Changes since revision 1.40: +2 -2 lines
sync with HEAD

Revision 1.41: 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, jmcneill-base
Branch point for: mjf-devfs
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +2 -2 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.38.2.1: 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.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +6 -2 lines
Sync with HEAD

Revision 1.34.2.3: 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.34.2.2: preferred, colored; branchpoint 1.34: preferred, colored
Changes since revision 1.34.2.2: +12 -7 lines
sync with head.

Revision 1.37.6.2: download - view: text, markup, annotated - select for diffs
Mon Aug 20 18:38:11 2007 UTC (17 years, 3 months ago) by ad
Branches: vmlocking
Diff to: previous 1.37.6.1: preferred, colored; branchpoint 1.37: preferred, colored
Changes since revision 1.37.6.1: +6 -2 lines
Sync with HEAD.

Revision 1.38.6.1: download - view: text, markup, annotated - select for diffs
Wed Aug 15 13:47:23 2007 UTC (17 years, 4 months ago) by skrll
Branches: nick-csl-alignment
Diff to: previous 1.38: preferred, colored; next MAIN 1.39: preferred, colored
Changes since revision 1.38: +6 -2 lines
Sync with HEAD.

Revision 1.38.10.1: download - view: text, markup, annotated - select for diffs
Thu Aug 9 02:36:56 2007 UTC (17 years, 4 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +6 -2 lines
Sync with HEAD.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Tue Aug 7 12:00:25 2007 UTC (17 years, 4 months ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, vmlocking-base, ppcoea-renovation-base, nick-csl-alignment-base5
Branch point for: matt-armv6, bouyer-xenamd64
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +3 -3 lines
Fix typo.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Tue Aug 7 11:30:20 2007 UTC (17 years, 4 months ago) by ad
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +6 -2 lines
More calls to pmap_update().

Revision 1.37.8.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.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +8 -7 lines
Sync with head.

Revision 1.37.6.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.37: preferred, colored
Changes since revision 1.37: +8 -7 lines
Sync with head.

Revision 1.37.2.1: download - view: text, markup, annotated - select for diffs
Mon May 7 10:54:57 2007 UTC (17 years, 7 months ago) by yamt
Branches: yamt-idlelwp
Diff to: previous 1.37: preferred, colored; next MAIN 1.38: preferred, colored
Changes since revision 1.37: +8 -7 lines
sync with head.

Revision 1.38: download - view: text, markup, annotated - select for diffs
Mon Apr 16 17:24:19 2007 UTC (17 years, 8 months ago) by ad
Branches: MAIN
CVS tags: yamt-idlelwp-base8, nick-csl-alignment-base, mjf-ufs-trans-base, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: ppcoea-renovation, nick-csl-alignment, jmcneill-pm
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +8 -7 lines
Fix crappy locking around LDT updates. i386 part of PR kern/36046.

Revision 1.34.2.2: 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.34.2.1: preferred, colored; branchpoint 1.34: preferred, colored
Changes since revision 1.34.2.1: +7 -7 lines
sync with head.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Thu Feb 15 15:40:50 2007 UTC (17 years, 9 months ago) by ad
Branches: MAIN
CVS tags: thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp, vmlocking, mjf-ufs-trans
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +7 -7 lines
Replace some uses of lockmgr() / simplelocks.

Revision 1.34.2.1: 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.34: preferred, colored
Changes since revision 1.34: +6 -6 lines
sync with head.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Sat Dec 24 20:07:10 2005 UTC (18 years, 11 months ago) by perry
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, 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, yamt-pdpolicy-base4, yamt-pdpolicy-base3, yamt-pdpolicy-base2, yamt-pdpolicy-base, yamt-pdpolicy, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, simonb-timecounters-base, simonb-timecounters, simonb-timcounters-final, rpaulo-netinet-merge-pcb-base, rpaulo-netinet-merge-pcb, post-newlock2-merge, peter-altq-base, peter-altq, newlock2-nbase, newlock2-base, newlock2, 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, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, abandoned-netbsd-4-base, abandoned-netbsd-4
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +6 -6 lines
Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.

Revision 1.35: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:17:41 2005 UTC (19 years ago) by christos
Branches: MAIN
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +2 -2 lines
merge ktrace-lwp.

Revision 1.30.2.5: 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.30.2.4: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30.2.4: +4 -4 lines
Sync with HEAD. Here we go again...

Revision 1.34: download - view: text, markup, annotated - select for diffs
Sun May 29 21:33:37 2005 UTC (19 years, 6 months ago) by christos
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +4 -4 lines
Avoid shadowed variables.

Revision 1.32.8.1: download - view: text, markup, annotated - select for diffs
Fri Apr 29 11:28:12 2005 UTC (19 years, 7 months ago) by kent
Branches: kent-audio2
Diff to: previous 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32: +6 -4 lines
sync with -current

Revision 1.30.2.4: download - view: text, markup, annotated - select for diffs
Fri Apr 1 14:27:39 2005 UTC (19 years, 8 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.30.2.3: preferred, colored
Changes since revision 1.30.2.3: +6 -4 lines
Sync with HEAD.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Fri Apr 1 11:59:30 2005 UTC (19 years, 8 months ago) by yamt
Branches: MAIN
CVS tags: kent-audio2-base
Diff to: previous 1.32: preferred, colored
Changes since revision 1.32: +6 -4 lines
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.32.10.1: download - view: text, markup, annotated - select for diffs
Tue Jan 25 13:01:08 2005 UTC (19 years, 10 months ago) by yamt
Branches: yamt-km
Diff to: previous 1.32: preferred, colored; next MAIN 1.33: preferred, colored
Changes since revision 1.32: +6 -4 lines
- convert i386 to new apis.
- remove a pmap bootstrap kludge, which is no longer needed.

Revision 1.30.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:16:41 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.30.2.2: preferred, colored
Changes since revision 1.30.2.2: +2 -2 lines
Fix the sync with head I botched.

Revision 1.30.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.30.2.1: preferred, colored
Changes since revision 1.30.2.1: +0 -0 lines
Sync with HEAD.

Revision 1.30.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.30: preferred, colored
Changes since revision 1.30: +15 -6 lines
Sync with HEAD

Revision 1.32: download - view: text, markup, annotated - select for diffs
Fri Feb 13 11:36:13 2004 UTC (20 years, 10 months ago) by wiz
Branches: 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, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +4 -4 lines
Uppercase CPU, plural is CPUs.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Wed Jan 28 10:43:50 2004 UTC (20 years, 10 months ago) by yamt
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +13 -4 lines
gdt_alloc_cpu: use unmanaged mappings as gdt_init and gdt_grow.

Revision 1.30: download - view: text, markup, annotated - select for diffs
Mon Jun 23 11:01:18 2003 UTC (21 years, 5 months ago) by martin
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +4 -2 lines
Make sure to include opt_foo.h if a defflag option FOO is used.

Revision 1.23.2.5: download - view: text, markup, annotated - select for diffs
Thu Dec 19 00:33:48 2002 UTC (21 years, 11 months ago) by thorpej
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.23.2.4: preferred, colored; branchpoint 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23.2.4: +11 -56 lines
Sync with HEAD.

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sat Dec 14 09:46:36 2002 UTC (22 years ago) by junyoung
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.28: preferred, colored
Changes since revision 1.28: +9 -9 lines
Fix comment.
De-__P().

Revision 1.28: download - view: text, markup, annotated - select for diffs
Sat Dec 14 09:38:50 2002 UTC (22 years ago) by junyoung
Branches: MAIN
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +4 -49 lines
Now that gdt_compact() is gone, #if 0'ed gdt_shrink() doesn't need to be
here, either. Remove other #if 0 code as well.

Revision 1.23.2.4: 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.23.2.3: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.3: +103 -95 lines
Catch up to -current.

Revision 1.23.4.2: 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.23.4.1: preferred, colored; branchpoint 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23.4.1: +108 -36 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.27: download - view: text, markup, annotated - select for diffs
Tue Oct 8 20:16:09 2002 UTC (22 years, 2 months ago) by fvdl
Branches: MAIN
CVS tags: kqueue-beforemerge, kqueue-aftermerge
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +5 -69 lines
Remove gdt_compact_slot, it was commented out already.
Expect callers to ldt_alloc and ldt_free to take the corresponding
pmap spinlock.

Revision 1.26: 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-base
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +108 -36 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.22.2.10: download - view: text, markup, annotated - select for diffs
Mon Aug 19 02:15:03 2002 UTC (22 years, 3 months ago) by sommerfeld
Branches: sommerfeld_i386mp_1
Diff to: previous 1.22.2.9: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22.2.9: +3 -3 lines
Since we're now allocating stuff out of the gdt earlier on,
copy more of it.

Revision 1.22.2.9: download - view: text, markup, annotated - select for diffs
Mon Aug 19 01:22:27 2002 UTC (22 years, 3 months ago) by sommerfeld
Branches: sommerfeld_i386mp_1
Diff to: previous 1.22.2.8: preferred, colored
Changes since revision 1.22.2.8: +10 -16 lines
merged with -current as of today.
rearranged gdt init to deal with KVM86 changes; however, KVM86 has no
chance of working yet; good thing it's not part of GENERIC

Revision 1.23.2.3: 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.23.2.2: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.2: +2 -3 lines
No longer need to pull in lwp.h; proc.h pulls it in for us.

Revision 1.22.2.8: download - view: text, markup, annotated - select for diffs
Sun Feb 24 01:58:57 2002 UTC (22 years, 9 months ago) by sommerfeld
Branches: sommerfeld_i386mp_1
CVS tags: i386mp_plus16_stable
Diff to: previous 1.22.2.7: preferred, colored
Changes since revision 1.22.2.7: +24 -12 lines
Initialize gdt on boot cpu earlier in boot instead of in gdt_init().
Put apm back in GENERIC and APM_NO_IDLE in GENERIC.MP.
Subsystems which install gdt entries during autoconf no longer explode.
(Do *not* expect full apm functionality on multiprocessors).

Revision 1.23.4.1: download - view: text, markup, annotated - select for diffs
Thu Jan 10 19:44:38 2002 UTC (22 years, 11 months ago) by thorpej
Branches: kqueue
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +38 -9 lines
Sync kqueue branch with -current.

Revision 1.23.2.2: download - view: text, markup, annotated - select for diffs
Tue Jan 8 00:25:21 2002 UTC (22 years, 11 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.23.2.1: preferred, colored; branchpoint 1.23: preferred, colored
Changes since revision 1.23.2.1: +38 -9 lines
Catch up to -current.

Revision 1.22.2.7: download - view: text, markup, annotated - select for diffs
Sun Dec 30 03:35:02 2001 UTC (22 years, 11 months ago) by sommerfeld
Branches: sommerfeld_i386mp_1
Diff to: previous 1.22.2.6: preferred, colored
Changes since revision 1.22.2.6: +4 -3 lines
Avoid copying bits of boot-time gdt which might not be there.
From Frank van der Linden

Revision 1.22.2.6: 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.22.2.5: preferred, colored
Changes since revision 1.22.2.5: +84 -31 lines
Set up per-cpu GDT.
Use %fs for per-cpu data access.

Revision 1.22.2.5: download - view: text, markup, annotated - select for diffs
Sat Dec 29 21:09:06 2001 UTC (22 years, 11 months ago) by sommerfeld
Branches: sommerfeld_i386mp_1
Diff to: previous 1.22.2.4: preferred, colored
Changes since revision 1.22.2.4: +38 -8 lines
Yet another mergeup.

New work:
 - Frank van der Linden's tlb shootdown fix.
Mainline functionality merged:
 - IrDA
 - Kernel RCSID's
 - Transmeta CPU support
 - ACPI
 - XMM register access through procfs

Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Nov 18 19:28:34 2001 UTC (23 years ago) by chs
Branches: MAIN
CVS tags: sommerfeld_i386mpnext, sommerfeld_i386mpbase_1, newlock-base, newlock, 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, ifpoll-base, gehenna-devsw-base, gehenna-devsw, eeh-devprop-base, eeh-devprop
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +36 -10 lines
allocate and free memory explicitly rather than abusing uvm_map_pageable().

Revision 1.24: download - view: text, markup, annotated - select for diffs
Thu Nov 15 07:03:29 2001 UTC (23 years, 1 month ago) by lukem
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +4 -1 lines
add RCSID

Revision 1.23.2.1: download - view: text, markup, annotated - select for diffs
Mon Mar 5 22:49:11 2001 UTC (23 years, 9 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +14 -13 lines
Initial commit of scheduler activations and lightweight process support.

Revision 1.22.2.4: download - view: text, markup, annotated - select for diffs
Sun Jan 7 22:59:23 2001 UTC (23 years, 11 months ago) by sommerfeld
Branches: sommerfeld_i386mp_1
Diff to: previous 1.22.2.3: preferred, colored
Changes since revision 1.22.2.3: +2 -2 lines
Correct merge botches.
Post-merge kernel now boots multiuser.

Revision 1.22.2.3: 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.22.2.2: preferred, colored
Changes since revision 1.22.2.2: +11 -19 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.20.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.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +13 -23 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.20.14.1: download - view: text, markup, annotated - select for diffs
Wed Aug 16 23:18:20 2000 UTC (24 years, 4 months ago) by thorpej
Branches: netbsd-1-5
CVS tags: netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA
Diff to: previous 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20: +13 -20 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.23: 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
CVS tags: thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Branch point for: nathanw_sa, kqueue
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +13 -20 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.22.2.2: download - view: text, markup, annotated - select for diffs
Sat Aug 12 16:09:24 2000 UTC (24 years, 4 months ago) by sommerfeld
Branches: sommerfeld_i386mp_1
Diff to: previous 1.22.2.1: preferred, colored
Changes since revision 1.22.2.1: +340 -0 lines
Split creation/allocation of the memory containing the GDT from
loading of the GDT descriptor into the processor; the former happens
once, the latter, once per CPU.

Revision 1.22.2.1
Thu Jun 29 08:44:51 2000 UTC (24 years, 5 months ago) by sommerfeld
Branches: sommerfeld_i386mp_1
FILE REMOVED
Changes since revision 1.22: +0 -328 lines
file gdt.c was added on branch sommerfeld_i386mp_1 on 2000-08-12 16:09:24 +0000

Revision 1.22: 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
Branch point for: sommerfeld_i386mp_1
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +1 -3 lines
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>

Revision 1.21: download - view: text, markup, annotated - select for diffs
Mon Jun 26 14:20:44 2000 UTC (24 years, 5 months ago) by mrg
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +1 -2 lines
remove/move more mach vm header files:

	<vm/pglist.h> -> <uvm/uvm_pglist.h>
	<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
	<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
	<vm/vm_object.h> -> nothing
	<vm/vm_pager.h> -> into <uvm/uvm_pager.h>

also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.

Revision 1.16.4.2: download - view: text, markup, annotated - select for diffs
Mon Aug 2 19:50:32 1999 UTC (25 years, 4 months ago) by thorpej
Branches: chs-ubc2
Diff to: previous 1.16.4.1: preferred, colored; branchpoint 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.4.1: +13 -15 lines
Update from trunk.

Revision 1.20: download - view: text, markup, annotated - select for diffs
Sun Jul 25 18:05:31 1999 UTC (25 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, wrstuden-devbsize, sommerfeld_i386mpbase_20000422, sommerfeld_i386mp_houseclean, netbsd-1-5-base, netbsd-1-5-ALPHA2, minoura-xpg4dl-base, minoura-xpg4dl, fvdl-softdep-base, fvdl-softdep, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-newbase, chs-ubc2-base
Branch point for: thorpej_scsipi, netbsd-1-5
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -1 lines
Lock the proclist as appropriate.

Revision 1.19: download - view: text, markup, annotated - select for diffs
Tue Jul 20 23:07:12 1999 UTC (25 years, 4 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +11 -15 lines
Use the lock manager to lock the GDT, rather than a non-MP-safe homegrown
method.

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
Changes since revision 1.16: +34 -12 lines
Sync w/ -current.

Revision 1.18: download - view: text, markup, annotated - select for diffs
Fri Jun 18 06:32:05 1999 UTC (25 years, 6 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +4 -4 lines
Update a uvm_map_pageable() call that I forgot to commit previously.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed May 12 19:28:28 1999 UTC (25 years, 7 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +31 -9 lines
Move the user-set LDT out of the PCB and into the pmap.  Applications
which set the LDT and share VM space (e.g. new versions of WINE) expect
the LDT to be logically coupled to the address space.  Use the new pmap_fork()
interface to copy non-shared user-set LDTs when the address space is forked.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Mar 24 05:51:00 1999 UTC (25 years, 8 months ago) by mrg
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 -21 lines
completely remove Mach VM support.  all that is left is the all the
header files as UVM still uses (most of) these.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Thu Aug 13 21:36:03 1998 UTC (26 years, 4 months ago) by thorpej
Branches: MAIN
CVS tags: kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +13 -13 lines
vm_offset_t -> {vaddr_t,paddr_t}, vm_size_t -> vsize_t

Revision 1.14: download - view: text, markup, annotated - select for diffs
Wed Aug 5 02:45:08 1998 UTC (26 years, 4 months ago) by perry
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2 lines
bzero->memset, bcopy->memcpy, bcmp->memcmp

Revision 1.13: download - view: text, markup, annotated - select for diffs
Tue Feb 10 14:11:02 1998 UTC (26 years, 10 months ago) by mrg
Branches: MAIN
CVS tags: eeh-paddr_t-base, eeh-paddr_t
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -1 lines
- add defopt's for UVM, UVMHIST and PMAP_NEW.
- remove unnecessary UVMHIST_DECL's.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Fri Feb 6 07:21:52 1998 UTC (26 years, 10 months ago) by mrg
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +21 -1 lines
add the i386 MD portions for UVM.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Fri Jan 23 00:44:02 1998 UTC (26 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +4 -2 lines
Some rearrangement of the startup code:
* Move some of the memory bootstrapping and the DDB startup earlier.
* Always put the IDT and the initial GDT and LDT in a separate page.
* Various minor changes.

Revision 1.9.2.1: download - view: text, markup, annotated - select for diffs
Thu Nov 13 07:48:20 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.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +37 -39 lines
Pull rev 1.10 up from trunk (mycroft)

Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Nov 13 03:16:43 1997 UTC (27 years, 1 month ago) by mycroft
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +37 -39 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.8.12.1: download - view: text, markup, annotated - select for diffs
Tue Oct 14 09:09:41 1997 UTC (27 years, 2 months ago) by thorpej
Branches: marc-pcmcia
Diff to: previous 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8: +3 -3 lines
Update marc-pcmcia branch from trunk.

Revision 1.9: download - view: text, markup, annotated - select for diffs
Thu Oct 9 08:53:16 1997 UTC (27 years, 2 months ago) by jtc
Branches: MAIN
CVS tags: netbsd-1-3-base, marc-pcmcia-base
Branch point for: netbsd-1-3
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +3 -3 lines
Fix tipo inherited from old version of TNF copyright template.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Fri May 3 19:42:06 1996 UTC (28 years, 7 months ago) by christos
Branches: MAIN
CVS tags: thorpej-signal-base, thorpej-signal, thorpej-setroot, netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2, mrg-vm-swap, marc-pcmcia-bp, is-newarp-before-merge, is-newarp-base, is-newarp, bouyer-scsipi
Branch point for: marc-pcmcia
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +12 -3 lines
Prototype and gcc -Wall cleanups

Revision 1.7: download - view: text, markup, annotated - select for diffs
Tue Feb 27 22:45:01 1996 UTC (28 years, 9 months ago) by jtc
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +34 -27 lines
Copyright assigned to the NetBSD Foundation

Revision 1.3.2.2: download - view: text, markup, annotated - select for diffs
Fri Feb 2 06:10:58 1996 UTC (28 years, 10 months ago) by mycroft
Branches: netbsd-1-1
Diff to: previous 1.3.2.1: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.2.1: +42 -23 lines
Bring in changes for mondo patch 2.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Wed Jan 31 03:13:07 1996 UTC (28 years, 10 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +44 -25 lines
Allocate the GDT area in a different way.

Revision 1.5: download - view: text, markup, annotated - select for diffs
Fri Nov 17 06:47:27 1995 UTC (29 years, 1 month ago) by jtc
Branches: MAIN
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +31 -0 lines
fixup copyright notice before the release

Revision 1.3.2.1: download - view: text, markup, annotated - select for diffs
Sun Oct 15 06:54:01 1995 UTC (29 years, 2 months ago) by mycroft
Branches: netbsd-1-1
CVS tags: netbsd-1-1-RELEASE, netbsd-1-1-PATCH001
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +15 -15 lines
Update from main branch.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun Oct 15 05:43:49 1995 UTC (29 years, 2 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +15 -15 lines
Rename some variables for consistency.

Revision 1.3: download - view: text, markup, annotated - select for diffs
Wed Oct 11 23:39:08 1995 UTC (29 years, 2 months ago) by mycroft
Branches: MAIN
CVS tags: netbsd-1-1-base
Branch point for: netbsd-1-1
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +56 -16 lines
Maintain a free list.

Revision 1.2: download - view: text, markup, annotated - select for diffs
Wed Oct 11 19:32:31 1995 UTC (29 years, 2 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +1 -1 lines
Go back to statically allocating the GDT entries for proc0.

Revision 1.1: download - view: text, markup, annotated - select for diffs
Wed Oct 11 04:19:37 1995 UTC (29 years, 2 months ago) by mycroft
Branches: MAIN
Various changes from John Kohl and me:
Map kernel stacks only at unique addresses.
Use one TSS per process.
Add sysarch calls for modifying IOPL and the I/O permission bitmap.
Add a compacting GDT entry allocator, for TSS and LDT selectors.
Enable modifying %fs and %gs with PT_SETREGS.
Sanitize various bits of code.

Diff request

This form allows you to request diffs between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.

Log view options

CVSweb <webmaster@jp.NetBSD.org>