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


Default branch: MAIN


Revision 1.74 / (download) - annotate - [select for diffs], Sun Jul 16 19:55:43 2023 UTC (8 months, 4 weeks ago) by riastradh
Branch: MAIN
CVS Tags: thorpej-ifq-base, thorpej-ifq, thorpej-altq-separation-base, thorpej-altq-separation, HEAD
Changes since 1.73: +26 -4 lines
Diff to previous 1.73 (colored)

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) - annotate - [select for diffs], Sat Aug 20 23:48:50 2022 UTC (19 months, 3 weeks ago) by riastradh
Branch: 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
Changes since 1.72: +3 -2 lines
Diff to previous 1.72 (colored)

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

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

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

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

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

3. more CPU-specific inlines for pmap_pte_* operations

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

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

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

VM_MAXUSER_ADDRESS
VM_MAX_ADDRESS
VM_MAX_KERNEL_ADDRESS
VM_MIN_KERNEL_ADDRESS

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

Revision 1.71.12.1 / (download) - annotate - [select for diffs], Thu May 13 00:47:25 2021 UTC (2 years, 11 months ago) by thorpej
Branch: thorpej-i2c-spi-conf
Changes since 1.71: +3 -3 lines
Diff to previous 1.71 (colored) next main 1.72 (colored)

Sync with HEAD.

Revision 1.72 / (download) - annotate - [select for diffs], Fri Apr 30 13:54:26 2021 UTC (2 years, 11 months ago) by christos
Branch: 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
Changes since 1.71: +3 -3 lines
Diff to previous 1.71 (colored)

Merge the x86 gdt function and constant definitions

Revision 1.68.4.2 / (download) - annotate - [select for diffs], Mon Apr 13 08:03:52 2020 UTC (4 years ago) by martin
Branch: phil-wifi
Changes since 1.68.4.1: +3 -3 lines
Diff to previous 1.68.4.1 (colored) to branchpoint 1.68 (colored) next main 1.69 (colored)

Mostly merge changes from HEAD upto 20200411

Revision 1.71 / (download) - annotate - [select for diffs], Wed Oct 30 07:40:05 2019 UTC (4 years, 5 months ago) by maxv
Branch: 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
Changes since 1.70: +3 -3 lines
Diff to previous 1.70 (colored)

Switch to new PTE bits.

Revision 1.68.4.1 / (download) - annotate - [select for diffs], Mon Jun 10 22:06:20 2019 UTC (4 years, 10 months ago) by christos
Branch: phil-wifi
Changes since 1.68: +10 -10 lines
Diff to previous 1.68 (colored)

Sync with HEAD

Revision 1.70 / (download) - annotate - [select for diffs], Sat Mar 9 08:42:25 2019 UTC (5 years, 1 month ago) by maxv
Branch: MAIN
CVS Tags: phil-wifi-20190609, netbsd-9-base, netbsd-9-3-RELEASE, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, isaki-audio2-base, isaki-audio2
Changes since 1.69: +4 -4 lines
Diff to previous 1.69 (colored)

Start replacing the x86 PTE bits.

Revision 1.69 / (download) - annotate - [select for diffs], Mon Feb 11 14:59:32 2019 UTC (5 years, 2 months ago) by cherry
Branch: MAIN
Changes since 1.68: +8 -8 lines
Diff to previous 1.68 (colored)

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) - annotate - [select for diffs], Thu Jan 4 20:38:31 2018 UTC (6 years, 3 months ago) by maxv
Branch: 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
Changes since 1.67: +11 -9 lines
Diff to previous 1.67 (colored)

Declare gdt_size as const, simplifies.

Revision 1.53.2.1 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:17 2017 UTC (6 years, 4 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.53: +98 -229 lines
Diff to previous 1.53 (colored) next main 1.54 (colored)

update from HEAD

Revision 1.67 / (download) - annotate - [select for diffs], Wed Sep 6 12:39:18 2017 UTC (6 years, 7 months ago) by bouyer
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202
Changes since 1.66: +6 -2 lines
Diff to previous 1.66 (colored)

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) - annotate - [select for diffs], Sat Sep 2 12:57:03 2017 UTC (6 years, 7 months ago) by maxv
Branch: MAIN
Changes since 1.65: +16 -67 lines
Diff to previous 1.65 (colored)

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) - annotate - [select for diffs], Mon Aug 28 17:51:40 2017 UTC (6 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.53.16.2: +109 -195 lines
Diff to previous 1.53.16.2 (colored) to branchpoint 1.53 (colored) next main 1.54 (colored)

Sync with HEAD

Revision 1.65 / (download) - annotate - [select for diffs], Thu Jul 6 20:23:57 2017 UTC (6 years, 9 months ago) by bouyer
Branch: MAIN
CVS Tags: perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825
Changes since 1.64: +6 -5 lines
Diff to previous 1.64 (colored)

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) - annotate - [select for diffs], Sun Jul 2 11:21:13 2017 UTC (6 years, 9 months ago) by maxv
Branch: MAIN
Changes since 1.63: +1 -2 lines
Diff to previous 1.63 (colored)

Put some ()s in the macro (kre).

Revision 1.63 / (download) - annotate - [select for diffs], Sun Jul 2 11:16:50 2017 UTC (6 years, 9 months ago) by maxv
Branch: MAIN
Changes since 1.62: +72 -77 lines
Diff to previous 1.62 (colored)

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) - annotate - [select for diffs], Sun Jul 2 09:02:06 2017 UTC (6 years, 9 months ago) by maxv
Branch: MAIN
Changes since 1.61: +9 -9 lines
Diff to previous 1.61 (colored)

Define MINGDTSIZ/MAXGDTSIZ in bytes, not in number of slots; same as
amd64.

Revision 1.61 / (download) - annotate - [select for diffs], Sat Jun 17 09:32:53 2017 UTC (6 years, 9 months ago) by maxv
Branch: MAIN
Changes since 1.60: +36 -114 lines
Diff to previous 1.60 (colored)

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) - annotate - [select for diffs], Fri Apr 21 16:53:28 2017 UTC (6 years, 11 months ago) by bouyer
Branch: bouyer-socketcan
Changes since 1.56: +40 -43 lines
Diff to previous 1.56 (colored) next main 1.57 (colored)

Sync with HEAD

Revision 1.53.20.2 / (download) - annotate - [select for diffs], Mon Mar 20 06:57:14 2017 UTC (7 years ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.53.20.1: +42 -45 lines
Diff to previous 1.53.20.1 (colored) to branchpoint 1.53 (colored) next main 1.54 (colored)

Sync with HEAD

Revision 1.60 / (download) - annotate - [select for diffs], Wed Feb 8 18:53:01 2017 UTC (7 years, 2 months ago) by kre
Branch: 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-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
Changes since 1.59: +6 -2 lines
Diff to previous 1.59 (colored)


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) - annotate - [select for diffs], Wed Feb 8 10:08:26 2017 UTC (7 years, 2 months ago) by maxv
Branch: MAIN
Changes since 1.58: +0 -13 lines
Diff to previous 1.58 (colored)

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) - annotate - [select for diffs], Wed Feb 8 09:39:32 2017 UTC (7 years, 2 months ago) by maxv
Branch: MAIN
Changes since 1.57: +16 -11 lines
Diff to previous 1.57 (colored)

Localify, add a comment and merge some others.

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

Sync with HEAD

Revision 1.57 / (download) - annotate - [select for diffs], Sun Feb 5 10:42:21 2017 UTC (7 years, 2 months ago) by maxv
Branch: MAIN
Changes since 1.56: +23 -22 lines
Diff to previous 1.56 (colored)

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) - annotate - [select for diffs], Sat Jan 7 08:56:18 2017 UTC (7 years, 3 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.53: +6 -6 lines
Diff to previous 1.53 (colored)

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

Revision 1.56 / (download) - annotate - [select for diffs], Sat Dec 17 14:27:53 2016 UTC (7 years, 3 months ago) by maxv
Branch: MAIN
CVS Tags: pgoyette-localcount-20170107, nick-nhusb-base-20170204, bouyer-socketcan-base
Branch point for: bouyer-socketcan
Changes since 1.55: +6 -6 lines
Diff to previous 1.55 (colored)

Put a limit in the percpu segment, so we can detect overflows on %fs.

Revision 1.53.16.1 / (download) - annotate - [select for diffs], Wed Oct 5 20:55:28 2016 UTC (7 years, 6 months ago) by skrll
Branch: nick-nhusb
Changes since 1.53: +28 -26 lines
Diff to previous 1.53 (colored)

Sync with HEAD

Revision 1.55 / (download) - annotate - [select for diffs], Sat Aug 20 19:46:54 2016 UTC (7 years, 7 months ago) by christos
Branch: MAIN
CVS Tags: pgoyette-localcount-20161104, nick-nhusb-base-20161204, nick-nhusb-base-20161004, localcount-20160914
Changes since 1.54: +6 -2 lines
Diff to previous 1.54 (colored)

fix the build

Revision 1.54 / (download) - annotate - [select for diffs], Sat Aug 20 16:05:48 2016 UTC (7 years, 7 months ago) by maxv
Branch: MAIN
Changes since 1.53: +24 -26 lines
Diff to previous 1.53 (colored)

Localify.

Revision 1.51.2.2 / (download) - annotate - [select for diffs], Tue Apr 17 00:06:28 2012 UTC (11 years, 11 months ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.51.2.1: +6 -5 lines
Diff to previous 1.51.2.1 (colored) to branchpoint 1.51 (colored) next main 1.52 (colored)

sync with head

Revision 1.45.10.2 / (download) - annotate - [select for diffs], Wed Mar 21 21:29:31 2012 UTC (12 years ago) by jdc
Branch: netbsd-5
CVS Tags: netbsd-5-2-RELEASE, netbsd-5-2-RC1, netbsd-5-2-3-RELEASE, netbsd-5-2-2-RELEASE, netbsd-5-2-1-RELEASE, netbsd-5-2
Changes since 1.45.10.1: +3 -3 lines
Diff to previous 1.45.10.1 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored)

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) - annotate - [select for diffs], Sun Mar 4 00:46:09 2012 UTC (12 years, 1 month ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.52: +6 -5 lines
Diff to previous 1.52 (colored) next main 1.53 (colored)

sync to latest -current.

Revision 1.53 / (download) - annotate - [select for diffs], Fri Feb 24 08:06:07 2012 UTC (12 years, 1 month ago) by cherry
Branch: 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
Changes since 1.52: +6 -5 lines
Diff to previous 1.52 (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.51.2.1 / (download) - annotate - [select for diffs], Thu Nov 10 14:31:40 2011 UTC (12 years, 5 months ago) by yamt
Branch: yamt-pagecache
Changes since 1.51: +2 -4 lines
Diff to previous 1.51 (colored)

sync with head

Revision 1.52 / (download) - annotate - [select for diffs], Sun Nov 6 11:40:46 2011 UTC (12 years, 5 months ago) by cherry
Branch: 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
Changes since 1.51: +2 -4 lines
Diff to previous 1.51 (colored)

[merging from cherry-xenmp] Make the xen MMU op queue locking api private. Implement per-cpu queues.

Revision 1.50.10.3 / (download) - annotate - [select for diffs], Tue Sep 20 18:57:51 2011 UTC (12 years, 6 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.50.10.2: +2 -4 lines
Diff to previous 1.50.10.2 (colored) to branchpoint 1.50 (colored) next main 1.51 (colored)

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) - annotate - [select for diffs], Sat Aug 27 15:37:25 2011 UTC (12 years, 7 months ago) by jym
Branch: jym-xensuspend
Changes since 1.45.14.4: +27 -14 lines
Diff to previous 1.45.14.4 (colored) to branchpoint 1.45 (colored) next main 1.46 (colored)

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

No regression observed on suspend/restore.

Revision 1.51 / (download) - annotate - [select for diffs], Thu Aug 11 11:01:30 2011 UTC (12 years, 8 months ago) by cherry
Branch: MAIN
CVS Tags: yamt-pagecache-base, jym-xensuspend-nbase, jym-xensuspend-base
Branch point for: yamt-pagecache
Changes since 1.50: +27 -14 lines
Diff to previous 1.50 (colored)

per-cpu gdt support for xen

Revision 1.50.10.2 / (download) - annotate - [select for diffs], Sat Aug 6 14:05:35 2011 UTC (12 years, 8 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.50.10.1: +12 -10 lines
Diff to previous 1.50.10.1 (colored) to branchpoint 1.50 (colored)

gdtgrow() must extend the gdt size on all cpus, not just the primary

Revision 1.50.10.1 / (download) - annotate - [select for diffs], Sun Jul 31 20:49:10 2011 UTC (12 years, 8 months ago) by cherry
Branch: cherry-xenmp
Changes since 1.50: +17 -6 lines
Diff to previous 1.50 (colored)

grow MP support for i386. boots to single user

Revision 1.45.14.4 / (download) - annotate - [select for diffs], Sun Oct 24 22:48:00 2010 UTC (13 years, 5 months ago) by jym
Branch: jym-xensuspend
Changes since 1.45.14.3: +6 -7 lines
Diff to previous 1.45.14.3 (colored) to branchpoint 1.45 (colored)

Sync with HEAD

Revision 1.44.10.4 / (download) - annotate - [select for diffs], Thu Mar 11 15:02:28 2010 UTC (14 years, 1 month ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.44.10.3: +6 -7 lines
Diff to previous 1.44.10.3 (colored) to branchpoint 1.44 (colored) next main 1.45 (colored)

sync with head

Revision 1.50 / (download) - annotate - [select for diffs], Sat Nov 21 03:11:00 2009 UTC (14 years, 4 months ago) by rmind
Branch: MAIN
CVS Tags: yamt-nfs-mp-base9, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, 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
Changes since 1.49: +2 -3 lines
Diff to previous 1.49 (colored)

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

Revision 1.49 / (download) - annotate - [select for diffs], Sat Nov 7 07:27:44 2009 UTC (14 years, 5 months ago) by cegger
Branch: MAIN
Changes since 1.48: +6 -6 lines
Diff to previous 1.48 (colored)

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) - annotate - [select for diffs], Sun Nov 1 13:58:20 2009 UTC (14 years, 5 months ago) by jym
Branch: jym-xensuspend
Changes since 1.45.14.2: +0 -0 lines
Diff to previous 1.45.14.2 (colored) to branchpoint 1.45 (colored)

Sync with HEAD.

Revision 1.44.10.3 / (download) - annotate - [select for diffs], Sat Jun 20 07:20:05 2009 UTC (14 years, 9 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.44.10.2: +3 -3 lines
Diff to previous 1.44.10.2 (colored) to branchpoint 1.44 (colored)

sync with head

Revision 1.45.14.2 / (download) - annotate - [select for diffs], Sun May 31 14:32:33 2009 UTC (14 years, 10 months ago) by jym
Branch: jym-xensuspend
Changes since 1.45.14.1: +3 -3 lines
Diff to previous 1.45.14.1 (colored) to branchpoint 1.45 (colored)

Sync with HEAD.

Revision 1.48 / (download) - annotate - [select for diffs], Sun May 17 18:24:23 2009 UTC (14 years, 11 months ago) by bouyer
Branch: MAIN
CVS Tags: yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, jymxensuspend-base
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored)

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) - annotate - [select for diffs], Wed May 13 17:17:49 2009 UTC (14 years, 11 months ago) by jym
Branch: jym-xensuspend
Changes since 1.45: +36 -44 lines
Diff to previous 1.45 (colored)

Sync with HEAD.

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

Revision 1.44.10.2 / (download) - annotate - [select for diffs], Mon May 4 08:11:16 2009 UTC (14 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.44.10.1: +36 -44 lines
Diff to previous 1.44.10.1 (colored) to branchpoint 1.44 (colored)

sync with head.

Revision 1.45.8.1 / (download) - annotate - [select for diffs], Tue Apr 28 07:34:08 2009 UTC (14 years, 11 months ago) by skrll
Branch: nick-hppapmap
Changes since 1.45: +36 -44 lines
Diff to previous 1.45 (colored) next main 1.46 (colored)

Sync with HEAD.

Revision 1.45.10.1 / (download) - annotate - [select for diffs], Sat Apr 4 17:39:09 2009 UTC (15 years ago) by snj
Branch: 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
Changes since 1.45: +34 -42 lines
Diff to previous 1.45 (colored)

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) - annotate - [select for diffs], Sat Mar 21 14:41:29 2009 UTC (15 years ago) by ad
Branch: MAIN
CVS Tags: yamt-nfs-mp-base4, yamt-nfs-mp-base3, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base
Changes since 1.46: +34 -42 lines
Diff to previous 1.46 (colored)

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) - annotate - [select for diffs], Mon Mar 16 09:37:35 2009 UTC (15 years, 1 month ago) by cegger
Branch: MAIN
Changes since 1.45: +6 -6 lines
Diff to previous 1.45 (colored)

ansify function definitions

Revision 1.44.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:22:15 2008 UTC (15 years, 10 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.44: +0 -7 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

Sync with HEAD.

Revision 1.44.8.1 / (download) - annotate - [select for diffs], Sun May 18 12:32:10 2008 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pf42
Changes since 1.44: +2 -9 lines
Diff to previous 1.44 (colored) next main 1.45 (colored)

sync with head.

Revision 1.44.10.1 / (download) - annotate - [select for diffs], Fri May 16 02:22:34 2008 UTC (15 years, 11 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.44: +2 -9 lines
Diff to previous 1.44 (colored)

sync with head.

Revision 1.45 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:24 2008 UTC (15 years, 11 months ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, 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
Changes since 1.44: +2 -9 lines
Diff to previous 1.44 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.40.2.3 / (download) - annotate - [select for diffs], Sun Mar 23 02:04:06 2008 UTC (16 years ago) by matt
Branch: matt-armv6
Changes since 1.40.2.2: +147 -32 lines
Diff to previous 1.40.2.2 (colored) to branchpoint 1.40 (colored) next main 1.41 (colored)

sync with HEAD

Revision 1.41.2.2 / (download) - annotate - [select for diffs], Mon Feb 18 21:04:37 2008 UTC (16 years, 1 month ago) by mjf
Branch: mjf-devfs
Changes since 1.41.2.1: +150 -37 lines
Diff to previous 1.41.2.1 (colored) to branchpoint 1.41 (colored) next main 1.42 (colored)

Sync with HEAD.

Revision 1.34.2.5 / (download) - annotate - [select for diffs], Mon Jan 21 09:36:59 2008 UTC (16 years, 2 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.34.2.4: +150 -37 lines
Diff to previous 1.34.2.4 (colored) to branchpoint 1.34 (colored) next main 1.35 (colored)

sync with head

Revision 1.44 / (download) - annotate - [select for diffs], Fri Jan 11 20:00:13 2008 UTC (16 years, 3 months ago) by bouyer
Branch: 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
Changes since 1.43: +147 -32 lines
Diff to previous 1.43 (colored)

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) - annotate - [select for diffs], Wed Jan 9 19:25:05 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.42.6.1: +147 -32 lines
Diff to previous 1.42.6.1 (colored) to branchpoint 1.42 (colored) next main 1.43 (colored)

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) - annotate - [select for diffs], Wed Jan 9 01:46:35 2008 UTC (16 years, 3 months ago) by matt
Branch: matt-armv6
Changes since 1.40.2.1: +7 -9 lines
Diff to previous 1.40.2.1 (colored) to branchpoint 1.40 (colored)

sync with HEAD

Revision 1.42.6.1 / (download) - annotate - [select for diffs], Tue Jan 8 22:09:59 2008 UTC (16 years, 3 months ago) by bouyer
Branch: bouyer-xeni386
Changes since 1.42: +5 -7 lines
Diff to previous 1.42 (colored)

Sync with HEAD

Revision 1.43 / (download) - annotate - [select for diffs], Fri Jan 4 15:55:31 2008 UTC (16 years, 3 months ago) by yamt
Branch: MAIN
CVS Tags: matt-armv6-base
Changes since 1.42: +5 -7 lines
Diff to previous 1.42 (colored)

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) - annotate - [select for diffs], Mon Dec 3 18:36:39 2007 UTC (16 years, 4 months ago) by ad
Branch: vmlocking
Changes since 1.37.6.2: +4 -4 lines
Diff to previous 1.37.6.2 (colored) to branchpoint 1.37 (colored) next main 1.38 (colored)

Sync with HEAD.

Revision 1.41.2.1 / (download) - annotate - [select for diffs], Mon Nov 19 00:46:25 2007 UTC (16 years, 4 months ago) by mjf
Branch: mjf-devfs
Changes since 1.41: +4 -4 lines
Diff to previous 1.41 (colored)

Sync with HEAD.

Revision 1.40.6.1 / (download) - annotate - [select for diffs], Sun Nov 18 19:34:26 2007 UTC (16 years, 4 months ago) by bouyer
Branch: bouyer-xenamd64
Changes since 1.40: +4 -4 lines
Diff to previous 1.40 (colored) next main 1.41 (colored)

Sync with HEAD

Revision 1.34.2.4 / (download) - annotate - [select for diffs], Thu Nov 15 11:42:54 2007 UTC (16 years, 5 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.34.2.3: +4 -4 lines
Diff to previous 1.34.2.3 (colored) to branchpoint 1.34 (colored)

sync with head.

Revision 1.38.10.2 / (download) - annotate - [select for diffs], Wed Nov 14 19:04:11 2007 UTC (16 years, 5 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.38.10.1: +4 -4 lines
Diff to previous 1.38.10.1 (colored) to branchpoint 1.38 (colored) next main 1.39 (colored)

Sync with HEAD.

Revision 1.42 / (download) - annotate - [select for diffs], Wed Nov 14 14:44:14 2007 UTC (16 years, 5 months ago) by ad
Branch: 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
Changes since 1.41: +4 -4 lines
Diff to previous 1.41 (colored)

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) - annotate - [select for diffs], Tue Nov 6 23:17:27 2007 UTC (16 years, 5 months ago) by matt
Branch: matt-armv6
CVS Tags: matt-armv6-prevmlocking
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (colored)

sync with HEAD

Revision 1.41 / (download) - annotate - [select for diffs], Wed Oct 17 19:54:45 2007 UTC (16 years, 6 months ago) by garbled
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, jmcneill-base
Branch point for: mjf-devfs
Changes since 1.40: +2 -2 lines
Diff to previous 1.40 (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.38.2.1 / (download) - annotate - [select for diffs], Wed Oct 3 19:23:44 2007 UTC (16 years, 6 months ago) by garbled
Branch: ppcoea-renovation
Changes since 1.38: +6 -2 lines
Diff to previous 1.38 (colored) next main 1.39 (colored)

Sync with HEAD

Revision 1.34.2.3 / (download) - annotate - [select for diffs], Mon Sep 3 14:26:39 2007 UTC (16 years, 7 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.34.2.2: +12 -7 lines
Diff to previous 1.34.2.2 (colored) to branchpoint 1.34 (colored)

sync with head.

Revision 1.37.6.2 / (download) - annotate - [select for diffs], Mon Aug 20 18:38:11 2007 UTC (16 years, 7 months ago) by ad
Branch: vmlocking
Changes since 1.37.6.1: +6 -2 lines
Diff to previous 1.37.6.1 (colored) to branchpoint 1.37 (colored)

Sync with HEAD.

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

Sync with HEAD.

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

Sync with HEAD.

Revision 1.40 / (download) - annotate - [select for diffs], Tue Aug 7 12:00:25 2007 UTC (16 years, 8 months ago) by ad
Branch: 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
Changes since 1.39: +3 -3 lines
Diff to previous 1.39 (colored)

Fix typo.

Revision 1.39 / (download) - annotate - [select for diffs], Tue Aug 7 11:30:20 2007 UTC (16 years, 8 months ago) by ad
Branch: MAIN
Changes since 1.38: +6 -2 lines
Diff to previous 1.38 (colored)

More calls to pmap_update().

Revision 1.37.8.1 / (download) - annotate - [select for diffs], Wed Jul 11 19:59:58 2007 UTC (16 years, 9 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.37: +8 -7 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

Sync with head.

Revision 1.37.6.1 / (download) - annotate - [select for diffs], Sun May 27 12:27:30 2007 UTC (16 years, 10 months ago) by ad
Branch: vmlocking
Changes since 1.37: +8 -7 lines
Diff to previous 1.37 (colored)

Sync with head.

Revision 1.37.2.1 / (download) - annotate - [select for diffs], Mon May 7 10:54:57 2007 UTC (16 years, 11 months ago) by yamt
Branch: yamt-idlelwp
Changes since 1.37: +8 -7 lines
Diff to previous 1.37 (colored) next main 1.38 (colored)

sync with head.

Revision 1.38 / (download) - annotate - [select for diffs], Mon Apr 16 17:24:19 2007 UTC (17 years ago) by ad
Branch: 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
Changes since 1.37: +8 -7 lines
Diff to previous 1.37 (colored)

Fix crappy locking around LDT updates. i386 part of PR kern/36046.

Revision 1.34.2.2 / (download) - annotate - [select for diffs], Mon Feb 26 09:06:55 2007 UTC (17 years, 1 month ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.34.2.1: +7 -7 lines
Diff to previous 1.34.2.1 (colored) to branchpoint 1.34 (colored)

sync with head.

Revision 1.37 / (download) - annotate - [select for diffs], Thu Feb 15 15:40:50 2007 UTC (17 years, 2 months ago) by ad
Branch: MAIN
CVS Tags: thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, ad-audiomp-base, ad-audiomp
Branch point for: yamt-idlelwp, vmlocking, mjf-ufs-trans
Changes since 1.36: +7 -7 lines
Diff to previous 1.36 (colored)

Replace some uses of lockmgr() / simplelocks.

Revision 1.34.2.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:52:18 2006 UTC (17 years, 9 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.34: +6 -6 lines
Diff to previous 1.34 (colored)

sync with head.

Revision 1.36 / (download) - annotate - [select for diffs], Sat Dec 24 20:07:10 2005 UTC (18 years, 3 months ago) by perry
Branch: 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
Changes since 1.35: +6 -6 lines
Diff to previous 1.35 (colored)

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

Revision 1.35 / (download) - annotate - [select for diffs], Sun Dec 11 12:17:41 2005 UTC (18 years, 4 months ago) by christos
Branch: MAIN
Changes since 1.34: +2 -2 lines
Diff to previous 1.34 (colored)

merge ktrace-lwp.

Revision 1.30.2.5 / (download) - annotate - [select for diffs], Thu Nov 10 13:56:46 2005 UTC (18 years, 5 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.30.2.4: +4 -4 lines
Diff to previous 1.30.2.4 (colored) next main 1.31 (colored)

Sync with HEAD. Here we go again...

Revision 1.34 / (download) - annotate - [select for diffs], Sun May 29 21:33:37 2005 UTC (18 years, 10 months ago) by christos
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, thorpej-vnode-attr-base, thorpej-vnode-attr, ktrace-lwp-base
Branch point for: yamt-lazymbuf
Changes since 1.33: +4 -4 lines
Diff to previous 1.33 (colored)

Avoid shadowed variables.

Revision 1.32.8.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:12 2005 UTC (18 years, 11 months ago) by kent
Branch: kent-audio2
Changes since 1.32: +6 -4 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

sync with -current

Revision 1.30.2.4 / (download) - annotate - [select for diffs], Fri Apr 1 14:27:39 2005 UTC (19 years ago) by skrll
Branch: ktrace-lwp
Changes since 1.30.2.3: +6 -4 lines
Diff to previous 1.30.2.3 (colored)

Sync with HEAD.

Revision 1.33 / (download) - annotate - [select for diffs], Fri Apr 1 11:59:30 2005 UTC (19 years ago) by yamt
Branch: MAIN
CVS Tags: kent-audio2-base
Changes since 1.32: +6 -4 lines
Diff to previous 1.32 (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.32.10.1 / (download) - annotate - [select for diffs], Tue Jan 25 13:01:08 2005 UTC (19 years, 2 months ago) by yamt
Branch: yamt-km
Changes since 1.32: +6 -4 lines
Diff to previous 1.32 (colored) next main 1.33 (colored)

- convert i386 to new apis.
- remove a pmap bootstrap kludge, which is no longer needed.

Revision 1.30.2.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:16:41 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.30.2.2: +2 -2 lines
Diff to previous 1.30.2.2 (colored)

Fix the sync with head I botched.

Revision 1.30.2.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:35:27 2004 UTC (19 years, 6 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.30.2.1: +0 -0 lines
Diff to previous 1.30.2.1 (colored)

Sync with HEAD.

Revision 1.30.2.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:35:49 2004 UTC (19 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.30: +15 -6 lines
Diff to previous 1.30 (colored)

Sync with HEAD

Revision 1.32 / (download) - annotate - [select for diffs], Fri Feb 13 11:36:13 2004 UTC (20 years, 2 months ago) by wiz
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, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.31: +4 -4 lines
Diff to previous 1.31 (colored)

Uppercase CPU, plural is CPUs.

Revision 1.31 / (download) - annotate - [select for diffs], Wed Jan 28 10:43:50 2004 UTC (20 years, 2 months ago) by yamt
Branch: MAIN
Changes since 1.30: +13 -4 lines
Diff to previous 1.30 (colored)

gdt_alloc_cpu: use unmanaged mappings as gdt_init and gdt_grow.

Revision 1.30 / (download) - annotate - [select for diffs], Mon Jun 23 11:01:18 2003 UTC (20 years, 9 months ago) by martin
Branch: MAIN
Branch point for: ktrace-lwp
Changes since 1.29: +4 -2 lines
Diff to previous 1.29 (colored)

Make sure to include opt_foo.h if a defflag option FOO is used.

Revision 1.23.2.5 / (download) - annotate - [select for diffs], Thu Dec 19 00:33:48 2002 UTC (21 years, 3 months ago) by thorpej
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.23.2.4: +11 -56 lines
Diff to previous 1.23.2.4 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored)

Sync with HEAD.

Revision 1.29 / (download) - annotate - [select for diffs], Sat Dec 14 09:46:36 2002 UTC (21 years, 4 months ago) by junyoung
Branch: MAIN
CVS Tags: nathanw_sa_before_merge, nathanw_sa_base, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Changes since 1.28: +9 -9 lines
Diff to previous 1.28 (colored)

Fix comment.
De-__P().

Revision 1.28 / (download) - annotate - [select for diffs], Sat Dec 14 09:38:50 2002 UTC (21 years, 4 months ago) by junyoung
Branch: MAIN
Changes since 1.27: +4 -49 lines
Diff to previous 1.27 (colored)

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) - annotate - [select for diffs], Fri Oct 18 02:37:40 2002 UTC (21 years, 6 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.23.2.3: +103 -95 lines
Diff to previous 1.23.2.3 (colored) to branchpoint 1.23 (colored)

Catch up to -current.

Revision 1.23.4.2 / (download) - annotate - [select for diffs], Thu Oct 10 18:33:19 2002 UTC (21 years, 6 months ago) by jdolecek
Branch: kqueue
Changes since 1.23.4.1: +108 -36 lines
Diff to previous 1.23.4.1 (colored) to branchpoint 1.23 (colored) next main 1.24 (colored)

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) - annotate - [select for diffs], Tue Oct 8 20:16:09 2002 UTC (21 years, 6 months ago) by fvdl
Branch: MAIN
CVS Tags: kqueue-beforemerge, kqueue-aftermerge
Changes since 1.26: +5 -69 lines
Diff to previous 1.26 (colored)

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) - annotate - [select for diffs], Tue Oct 1 12:56:51 2002 UTC (21 years, 6 months ago) by fvdl
Branch: MAIN
CVS Tags: kqueue-base
Changes since 1.25: +108 -36 lines
Diff to previous 1.25 (colored)

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) - annotate - [select for diffs], Mon Aug 19 02:15:03 2002 UTC (21 years, 8 months ago) by sommerfeld
Branch: sommerfeld_i386mp_1
Changes since 1.22.2.9: +3 -3 lines
Diff to previous 1.22.2.9 (colored) next main 1.23 (colored)

Since we're now allocating stuff out of the gdt earlier on,
copy more of it.

Revision 1.22.2.9 / (download) - annotate - [select for diffs], Mon Aug 19 01:22:27 2002 UTC (21 years, 8 months ago) by sommerfeld
Branch: sommerfeld_i386mp_1
Changes since 1.22.2.8: +10 -16 lines
Diff to previous 1.22.2.8 (colored)

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) - annotate - [select for diffs], Fri Jul 12 01:39:30 2002 UTC (21 years, 9 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.23.2.2: +2 -3 lines
Diff to previous 1.23.2.2 (colored) to branchpoint 1.23 (colored)

No longer need to pull in lwp.h; proc.h pulls it in for us.

Revision 1.22.2.8 / (download) - annotate - [select for diffs], Sun Feb 24 01:58:57 2002 UTC (22 years, 1 month ago) by sommerfeld
Branch: sommerfeld_i386mp_1
CVS Tags: i386mp_plus16_stable
Changes since 1.22.2.7: +24 -12 lines
Diff to previous 1.22.2.7 (colored)

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) - annotate - [select for diffs], Thu Jan 10 19:44:38 2002 UTC (22 years, 3 months ago) by thorpej
Branch: kqueue
Changes since 1.23: +38 -9 lines
Diff to previous 1.23 (colored)

Sync kqueue branch with -current.

Revision 1.23.2.2 / (download) - annotate - [select for diffs], Tue Jan 8 00:25:21 2002 UTC (22 years, 3 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.23.2.1: +38 -9 lines
Diff to previous 1.23.2.1 (colored) to branchpoint 1.23 (colored)

Catch up to -current.

Revision 1.22.2.7 / (download) - annotate - [select for diffs], Sun Dec 30 03:35:02 2001 UTC (22 years, 3 months ago) by sommerfeld
Branch: sommerfeld_i386mp_1
Changes since 1.22.2.6: +4 -3 lines
Diff to previous 1.22.2.6 (colored)

Avoid copying bits of boot-time gdt which might not be there.
From Frank van der Linden

Revision 1.22.2.6 / (download) - annotate - [select for diffs], Sat Dec 29 23:31:00 2001 UTC (22 years, 3 months ago) by sommerfeld
Branch: sommerfeld_i386mp_1
Changes since 1.22.2.5: +84 -31 lines
Diff to previous 1.22.2.5 (colored)

Set up per-cpu GDT.
Use %fs for per-cpu data access.

Revision 1.22.2.5 / (download) - annotate - [select for diffs], Sat Dec 29 21:09:06 2001 UTC (22 years, 3 months ago) by sommerfeld
Branch: sommerfeld_i386mp_1
Changes since 1.22.2.4: +38 -8 lines
Diff to previous 1.22.2.4 (colored)

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) - annotate - [select for diffs], Sun Nov 18 19:28:34 2001 UTC (22 years, 4 months ago) by chs
Branch: 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
Changes since 1.24: +36 -10 lines
Diff to previous 1.24 (colored)

allocate and free memory explicitly rather than abusing uvm_map_pageable().

Revision 1.24 / (download) - annotate - [select for diffs], Thu Nov 15 07:03:29 2001 UTC (22 years, 5 months ago) by lukem
Branch: MAIN
Changes since 1.23: +4 -1 lines
Diff to previous 1.23 (colored)

add RCSID

Revision 1.23.2.1 / (download) - annotate - [select for diffs], Mon Mar 5 22:49:11 2001 UTC (23 years, 1 month ago) by nathanw
Branch: nathanw_sa
Changes since 1.23: +14 -13 lines
Diff to previous 1.23 (colored)

Initial commit of scheduler activations and lightweight process support.

Revision 1.22.2.4 / (download) - annotate - [select for diffs], Sun Jan 7 22:59:23 2001 UTC (23 years, 3 months ago) by sommerfeld
Branch: sommerfeld_i386mp_1
Changes since 1.22.2.3: +2 -2 lines
Diff to previous 1.22.2.3 (colored)

Correct merge botches.
Post-merge kernel now boots multiuser.

Revision 1.22.2.3 / (download) - annotate - [select for diffs], Sun Jan 7 22:12:41 2001 UTC (23 years, 3 months ago) by sommerfeld
Branch: sommerfeld_i386mp_1
Changes since 1.22.2.2: +11 -19 lines
Diff to previous 1.22.2.2 (colored)

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) - annotate - [select for diffs], Mon Nov 20 20:09:21 2000 UTC (23 years, 4 months ago) by bouyer
Branch: thorpej_scsipi
Changes since 1.20: +13 -23 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

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) - annotate - [select for diffs], Wed Aug 16 23:18:20 2000 UTC (23 years, 8 months ago) by thorpej
Branch: 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
Changes since 1.20: +13 -20 lines
Diff to previous 1.20 (colored) next main 1.21 (colored)

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) - annotate - [select for diffs], Wed Aug 16 04:44:35 2000 UTC (23 years, 8 months ago) by thorpej
Branch: 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
Changes since 1.22: +13 -20 lines
Diff to previous 1.22 (colored)

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) - annotate - [select for diffs], Sat Aug 12 16:09:24 2000 UTC (23 years, 8 months ago) by sommerfeld
Branch: sommerfeld_i386mp_1
Changes since 1.22.2.1: +340 -0 lines
Diff to previous 1.22.2.1 (colored)

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 (23 years, 9 months ago) by sommerfeld
Branch: sommerfeld_i386mp_1
Changes since 1.22: +0 -328 lines
FILE REMOVED

file gdt.c was added on branch sommerfeld_i386mp_1 on 2000-08-12 16:09:24 +0000

Revision 1.22 / (download) - annotate - [select for diffs], Thu Jun 29 08:44:51 2000 UTC (23 years, 9 months ago) by mrg
Branch: MAIN
Branch point for: sommerfeld_i386mp_1
Changes since 1.21: +1 -3 lines
Diff to previous 1.21 (colored)

remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>

Revision 1.21 / (download) - annotate - [select for diffs], Mon Jun 26 14:20:44 2000 UTC (23 years, 9 months ago) by mrg
Branch: MAIN
Changes since 1.20: +1 -2 lines
Diff to previous 1.20 (colored)

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) - annotate - [select for diffs], Mon Aug 2 19:50:32 1999 UTC (24 years, 8 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.16.4.1: +13 -15 lines
Diff to previous 1.16.4.1 (colored) to branchpoint 1.16 (colored) next main 1.17 (colored)

Update from trunk.

Revision 1.20 / (download) - annotate - [select for diffs], Sun Jul 25 18:05:31 1999 UTC (24 years, 8 months ago) by thorpej
Branch: 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
Changes since 1.19: +3 -1 lines
Diff to previous 1.19 (colored)

Lock the proclist as appropriate.

Revision 1.19 / (download) - annotate - [select for diffs], Tue Jul 20 23:07:12 1999 UTC (24 years, 8 months ago) by thorpej
Branch: MAIN
Changes since 1.18: +11 -15 lines
Diff to previous 1.18 (colored)

Use the lock manager to lock the GDT, rather than a non-MP-safe homegrown
method.

Revision 1.16.4.1 / (download) - annotate - [select for diffs], Mon Jun 21 00:49:58 1999 UTC (24 years, 9 months ago) by thorpej
Branch: chs-ubc2
Changes since 1.16: +34 -12 lines
Diff to previous 1.16 (colored)

Sync w/ -current.

Revision 1.18 / (download) - annotate - [select for diffs], Fri Jun 18 06:32:05 1999 UTC (24 years, 10 months ago) by thorpej
Branch: MAIN
Changes since 1.17: +4 -4 lines
Diff to previous 1.17 (colored)

Update a uvm_map_pageable() call that I forgot to commit previously.

Revision 1.17 / (download) - annotate - [select for diffs], Wed May 12 19:28:28 1999 UTC (24 years, 11 months ago) by thorpej
Branch: MAIN
Changes since 1.16: +31 -9 lines
Diff to previous 1.16 (colored)

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) - annotate - [select for diffs], Wed Mar 24 05:51:00 1999 UTC (25 years ago) by mrg
Branch: 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
Changes since 1.15: +1 -21 lines
Diff to previous 1.15 (colored)

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) - annotate - [select for diffs], Thu Aug 13 21:36:03 1998 UTC (25 years, 8 months ago) by thorpej
Branch: MAIN
CVS Tags: kenh-if-detach-base, kenh-if-detach, chs-ubc-base, chs-ubc
Changes since 1.14: +13 -13 lines
Diff to previous 1.14 (colored)

vm_offset_t -> {vaddr_t,paddr_t}, vm_size_t -> vsize_t

Revision 1.14 / (download) - annotate - [select for diffs], Wed Aug 5 02:45:08 1998 UTC (25 years, 8 months ago) by perry
Branch: MAIN
Changes since 1.13: +2 -2 lines
Diff to previous 1.13 (colored)

bzero->memset, bcopy->memcpy, bcmp->memcmp

Revision 1.13 / (download) - annotate - [select for diffs], Tue Feb 10 14:11:02 1998 UTC (26 years, 2 months ago) by mrg
Branch: MAIN
CVS Tags: eeh-paddr_t-base, eeh-paddr_t
Changes since 1.12: +3 -1 lines
Diff to previous 1.12 (colored)

- add defopt's for UVM, UVMHIST and PMAP_NEW.
- remove unnecessary UVMHIST_DECL's.

Revision 1.12 / (download) - annotate - [select for diffs], Fri Feb 6 07:21:52 1998 UTC (26 years, 2 months ago) by mrg
Branch: MAIN
Changes since 1.11: +21 -1 lines
Diff to previous 1.11 (colored)

add the i386 MD portions for UVM.

Revision 1.11 / (download) - annotate - [select for diffs], Fri Jan 23 00:44:02 1998 UTC (26 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.10: +4 -2 lines
Diff to previous 1.10 (colored)

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) - annotate - [select for diffs], Thu Nov 13 07:48:20 1997 UTC (26 years, 5 months ago) by mellon
Branch: 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
Changes since 1.9: +37 -39 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

Pull rev 1.10 up from trunk (mycroft)

Revision 1.10 / (download) - annotate - [select for diffs], Thu Nov 13 03:16:43 1997 UTC (26 years, 5 months ago) by mycroft
Branch: MAIN
Changes since 1.9: +37 -39 lines
Diff to previous 1.9 (colored)

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) - annotate - [select for diffs], Tue Oct 14 09:09:41 1997 UTC (26 years, 6 months ago) by thorpej
Branch: marc-pcmcia
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Update marc-pcmcia branch from trunk.

Revision 1.9 / (download) - annotate - [select for diffs], Thu Oct 9 08:53:16 1997 UTC (26 years, 6 months ago) by jtc
Branch: MAIN
CVS Tags: netbsd-1-3-base, marc-pcmcia-base
Branch point for: netbsd-1-3
Changes since 1.8: +3 -3 lines
Diff to previous 1.8 (colored)

Fix tipo inherited from old version of TNF copyright template.

Revision 1.8 / (download) - annotate - [select for diffs], Fri May 3 19:42:06 1996 UTC (27 years, 11 months ago) by christos
Branch: 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
Changes since 1.7: +12 -3 lines
Diff to previous 1.7 (colored)

Prototype and gcc -Wall cleanups

Revision 1.7 / (download) - annotate - [select for diffs], Tue Feb 27 22:45:01 1996 UTC (28 years, 1 month ago) by jtc
Branch: MAIN
Changes since 1.6: +34 -27 lines
Diff to previous 1.6 (colored)

Copyright assigned to the NetBSD Foundation

Revision 1.3.2.2 / (download) - annotate - [select for diffs], Fri Feb 2 06:10:58 1996 UTC (28 years, 2 months ago) by mycroft
Branch: netbsd-1-1
Changes since 1.3.2.1: +42 -23 lines
Diff to previous 1.3.2.1 (colored) to branchpoint 1.3 (colored) next main 1.4 (colored)

Bring in changes for mondo patch 2.

Revision 1.6 / (download) - annotate - [select for diffs], Wed Jan 31 03:13:07 1996 UTC (28 years, 2 months ago) by mycroft
Branch: MAIN
Changes since 1.5: +44 -25 lines
Diff to previous 1.5 (colored)

Allocate the GDT area in a different way.

Revision 1.5 / (download) - annotate - [select for diffs], Fri Nov 17 06:47:27 1995 UTC (28 years, 5 months ago) by jtc
Branch: MAIN
Changes since 1.4: +31 -0 lines
Diff to previous 1.4 (colored)

fixup copyright notice before the release

Revision 1.3.2.1 / (download) - annotate - [select for diffs], Sun Oct 15 06:54:01 1995 UTC (28 years, 6 months ago) by mycroft
Branch: netbsd-1-1
CVS Tags: netbsd-1-1-RELEASE, netbsd-1-1-PATCH001
Changes since 1.3: +15 -15 lines
Diff to previous 1.3 (colored)

Update from main branch.

Revision 1.4 / (download) - annotate - [select for diffs], Sun Oct 15 05:43:49 1995 UTC (28 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.3: +15 -15 lines
Diff to previous 1.3 (colored)

Rename some variables for consistency.

Revision 1.3 / (download) - annotate - [select for diffs], Wed Oct 11 23:39:08 1995 UTC (28 years, 6 months ago) by mycroft
Branch: MAIN
CVS Tags: netbsd-1-1-base
Branch point for: netbsd-1-1
Changes since 1.2: +56 -16 lines
Diff to previous 1.2 (colored)

Maintain a free list.

Revision 1.2 / (download) - annotate - [select for diffs], Wed Oct 11 19:32:31 1995 UTC (28 years, 6 months ago) by mycroft
Branch: MAIN
Changes since 1.1: +1 -1 lines
Diff to previous 1.1 (colored)

Go back to statically allocating the GDT entries for proc0.

Revision 1.1 / (download) - annotate - [select for diffs], Wed Oct 11 04:19:37 1995 UTC (28 years, 6 months ago) by mycroft
Branch: 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.

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




CVSweb <webmaster@jp.NetBSD.org>