The NetBSD Project

CVS log for src/sys/arch/i386/include/segments.h

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

Request diff between arbitrary revisions


Keyword substitution: kv
Default branch: MAIN


Revision 1.70: download - view: text, markup, annotated - select for diffs
Wed May 18 13:56:32 2022 UTC (2 years, 6 months ago) by andvar
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, 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, HEAD
Diff to: previous 1.69: preferred, colored
Changes since revision 1.69: +2 -2 lines
fix typos in word "access" and it derivatives, mainly in comments.

Revision 1.69: download - view: text, markup, annotated - select for diffs
Tue Jul 14 00:45:53 2020 UTC (4 years, 4 months ago) by yamaguchi
Branches: MAIN
CVS tags: thorpej-i2c-spi-conf2-base, thorpej-i2c-spi-conf2, thorpej-i2c-spi-conf-base, thorpej-i2c-spi-conf, thorpej-futex2-base, thorpej-futex2, thorpej-futex-base, thorpej-futex, thorpej-cfargs2-base, thorpej-cfargs2, thorpej-cfargs-base, thorpej-cfargs, cjep_sun2x-base1, cjep_sun2x-base, cjep_sun2x, cjep_staticlib_x-base1, cjep_staticlib_x-base, cjep_staticlib_x
Diff to: previous 1.68: preferred, colored
Changes since revision 1.68: +9 -9 lines
Introduce per-cpu IDTs

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

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

Revision 1.64.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.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64: +14 -6 lines
Sync with HEAD

Revision 1.68: 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
CVS tags: phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, 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, 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
Diff to: previous 1.67: preferred, colored
Changes since revision 1.67: +7 -7 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.64.2.1: download - view: text, markup, annotated - select for diffs
Sun Sep 30 01:45:44 2018 UTC (6 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.64: preferred, colored; next MAIN 1.65: preferred, colored
Changes since revision 1.64: +10 -2 lines
Ssync with HEAD

Revision 1.67: download - view: text, markup, annotated - select for diffs
Sun Sep 23 15:28:49 2018 UTC (6 years, 2 months ago) by cherry
Branches: MAIN
CVS tags: pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930
Diff to: previous 1.66: preferred, colored
Changes since revision 1.66: +2 -2 lines
Fix for i386, functionality intended in:
http://mail-index.netbsd.org/source-changes/2018/09/23/msg099357.html

This should fix the build for both GENERIC and XEN3PAE_DOM0

This has not been boot tested on native or xen3pae

Notes: pmap_changeprot_local() seems to be x86_64 only.
I was a bit surprised by this initially, but I suspect that the table
protections are enforced via ring0/ring1 fencing rather than page protections

the gdt registration code in i386 is still messy. I will leave it as is
for now - to avoid a rabbit hole.

Revision 1.66: download - view: text, markup, annotated - select for diffs
Sun Sep 23 07:54:42 2018 UTC (6 years, 2 months ago) by cherry
Branches: MAIN
Diff to: previous 1.65: preferred, colored
Changes since revision 1.65: +1 -2 lines
Summary: Remove older and now conflicting type declaration for global
variable 'idt'.

This should fix the i386 build failure now.

Revision 1.65: download - view: text, markup, annotated - select for diffs
Sun Sep 23 00:59:59 2018 UTC (6 years, 2 months ago) by cherry
Branches: MAIN
Diff to: previous 1.64: preferred, colored
Changes since revision 1.64: +10 -1 lines
Make XEN use the same api as native, for idt vector allocation
and registration.

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

There should be no functional change due to this commit.

Tested on amd64 native and XEN.

Revision 1.54.16.1: download - view: text, markup, annotated - select for diffs
Mon Feb 19 20:55:44 2018 UTC (6 years, 9 months ago) by snj
Branches: netbsd-6-0
Diff to: previous 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54: +4 -1 lines
Pull up following revision(s) (requested by maxv in ticket #1517):
	sys/arch/amd64/amd64/machdep.c: 1.280 via patch
	sys/arch/amd64/include/segments.h: 1.34 via patch
	sys/arch/i386/i386/machdep.c: 1.800
	sys/arch/i386/include/segments.h: 1.64
	sys/arch/x86/x86/vm_machdep.c: 1.30
Fix a huge privilege separation vulnerability in Xen-amd64.
On amd64 the kernel runs in ring3, like userland, and therefore SEL_KPL
equals SEL_UPL. While Xen can make a distinction between usermode and
kernelmode in %cs, it can't when it comes to iopl. Since we set SEL_KPL
in iopl, Xen sees SEL_UPL, and allows (unprivileged) userland processes
to read and write to the CPU ports.
It is easy, then, to completely escalate privileges; by reprogramming the
PIC, by reading the ATA disks, by intercepting the keyboard interrupts
(keylogger), etc.
Declare IOPL_KPL, set to 1 on Xen-amd64, which allows the kernel to use
the ports but not userland. I didn't test this change on i386, but it
seems fine enough.

Revision 1.54.24.1: download - view: text, markup, annotated - select for diffs
Mon Feb 19 20:54:53 2018 UTC (6 years, 9 months ago) by snj
Branches: netbsd-6-1
Diff to: previous 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54: +4 -1 lines
Pull up following revision(s) (requested by maxv in ticket #1517):
	sys/arch/amd64/amd64/machdep.c: 1.280 via patch
	sys/arch/amd64/include/segments.h: 1.34 via patch
	sys/arch/i386/i386/machdep.c: 1.800
	sys/arch/i386/include/segments.h: 1.64
	sys/arch/x86/x86/vm_machdep.c: 1.30
Fix a huge privilege separation vulnerability in Xen-amd64.
On amd64 the kernel runs in ring3, like userland, and therefore SEL_KPL
equals SEL_UPL. While Xen can make a distinction between usermode and
kernelmode in %cs, it can't when it comes to iopl. Since we set SEL_KPL
in iopl, Xen sees SEL_UPL, and allows (unprivileged) userland processes
to read and write to the CPU ports.
It is easy, then, to completely escalate privileges; by reprogramming the
PIC, by reading the ATA disks, by intercepting the keyboard interrupts
(keylogger), etc.
Declare IOPL_KPL, set to 1 on Xen-amd64, which allows the kernel to use
the ports but not userland. I didn't test this change on i386, but it
seems fine enough.

Revision 1.54.10.1: download - view: text, markup, annotated - select for diffs
Mon Feb 19 20:54:38 2018 UTC (6 years, 9 months ago) by snj
Branches: netbsd-6
Diff to: previous 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54: +4 -1 lines
Pull up following revision(s) (requested by maxv in ticket #1517):
	sys/arch/amd64/amd64/machdep.c: 1.280 via patch
	sys/arch/amd64/include/segments.h: 1.34 via patch
	sys/arch/i386/i386/machdep.c: 1.800
	sys/arch/i386/include/segments.h: 1.64
	sys/arch/x86/x86/vm_machdep.c: 1.30
Fix a huge privilege separation vulnerability in Xen-amd64.
On amd64 the kernel runs in ring3, like userland, and therefore SEL_KPL
equals SEL_UPL. While Xen can make a distinction between usermode and
kernelmode in %cs, it can't when it comes to iopl. Since we set SEL_KPL
in iopl, Xen sees SEL_UPL, and allows (unprivileged) userland processes
to read and write to the CPU ports.
It is easy, then, to completely escalate privileges; by reprogramming the
PIC, by reading the ATA disks, by intercepting the keyboard interrupts
(keylogger), etc.
Declare IOPL_KPL, set to 1 on Xen-amd64, which allows the kernel to use
the ports but not userland. I didn't test this change on i386, but it
seems fine enough.

Revision 1.54.30.1: download - view: text, markup, annotated - select for diffs
Mon Jan 22 19:41:08 2018 UTC (6 years, 10 months ago) by snj
Branches: netbsd-7
CVS tags: netbsd-7-2-RELEASE
Diff to: previous 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54: +4 -1 lines
Pull up following revision(s) (requested by maxv in ticket #1550):
	sys/arch/amd64/amd64/machdep.c: revision 1.280 via patch
	sys/arch/amd64/include/segments.h: revision 1.34 via patch
	sys/arch/i386/i386/machdep.c: revision 1.800 via patch
	sys/arch/i386/include/segments.h: revision 1.64 via patch
	sys/arch/x86/x86/vm_machdep.c: revision 1.30 via patch
Fix a huge privilege separation vulnerability in Xen-amd64.
On amd64 the kernel runs in ring3, like userland, and therefore SEL_KPL
equals SEL_UPL. While Xen can make a distinction between usermode and
kernelmode in %cs, it can't when it comes to iopl. Since we set SEL_KPL
in iopl, Xen sees SEL_UPL, and allows (unprivileged) userland processes
to read and write to the CPU ports.
It is easy, then, to completely escalate privileges; by reprogramming the
PIC, by reading the ATA disks, by intercepting the keyboard interrupts
(keylogger), etc.
Declare IOPL_KPL, set to 1 on Xen-amd64, which allows the kernel to use
the ports but not userland. I didn't test this change on i386, but it
seems fine enough.

Revision 1.54.38.1: download - view: text, markup, annotated - select for diffs
Mon Jan 22 19:40:58 2018 UTC (6 years, 10 months ago) by snj
Branches: netbsd-7-1
CVS tags: netbsd-7-1-2-RELEASE
Diff to: previous 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54: +4 -1 lines
Pull up following revision(s) (requested by maxv in ticket #1550):
	sys/arch/amd64/amd64/machdep.c: revision 1.280 via patch
	sys/arch/amd64/include/segments.h: revision 1.34 via patch
	sys/arch/i386/i386/machdep.c: revision 1.800 via patch
	sys/arch/i386/include/segments.h: revision 1.64 via patch
	sys/arch/x86/x86/vm_machdep.c: revision 1.30 via patch
Fix a huge privilege separation vulnerability in Xen-amd64.
On amd64 the kernel runs in ring3, like userland, and therefore SEL_KPL
equals SEL_UPL. While Xen can make a distinction between usermode and
kernelmode in %cs, it can't when it comes to iopl. Since we set SEL_KPL
in iopl, Xen sees SEL_UPL, and allows (unprivileged) userland processes
to read and write to the CPU ports.
It is easy, then, to completely escalate privileges; by reprogramming the
PIC, by reading the ATA disks, by intercepting the keyboard interrupts
(keylogger), etc.
Declare IOPL_KPL, set to 1 on Xen-amd64, which allows the kernel to use
the ports but not userland. I didn't test this change on i386, but it
seems fine enough.

Revision 1.54.34.1: download - view: text, markup, annotated - select for diffs
Mon Jan 22 19:40:25 2018 UTC (6 years, 10 months ago) by snj
Branches: netbsd-7-0
Diff to: previous 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54: +4 -1 lines
Pull up following revision(s) (requested by maxv in ticket #1550):
	sys/arch/amd64/amd64/machdep.c: revision 1.280 via patch
	sys/arch/amd64/include/segments.h: revision 1.34 via patch
	sys/arch/i386/i386/machdep.c: revision 1.800 via patch
	sys/arch/i386/include/segments.h: revision 1.64 via patch
	sys/arch/x86/x86/vm_machdep.c: revision 1.30 via patch
Fix a huge privilege separation vulnerability in Xen-amd64.
On amd64 the kernel runs in ring3, like userland, and therefore SEL_KPL
equals SEL_UPL. While Xen can make a distinction between usermode and
kernelmode in %cs, it can't when it comes to iopl. Since we set SEL_KPL
in iopl, Xen sees SEL_UPL, and allows (unprivileged) userland processes
to read and write to the CPU ports.
It is easy, then, to completely escalate privileges; by reprogramming the
PIC, by reading the ATA disks, by intercepting the keyboard interrupts
(keylogger), etc.
Declare IOPL_KPL, set to 1 on Xen-amd64, which allows the kernel to use
the ports but not userland. I didn't test this change on i386, but it
seems fine enough.

Revision 1.59.6.1: download - view: text, markup, annotated - select for diffs
Mon Jan 1 19:09:04 2018 UTC (6 years, 11 months ago) by snj
Branches: netbsd-8
CVS tags: 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
Diff to: previous 1.59: preferred, colored; next MAIN 1.60: preferred, colored
Changes since revision 1.59: +2 -1 lines
Pull up following revision(s) (requested by maxv in ticket #477):
	sys/arch/amd64/amd64/machdep.c: revision 1.280
	sys/arch/amd64/include/segments.h: revision 1.34
	sys/arch/i386/i386/machdep.c: revision 1.800
	sys/arch/i386/include/segments.h: revision 1.64 via patch
	sys/arch/x86/x86/vm_machdep.c: revision 1.30
Fix a huge privilege separation vulnerability in Xen-amd64.
On amd64 the kernel runs in ring3, like userland, and therefore SEL_KPL
equals SEL_UPL. While Xen can make a distinction between usermode and
kernelmode in %cs, it can't when it comes to iopl. Since we set SEL_KPL
in iopl, Xen sees SEL_UPL, and allows (unprivileged) userland processes
to read and write to the CPU ports.
It is easy, then, to completely escalate privileges; by reprogramming the
PIC, by reading the ATA disks, by intercepting the keyboard interrupts
(keylogger), etc.
Declare IOPL_KPL, set to 1 on Xen-amd64, which allows the kernel to use
the ports but not userland. I didn't test this change on i386, but it
seems fine enough.

Revision 1.64: download - view: text, markup, annotated - select for diffs
Sun Dec 31 08:29:38 2017 UTC (6 years, 11 months ago) by maxv
Branches: MAIN
CVS tags: phil-wifi-base, pgoyette-compat-base, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315
Branch point for: phil-wifi, pgoyette-compat
Diff to: previous 1.63: preferred, colored
Changes since revision 1.63: +3 -1 lines
Fix a huge privilege separation vulnerability in Xen-amd64.

On amd64 the kernel runs in ring3, like userland, and therefore SEL_KPL
equals SEL_UPL. While Xen can make a distinction between usermode and
kernelmode in %cs, it can't when it comes to iopl. Since we set SEL_KPL
in iopl, Xen sees SEL_UPL, and allows (unprivileged) userland processes
to read and write to the CPU ports.

It is easy, then, to completely escalate privileges; by reprogramming the
PIC, by reading the ATA disks, by intercepting the keyboard interrupts
(keylogger), etc.

Declare IOPL_KPL, set to 1 on Xen-amd64, which allows the kernel to use
the ports but not userland. I didn't test this change on i386, but it
seems fine enough.

Revision 1.54.14.1: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:36:18 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54: +99 -99 lines
update from HEAD

Revision 1.63: download - view: text, markup, annotated - select for diffs
Sat Nov 4 08:50:47 2017 UTC (7 years, 1 month ago) by cherry
Branches: MAIN
CVS tags: tls-maxphys-base-20171202
Diff to: previous 1.62: preferred, colored
Changes since revision 1.62: +3 -3 lines
In XEN PV, the idt vector table is not required to be altered at
runtime, since only entries for exceptions/traps are registered with
the hypervisor and interrupts are managed via a completely different
mechanism.

This change uses the idt_vec_reserve() mechanism nevertheless,
modifying it slightly to only do namespace management in XEN, while on
native it will continue to do idt entry init as before.

Rationale: Consistent API usage and potential future merging of
XEN/non-XEN code.

There are no functional changes in this commit.

Revision 1.62: download - view: text, markup, annotated - select for diffs
Sun Sep 17 09:41:35 2017 UTC (7 years, 2 months ago) by maxv
Branches: MAIN
Diff to: previous 1.61: preferred, colored
Changes since revision 1.61: +3 -3 lines
Remove the second argument from USERMODE and KERNELMODE, it is unused
now that we don't have vm86 anymore.

Revision 1.54.32.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.54.32.2: preferred, colored; branchpoint 1.54: preferred, colored; next MAIN 1.55: preferred, colored
Changes since revision 1.54.32.2: +11 -13 lines
Sync with HEAD

Revision 1.61: download - view: text, markup, annotated - select for diffs
Sat Aug 12 07:35:08 2017 UTC (7 years, 4 months ago) by maxv
Branches: MAIN
CVS tags: nick-nhusb-base-20170825
Diff to: previous 1.60: preferred, colored
Changes since revision 1.60: +1 -10 lines
Remove vm86.

Pass 4.

Revision 1.60: 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
CVS tags: perseant-stdc-iso10646-base, perseant-stdc-iso10646
Diff to: previous 1.59: preferred, colored
Changes since revision 1.59: +10 -2 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.57.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.57: preferred, colored; next MAIN 1.58: preferred, colored
Changes since revision 1.57: +2 -3 lines
Sync with HEAD

Revision 1.55.2.1: 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.55: preferred, colored; next MAIN 1.56: preferred, colored
Changes since revision 1.55: +2 -3 lines
Sync with HEAD

Revision 1.59: 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
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, matt-nb8-mediatek-base, matt-nb8-mediatek, jdolecek-ncq-base, jdolecek-ncq, bouyer-socketcan-base1
Branch point for: netbsd-8
Diff to: previous 1.58: preferred, colored
Changes since revision 1.58: +1 -2 lines
Localify, add a comment and merge some others.

Revision 1.58: 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.57: preferred, colored
Changes since revision 1.57: +2 -2 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.54.32.2: 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.54.32.1: preferred, colored; branchpoint 1.54: preferred, colored
Changes since revision 1.54.32.1: +90 -88 lines
Sync with HEAD

Revision 1.57: download - view: text, markup, annotated - select for diffs
Fri Sep 2 08:28:06 2016 UTC (8 years, 3 months ago) by maxv
Branches: MAIN
CVS tags: pgoyette-localcount-20170107, pgoyette-localcount-20161104, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, localcount-20160914, bouyer-socketcan-base
Branch point for: bouyer-socketcan
Diff to: previous 1.56: preferred, colored
Changes since revision 1.56: +90 -87 lines
KNF, and give the structure sizes.

Revision 1.56: download - view: text, markup, annotated - select for diffs
Sat Aug 27 14:19:47 2016 UTC (8 years, 3 months ago) by maxv
Branches: MAIN
Diff to: previous 1.55: preferred, colored
Changes since revision 1.55: +1 -2 lines
Remove idt_init.

Revision 1.54.32.1: download - view: text, markup, annotated - select for diffs
Sat Mar 19 11:30:00 2016 UTC (8 years, 8 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +2 -2 lines
Sync with HEAD

Revision 1.55: download - view: text, markup, annotated - select for diffs
Sun Jan 24 18:21:50 2016 UTC (8 years, 10 months ago) by christos
Branches: MAIN
CVS tags: 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
Branch point for: pgoyette-localcount
Diff to: previous 1.54: preferred, colored
Changes since revision 1.54: +2 -2 lines
expose __vaddr_t for segments.h since it is a userland api.

Revision 1.50.4.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.50.4.1: preferred, colored; branchpoint 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50.4.1: +2 -1 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.53.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:05:51 2011 UTC (13 years, 6 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53: +1 -2 lines
Sync with HEAD.

Revision 1.53.4.1: download - view: text, markup, annotated - select for diffs
Tue May 31 03:04:04 2011 UTC (13 years, 6 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.53: preferred, colored; next MAIN 1.54: preferred, colored
Changes since revision 1.53: +1 -2 lines
sync with head

Revision 1.50.8.4: download - view: text, markup, annotated - select for diffs
Mon May 2 22:49:56 2011 UTC (13 years, 7 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.50.8.3: preferred, colored; branchpoint 1.50: preferred, colored; next MAIN 1.51: preferred, colored
Changes since revision 1.50.8.3: +1 -2 lines
Sync with head.

Revision 1.54: download - view: text, markup, annotated - select for diffs
Tue Apr 26 15:51:23 2011 UTC (13 years, 7 months ago) by joerg
Branches: MAIN
CVS tags: yamt-pagecache-tag8, yamt-pagecache-base9, yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-pagecache, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-uvmplock-nbase, rmind-uvmplock-base, 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, 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-1-RELEASE, netbsd-7-1-RC2, netbsd-7-1-RC1, netbsd-7-1-1-RELEASE, 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-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-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, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus, khorben-n900, jym-xensuspend-nbase, jym-xensuspend-base, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base9, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base10, jmcneill-usbmp-base, jmcneill-usbmp, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, agc-symver-base, agc-symver
Branch point for: tls-maxphys, nick-nhusb, netbsd-7-1, netbsd-7-0, netbsd-7, netbsd-6-1, netbsd-6-0, netbsd-6
Diff to: previous 1.53: preferred, colored
Changes since revision 1.53: +1 -2 lines
Remove Darwin, MACH and Mach-O support.

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

Revision 1.49.2.2: 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.49.2.1: preferred, colored; branchpoint 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49.2.1: +2 -1 lines
sync with head

Revision 1.50.8.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.50.8.1: preferred, colored; branchpoint 1.50: preferred, colored
Changes since revision 1.50.8.1: +2 -1 lines
Sync with HEAD.

Revision 1.53: 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-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, matt-premerge-20091211, matt-mips64-premerge-20101231, jymxensuspend-base, jruoho-x86intr-base, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: rmind-uvmplock, jruoho-x86intr
Diff to: previous 1.52: preferred, colored
Changes since revision 1.52: +2 -1 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.50.8.1: download - view: text, markup, annotated - select for diffs
Wed May 13 17:17:50 2009 UTC (15 years, 7 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +5 -4 lines
Sync with HEAD.

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

Revision 1.49.2.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:11:17 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +12 -10 lines
sync with head.

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

Revision 1.52: download - view: text, markup, annotated - select for diffs
Sat Mar 21 22:17:13 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.51: preferred, colored
Changes since revision 1.51: +3 -3 lines
A couple more comments.

Revision 1.51: download - view: text, markup, annotated - select for diffs
Sat Mar 21 21:42:00 2009 UTC (15 years, 8 months ago) by ad
Branches: MAIN
Diff to: previous 1.50: preferred, colored
Changes since revision 1.50: +3 -2 lines
Add a comment.

Revision 1.48.6.2: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:28:04 2009 UTC (15 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.48.6.1: preferred, colored; branchpoint 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48.6.1: +7 -6 lines
Sync with HEAD.

Revision 1.49.8.1: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:13:14 2008 UTC (16 years ago) by haad
Branches: haad-dm
Diff to: previous 1.49: preferred, colored; next MAIN 1.50: preferred, colored
Changes since revision 1.49: +8 -7 lines
Update haad-dm branch to haad-dm-base2.

Revision 1.50.4.1: download - view: text, markup, annotated - select for diffs
Tue Nov 18 01:56:59 2008 UTC (16 years 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-RC3, netbsd-5-0-RC2, netbsd-5-0-RC1, 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.50: preferred, colored
Changes since revision 1.50: +9 -1 lines
Apply patch (requested by bouyer in ticket #65):
Add i386-specific COMPAT_30_PTHREAD option (enabled where COMPAT_30
is enabled), which restore binary compatibility with netbsd-3 libpthread.

Revision 1.50: download - view: text, markup, annotated - select for diffs
Sun Oct 26 17:41:11 2008 UTC (16 years, 1 month ago) by christos
Branches: MAIN
CVS tags: nick-hppapmap-base2, netbsd-5-base, mjf-devfs2-base, haad-nbase2, haad-dm-base2, haad-dm-base, ad-audiomp2-base, ad-audiomp2
Branch point for: nick-hppapmap, netbsd-5, jym-xensuspend
Diff to: previous 1.49: preferred, colored
Changes since revision 1.49: +8 -7 lines
use a macro to get to d_type.

Revision 1.48.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:22:17 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +2 -0 lines
Sync with HEAD.

Revision 1.48.8.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:32:14 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.48: preferred, colored; next MAIN 1.49: preferred, colored
Changes since revision 1.48: +3 -1 lines
sync with head.

Revision 1.49: download - view: text, markup, annotated - select for diffs
Sat Apr 19 12:10:08 2008 UTC (16 years, 7 months ago) by cegger
Branches: MAIN
CVS tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base2, yamt-nfs-mp-base, 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, matt-mips64-base2, hpcarm-cleanup-nbase, haad-dm-base1
Branch point for: yamt-nfs-mp, haad-dm
Diff to: previous 1.48: preferred, colored
Changes since revision 1.48: +3 -1 lines
idt_* are not implemented for Xen. So don't provide the prototypes for Xen.

Revision 1.42.20.3: download - view: text, markup, annotated - select for diffs
Sun Mar 23 02:04:07 2008 UTC (16 years, 8 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.42.20.2: preferred, colored; branchpoint 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42.20.2: +23 -1 lines
sync with HEAD

Revision 1.43.2.2: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:04:40 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.43.2.1: preferred, colored; branchpoint 1.43: preferred, colored; next MAIN 1.44: preferred, colored
Changes since revision 1.43.2.1: +31 -7 lines
Sync with HEAD.

Revision 1.41.16.4: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:37:09 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.41.16.3: preferred, colored; branchpoint 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41.16.3: +31 -7 lines
sync with head

Revision 1.48: download - view: text, markup, annotated - select for diffs
Fri Jan 11 20:00:16 2008 UTC (16 years, 11 months ago) by bouyer
Branches: MAIN
CVS tags: yamt-pf42-baseX, yamt-pf42-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, mjf-devfs2
Diff to: previous 1.47: preferred, colored
Changes since revision 1.47: +23 -1 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.44.6.4: download - view: text, markup, annotated - select for diffs
Wed Jan 9 21:29:54 2008 UTC (16 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.44.6.3: preferred, colored; branchpoint 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44.6.3: +5 -1 lines
Merge Xen support back to i386/i386/vector.S

Revision 1.42.20.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:46:43 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.42.20.1: preferred, colored; branchpoint 1.42: preferred, colored
Changes since revision 1.42.20.1: +12 -8 lines
sync with HEAD

Revision 1.44.6.3: download - view: text, markup, annotated - select for diffs
Tue Jan 8 22:10:04 2008 UTC (16 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.44.6.2: preferred, colored; branchpoint 1.44: preferred, colored
Changes since revision 1.44.6.2: +2 -2 lines
Sync with HEAD

Revision 1.44.6.2: download - view: text, markup, annotated - select for diffs
Mon Jan 7 00:34:53 2008 UTC (16 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.44.6.1: preferred, colored; branchpoint 1.44: preferred, colored
Changes since revision 1.44.6.1: +18 -0 lines
Move Xen support to i386/i386/machdep.c. two less files in xen/ :)

Revision 1.47: download - view: text, markup, annotated - select for diffs
Fri Jan 4 15:55:33 2008 UTC (16 years, 11 months ago) by yamt
Branches: MAIN
CVS tags: matt-armv6-base
Diff to: previous 1.46: preferred, colored
Changes since revision 1.46: +3 -3 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.44.6.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:48:23 2008 UTC (16 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +7 -5 lines
Sync with HEAD

Revision 1.44.2.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 19:42:22 2007 UTC (16 years, 11 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.44: preferred, colored; next MAIN 1.45: preferred, colored
Changes since revision 1.44: +7 -5 lines
Sync with head.

Revision 1.46: download - view: text, markup, annotated - select for diffs
Wed Dec 26 11:51:11 2007 UTC (16 years, 11 months ago) by yamt
Branches: MAIN
CVS tags: vmlocking2-base3
Diff to: previous 1.45: preferred, colored
Changes since revision 1.45: +3 -1 lines
- share idt entry allocation code among x86.
- introduce a function to reserve an idt entry and use it instead of
  manipulating idt_allocmap directly.
- rename idt to xen_idt for amd64 xen.  add missing #ifdef XEN.

Revision 1.45: download - view: text, markup, annotated - select for diffs
Tue Dec 25 18:33:33 2007 UTC (16 years, 11 months ago) by perry
Branches: MAIN
Diff to: previous 1.44: preferred, colored
Changes since revision 1.44: +5 -5 lines
Convert many of the uses of __attribute__ to equivalent
__packed, __unused and __dead macros from cdefs.h

Revision 1.42.2.2: download - view: text, markup, annotated - select for diffs
Mon Dec 3 18:36:53 2007 UTC (17 years ago) by ad
Branches: vmlocking
Diff to: previous 1.42.2.1: preferred, colored; branchpoint 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42.2.1: +4 -2 lines
Sync with HEAD.

Revision 1.43.2.1: download - view: text, markup, annotated - select for diffs
Mon Nov 19 00:46:32 2007 UTC (17 years ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +4 -2 lines
Sync with HEAD.

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

Revision 1.42.24.2: download - view: text, markup, annotated - select for diffs
Tue Nov 13 15:58:36 2007 UTC (17 years, 1 month ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.42.24.1: preferred, colored; branchpoint 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42.24.1: +3 -1 lines
Sync with HEAD

Revision 1.42.18.2: download - view: text, markup, annotated - select for diffs
Sun Nov 11 16:46:35 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.42.18.1: preferred, colored; branchpoint 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42.18.1: +4 -2 lines
Sync with HEAD.

Revision 1.44: download - view: text, markup, annotated - select for diffs
Sat Nov 10 20:06:24 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-base2, vmlocking2-base1, 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: vmlocking2, bouyer-xeni386
Diff to: previous 1.43: preferred, colored
Changes since revision 1.43: +4 -2 lines
- When computing the TSC frequency, call i8254_delay() and not DELAY().
- Use atomics to adjust the pmap reference count, instead of taking locks.
- Implement I386_{SET,GET}_{FS,GS}BASE, allowing %fs and %gs to be used
  as per-thread registers. This is compatible with FreeBSD.
- Run patches after we have attached CPUs, since we then know if the
  system is uniprocessor or not. Eliminates a lot of #ifdef MULTIPROCESSOR
  and makes running MP kernels on UP systems cheaper.
- Patch out many of the 'lock' prefixes to nops if uniprocessor.
- Do a wbinvd after patching to ensure that the trace/instruction cache
  is up to date.

Revision 1.42.20.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:17:44 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +2 -1 lines
sync with HEAD

Revision 1.41.16.2: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:26:46 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.41.16.1: preferred, colored; branchpoint 1.41: preferred, colored
Changes since revision 1.41.16.1: +2 -1 lines
sync with head.

Revision 1.42.18.1: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:42:38 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +2 -1 lines
Sync with HEAD.

Follow the merge of pmap.c on i386 and amd64 and move
pmap_init_tmp_pgtbl into arch/x86/x86/pmap.c. Modify the ACPI wakeup
code to restore CR4 before jumping back into kernel space as the large
page option might cover that.

Revision 1.42.24.1: download - view: text, markup, annotated - select for diffs
Thu Oct 25 22:35:53 2007 UTC (17 years, 1 month ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +2 -1 lines
Sync with HEAD.

Revision 1.42.2.1: download - view: text, markup, annotated - select for diffs
Tue Oct 23 20:13:08 2007 UTC (17 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +2 -1 lines
Sync with head.

Revision 1.43: download - view: text, markup, annotated - select for diffs
Thu Oct 18 15:28:37 2007 UTC (17 years, 1 month ago) by yamt
Branches: MAIN
CVS tags: jmcneill-base
Branch point for: mjf-devfs
Diff to: previous 1.42: preferred, colored
Changes since revision 1.42: +2 -1 lines
merge yamt-x86pmap branch.

- reduce differences between amd64 and i386.  notably, share pmap.c
  between them.  it makes several i386 pmap improvements available to
  amd64, including tlb shootdown reduction and bug fixes from Stephan Uphoff.
- implement deferred pmap switching for amd64.
- remove LARGEPAGES option.  always use large pages if available.
  also, make it work on amd64.

Revision 1.42.22.1: download - view: text, markup, annotated - select for diffs
Thu Oct 18 11:23:03 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.42: preferred, colored; next MAIN 1.43: preferred, colored
Changes since revision 1.42: +2 -1 lines
reduce #ifdef.

Revision 1.41.16.1: download - view: text, markup, annotated - select for diffs
Mon Sep 3 14:26:49 2007 UTC (17 years, 3 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +7 -4 lines
sync with head.

Revision 1.41.54.1: download - view: text, markup, annotated - select for diffs
Mon Mar 12 05:48:37 2007 UTC (17 years, 9 months ago) by rmind
Branches: yamt-idlelwp
Diff to: previous 1.41: preferred, colored; next MAIN 1.42: preferred, colored
Changes since revision 1.41: +7 -4 lines
Sync with HEAD.

Revision 1.42: download - view: text, markup, annotated - select for diffs
Fri Mar 2 17:27:26 2007 UTC (17 years, 9 months ago) by ad
Branches: MAIN
CVS tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-idlelwp-base8, vmlocking-base, thorpej-atomic-base, thorpej-atomic, reinoud-bufcleanup, ppcoea-renovation-base, ppcoea-renovation, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-ufs-trans, matt-mips64-base, matt-mips64, hpcarm-cleanup
Branch point for: yamt-x86pmap, vmlocking, matt-armv6, jmcneill-pm, bouyer-xenamd64
Diff to: previous 1.41: preferred, colored
Changes since revision 1.41: +7 -4 lines
Shuffle the descriptor slots slightly to make the layout match what
sysenter/sysexit require. As far as I can tell this will not introduce
any incompatibility.

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

Revision 1.36.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:35:40 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.36.2.1: preferred, colored
Changes since revision 1.36.2.1: +0 -0 lines
Sync with HEAD.

Revision 1.36.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:36:04 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +56 -22 lines
Sync with HEAD

Revision 1.41: download - view: text, markup, annotated - select for diffs
Fri Mar 5 11:33:27 2004 UTC (20 years, 9 months ago) by junyoung
Branches: MAIN
CVS tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, 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-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, 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, yamt-km-base4, yamt-km-base3, yamt-km-base2, yamt-km-base, yamt-km, wrstuden-fixsa-newbase, wrstuden-fixsa-base-1, wrstuden-fixsa-base, wrstuden-fixsa, thorpej-vnode-attr-base, thorpej-vnode-attr, 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, netbsd-3-base, netbsd-3-1-RELEASE, netbsd-3-1-RC4, netbsd-3-1-RC3, netbsd-3-1-RC2, netbsd-3-1-RC1, netbsd-3-1-1-RELEASE, netbsd-3-1, netbsd-3-0-RELEASE, netbsd-3-0-RC6, netbsd-3-0-RC5, netbsd-3-0-RC4, netbsd-3-0-RC3, netbsd-3-0-RC2, netbsd-3-0-RC1, netbsd-3-0-3-RELEASE, netbsd-3-0-2-RELEASE, netbsd-3-0-1-RELEASE, netbsd-3-0, netbsd-3, netbsd-2-base, netbsd-2-1-RELEASE, netbsd-2-1-RC6, netbsd-2-1-RC5, netbsd-2-1-RC4, netbsd-2-1-RC3, netbsd-2-1-RC2, netbsd-2-1-RC1, netbsd-2-1, netbsd-2-0-base, netbsd-2-0-RELEASE, netbsd-2-0-RC5, netbsd-2-0-RC4, netbsd-2-0-RC3, netbsd-2-0-RC2, netbsd-2-0-RC1, netbsd-2-0-3-RELEASE, netbsd-2-0-2-RELEASE, netbsd-2-0-1-RELEASE, netbsd-2-0, netbsd-2, matt-nb4-arm-base, matt-nb4-arm, ktrace-lwp-base, kent-audio2-base, kent-audio2, kent-audio1-beforemerge, kent-audio1-base, kent-audio1, gdamore-uart-base, gdamore-uart, elad-kernelauth-base, elad-kernelauth, chap-midi-nbase, chap-midi-base, chap-midi, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-lazymbuf, yamt-idlelwp
Diff to: previous 1.40: preferred, colored
Changes since revision 1.40: +7 -7 lines
Drop trailing spaces.

Revision 1.40: download - view: text, markup, annotated - select for diffs
Fri Feb 13 11:36:14 2004 UTC (20 years, 10 months ago) by wiz
Branches: MAIN
Diff to: previous 1.39: preferred, colored
Changes since revision 1.39: +2 -2 lines
Uppercase CPU, plural is CPUs.

Revision 1.39: download - view: text, markup, annotated - select for diffs
Mon Oct 27 13:44:20 2003 UTC (21 years, 1 month ago) by junyoung
Branches: MAIN
Diff to: previous 1.38: preferred, colored
Changes since revision 1.38: +12 -12 lines
Nuke __P().

Revision 1.38: download - view: text, markup, annotated - select for diffs
Sun Aug 24 17:52:33 2003 UTC (21 years, 3 months ago) by chs
Branches: MAIN
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +4 -2 lines
add support for non-executable mappings (where the hardware allows this)
and make the stack and heap non-executable by default.  the changes
fall into two basic catagories:

 - pmap and trap-handler changes.  these are all MD:
   = alpha: we already track per-page execute permission with the (software)
	PG_EXEC bit, so just have the trap handler pay attention to it.
   = i386: use a new GDT segment for %cs for processes that have no
	executable mappings above a certain threshold (currently the
	bottom of the stack).  track per-page execute permission with
	the last unused PTE bit.
   = powerpc/ibm4xx: just use the hardware exec bit.
   = powerpc/oea: we already track per-page exec bits, but the hardware only
	implements non-exec mappings at the segment level.  so track the
	number of executable mappings in each segment and turn on the no-exec
	segment bit iff the count is 0.  adjust the trap handler to deal.
   = sparc (sun4m): fix our use of the hardware protection bits.
	fix the trap handler to recognize text faults.
   = sparc64: split the existing unified TSB into data and instruction TSBs,
	and only load TTEs into the appropriate TSB(s) for the permissions.
	fix the trap handler to check for execute permission.
   = not yet implemented: amd64, hppa, sh5

 - changes in all the emulations that put a signal trampoline on the stack.
   instead, we now put the trampoline into a uvm_aobj and map that into
   the process separately.

originally from openbsd, adapted for netbsd by me.

Revision 1.37: download - view: text, markup, annotated - select for diffs
Thu Aug 7 16:28:00 2003 UTC (21 years, 4 months ago) by agc
Branches: MAIN
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +35 -3 lines
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22364, verified by myself.

Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon Mar 3 22:14:18 2003 UTC (21 years, 9 months ago) by fvdl
Branches: MAIN
Branch point for: ktrace-lwp
Diff to: previous 1.35: preferred, colored
Changes since revision 1.35: +3 -2 lines
The IDT only contains gate descriptors, so define it as such.

Revision 1.30.8.4: download - view: text, markup, annotated - select for diffs
Fri Oct 18 02:37:58 2002 UTC (22 years, 1 month ago) by nathanw
Branches: nathanw_sa
CVS tags: nathanw_sa_end
Diff to: previous 1.30.8.3: preferred, colored; branchpoint 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30.8.3: +18 -8 lines
Catch up to -current.

Revision 1.31.2.3: download - view: text, markup, annotated - select for diffs
Thu Oct 10 18:33:30 2002 UTC (22 years, 2 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.31.2.2: preferred, colored; next MAIN 1.32: preferred, colored
Changes since revision 1.31.2.2: +14 -6 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.35: download - view: text, markup, annotated - select for diffs
Sat Oct 5 21:26:24 2002 UTC (22 years, 2 months ago) by fvdl
Branches: MAIN
CVS tags: nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, fvdl_fs64_base
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +5 -3 lines
Change setgate() prototype.
Define GDT entries for DDB and double fault TSS.

Revision 1.34: download - view: text, markup, annotated - select for diffs
Tue Oct 1 12:57:09 2002 UTC (22 years, 2 months ago) by fvdl
Branches: MAIN
CVS tags: kqueue-base
Diff to: previous 1.33: preferred, colored
Changes since revision 1.33: +14 -6 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.30.8.3: download - view: text, markup, annotated - select for diffs
Thu Feb 28 04:10:20 2002 UTC (22 years, 9 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.30.8.2: preferred, colored; branchpoint 1.30: preferred, colored
Changes since revision 1.30.8.2: +26 -15 lines
Catch up to -current.

Revision 1.31.2.2: download - view: text, markup, annotated - select for diffs
Mon Feb 11 20:08:26 2002 UTC (22 years, 10 months ago) by jdolecek
Branches: kqueue
Diff to: previous 1.31.2.1: preferred, colored
Changes since revision 1.31.2.1: +26 -15 lines
Sync w/ -current.

Revision 1.30.2.5: download - view: text, markup, annotated - select for diffs
Mon Jan 28 04:21:40 2002 UTC (22 years, 10 months ago) by sommerfeld
Branches: sommerfeld_i386mp_1
CVS tags: i386mp_plus16_stable
Diff to: previous 1.30.2.4: preferred, colored; branchpoint 1.30: preferred, colored; next MAIN 1.31: preferred, colored
Changes since revision 1.30.2.4: +26 -16 lines
Yet Another mergeup with -current.

Revision 1.33: download - view: text, markup, annotated - select for diffs
Wed Jan 23 15:02:34 2002 UTC (22 years, 10 months ago) by rafal
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.32: preferred, colored
Changes since revision 1.32: +26 -15 lines
Re-arrange GDT entries somewhat so that: (1) I can reserve the 8th entry for
BIOS-bug-avoidance [fixes part of my own port-i386/11299], and (2) lets you
have APM and COMPAT_MACHO in the kernel at the same time.  Also comments on
the special 8th entry and what else changing some of these values affects.

OK'ed by Frank.

Revision 1.30.2.4: download - view: text, markup, annotated - select for diffs
Sat Dec 29 23:31:08 2001 UTC (22 years, 11 months ago) by sommerfeld
Branches: sommerfeld_i386mp_1
Diff to: previous 1.30.2.3: preferred, colored; branchpoint 1.30: preferred, colored
Changes since revision 1.30.2.3: +4 -2 lines
Set up per-cpu GDT.
Use %fs for per-cpu data access.

Revision 1.30.8.2: download - view: text, markup, annotated - select for diffs
Fri Aug 24 00:08:35 2001 UTC (23 years, 3 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.30.8.1: preferred, colored; branchpoint 1.30: preferred, colored
Changes since revision 1.30.8.1: +5 -1 lines
Catch up with -current.

Revision 1.31.2.1: download - view: text, markup, annotated - select for diffs
Fri Aug 3 04:11:46 2001 UTC (23 years, 4 months ago) by lukem
Branches: kqueue
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +5 -1 lines
update to -current

Revision 1.30.2.3: download - view: text, markup, annotated - select for diffs
Thu Jul 19 08:57:30 2001 UTC (23 years, 4 months ago) by sommerfeld
Branches: sommerfeld_i386mp_1
Diff to: previous 1.30.2.2: preferred, colored; branchpoint 1.30: preferred, colored
Changes since revision 1.30.2.2: +4 -0 lines
catch up with -current

Revision 1.32: download - view: text, markup, annotated - select for diffs
Sat Jul 14 02:02:45 2001 UTC (23 years, 5 months ago) by christos
Branches: MAIN
CVS tags: thorpej-mips-cache-base, thorpej-mips-cache, thorpej-devvp-base3, thorpej-devvp-base2, thorpej-devvp-base, thorpej-devvp, pre-chs-ubcperf, post-chs-ubcperf
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +5 -1 lines
Use global descriptor 7 for mach traps. Unfortunately this is already
used by apm 16 bit code segments so we cannot have both at the same time.

Revision 1.30.8.1: download - view: text, markup, annotated - select for diffs
Thu Jun 21 19:25:55 2001 UTC (23 years, 5 months ago) by nathanw
Branches: nathanw_sa
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -2 lines
Catch up to -current.

Revision 1.30.2.2: download - view: text, markup, annotated - select for diffs
Mon Jun 18 03:33:32 2001 UTC (23 years, 5 months ago) by sommerfeld
Branches: sommerfeld_i386mp_1
Diff to: previous 1.30.2.1: preferred, colored; branchpoint 1.30: preferred, colored
Changes since revision 1.30.2.1: +2 -2 lines
checkpoint merge-in-progress from mainline.

Revision 1.31: download - view: text, markup, annotated - select for diffs
Wed May 30 12:28:45 2001 UTC (23 years, 6 months ago) by mrg
Branches: MAIN
Branch point for: kqueue
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +2 -2 lines
use _KERNEL_OPT

Revision 1.29.12.1: download - view: text, markup, annotated - select for diffs
Mon Nov 20 20:09:30 2000 UTC (24 years ago) by bouyer
Branches: thorpej_scsipi
Diff to: previous 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +6 -2 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.30.2.1: download - view: text, markup, annotated - select for diffs
Sun Feb 20 17:44:43 2000 UTC (24 years, 9 months ago) by sommerfeld
Branches: sommerfeld_i386mp_1
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +8 -1 lines
Include functions for allocation and freeing of IDT slots.

Revision 1.29.18.1: download - view: text, markup, annotated - select for diffs
Mon Dec 27 18:32:23 1999 UTC (24 years, 11 months ago) by wrstuden
Branches: wrstuden-devbsize
Diff to: previous 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +6 -2 lines
Pull up to last week's -current.

Revision 1.29.14.1: download - view: text, markup, annotated - select for diffs
Mon Nov 15 00:38:07 1999 UTC (25 years, 1 month ago) by fvdl
Branches: fvdl-softdep
Diff to: previous 1.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +6 -2 lines
Sync with -current

Revision 1.30: download - view: text, markup, annotated - select for diffs
Fri Nov 12 18:37:29 1999 UTC (25 years, 1 month ago) by drochner
Branches: MAIN
CVS tags: wrstuden-devbsize-base, wrstuden-devbsize-19991221, thorpej_scsipi_nbase, thorpej_scsipi_beforemerge, thorpej_scsipi_base, sommerfeld_i386mpbase_20000422, sommerfeld_i386mp_houseclean, netbsd-1-5-base, netbsd-1-5-RELEASE, netbsd-1-5-PATCH003, netbsd-1-5-PATCH002, netbsd-1-5-PATCH001, netbsd-1-5-BETA2, netbsd-1-5-BETA, netbsd-1-5-ALPHA2, netbsd-1-5, minoura-xpg4dl-base, minoura-xpg4dl, fvdl-softdep-base, chs-ubc2-newbase
Branch point for: sommerfeld_i386mp_1, nathanw_sa
Diff to: previous 1.29: preferred, colored
Changes since revision 1.29: +6 -2 lines
add GDT segments for pnpbios use

Revision 1.25.14.2: download - view: text, markup, annotated - select for diffs
Sat Oct 17 22:14:52 1998 UTC (26 years, 2 months ago) by cgd
Branches: netbsd-1-3
CVS tags: netbsd-1-3-PATCH003-CANDIDATE2, netbsd-1-3-PATCH003-CANDIDATE1, netbsd-1-3-PATCH003-CANDIDATE0, netbsd-1-3-PATCH003
Diff to: previous 1.25.14.1: preferred, colored; branchpoint 1.25: preferred, colored; next MAIN 1.26: preferred, colored
Changes since revision 1.25.14.1: +2 -1 lines
pull up rev 1.29 from trunk (christos)

Revision 1.29: download - view: text, markup, annotated - select for diffs
Sat Oct 3 18:05:25 1998 UTC (26 years, 2 months ago) by christos
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, kenh-if-detach-base, kenh-if-detach, kame_14_19990705, kame_14_19990628, kame_141_19991130, kame, comdex-fall-1999-base, comdex-fall-1999, chs-ubc2-base, chs-ubc2, chs-ubc-base, chs-ubc
Branch point for: wrstuden-devbsize, thorpej_scsipi, fvdl-softdep
Diff to: previous 1.28: preferred, colored
Changes since revision 1.28: +2 -1 lines
Add an LDT for Solaris-2.6 syscalls [from Frank]

Revision 1.28: download - view: text, markup, annotated - select for diffs
Fri Jan 23 00:44:11 1998 UTC (26 years, 10 months ago) by mycroft
Branches: MAIN
CVS tags: eeh-paddr_t-base, eeh-paddr_t
Diff to: previous 1.27: preferred, colored
Changes since revision 1.27: +2 -4 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.27: download - view: text, markup, annotated - select for diffs
Thu Jan 15 22:26:04 1998 UTC (26 years, 11 months ago) by thorpej
Branches: MAIN
Diff to: previous 1.26: preferred, colored
Changes since revision 1.26: +5 -1 lines
Generate dependencies on the VM86 option.

Revision 1.25.14.1: download - view: text, markup, annotated - select for diffs
Thu Nov 13 08:10:04 1997 UTC (27 years, 1 month ago) by mellon
Branches: netbsd-1-3
CVS tags: netbsd-1-3-RELEASE, netbsd-1-3-PATCH002, netbsd-1-3-PATCH001, netbsd-1-3-BETA
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +6 -4 lines
Pull rev 1.26 up from trunk (mycroft)

Revision 1.26: download - view: text, markup, annotated - select for diffs
Thu Nov 13 03:16:53 1997 UTC (27 years, 1 month ago) by mycroft
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +6 -4 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.25: download - view: text, markup, annotated - select for diffs
Sun Sep 8 15:46:09 1996 UTC (28 years, 3 months ago) by jtk
Branches: MAIN
CVS tags: thorpej-signal-base, thorpej-signal, thorpej-setroot, netbsd-1-3-base, mrg-vm-swap, marc-pcmcia-bp, marc-pcmcia-base, marc-pcmcia, is-newarp-before-merge, is-newarp-base, is-newarp, bouyer-scsipi
Branch point for: netbsd-1-3
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +3 -1 lines
change APM to use new almost-generalized BIOS trampoline:

/*
 * void bioscall(int function, struct apmregs *regs):
 * 	call the BIOS interrupt "function" from real mode with
 *	registers as specified in "regs"
 *	(for the flags, though, only these flags are passed to the BIOS;
 *	the remainder come from the flags register at the time of the call:
 *	(PSL_C|PSL_PF|PSL_AF|PSL_Z|PSL_N|PSL_D|PSL_V)
 *
 *	Fills in *regs with registers as returned by BIOS.
 */

Thanks to Charles Hannum for complaining and inspiring me to hack this
together.

Revision 1.24: download - view: text, markup, annotated - select for diffs
Sun Aug 25 23:39:54 1996 UTC (28 years, 3 months ago) by jtk
Branches: MAIN
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +5 -2 lines
add Advanced Power Management driver
Includes bootstrap support from FreeBSD (Tatsumi HOSOKAWA and <ukai>)

Revision 1.23: download - view: text, markup, annotated - select for diffs
Thu Feb 1 22:31:03 1996 UTC (28 years, 10 months ago) by mycroft
Branches: MAIN
CVS tags: netbsd-1-2-base, netbsd-1-2-RELEASE, netbsd-1-2-PATCH001, netbsd-1-2-BETA, netbsd-1-2
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +3 -3 lines
LOCORE -> _LOCORE

Revision 1.22: download - view: text, markup, annotated - select for diffs
Wed Dec 20 18:09:24 1995 UTC (28 years, 11 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +3 -3 lines
Use #pragma only for 2.0 <= GCC < 2.7.

Revision 1.21: download - view: text, markup, annotated - select for diffs
Wed Dec 20 17:58:55 1995 UTC (28 years, 11 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +5 -5 lines
Use alternate structure packing method added in GCC 2.7.

Revision 1.20.2.2: download - view: text, markup, annotated - select for diffs
Thu Oct 12 17:57:02 1995 UTC (29 years, 2 months ago) by mycroft
Branches: netbsd-1-1
Diff to: previous 1.20.2.1: preferred, colored; branchpoint 1.20: preferred, colored; next MAIN 1.21: preferred, colored
Changes since revision 1.20.2.1: +232 -0 lines
Move the initialization of proc0's TSS and LDT to the end of cpu_startup(),
and switch to dynamically allocating the TSS.

Revision 1.20.2.1
Thu Oct 12 17:57:01 1995 UTC (29 years, 2 months ago) by mycroft
Branches: netbsd-1-1
FILE REMOVED
Changes since revision 1.20: +0 -232 lines
file segments.h was added on branch netbsd-1-1 on 1995-10-12 17:57:02 +0000

Revision 1.20: download - view: text, markup, annotated - select for diffs
Thu Oct 12 17:57:01 1995 UTC (29 years, 2 months ago) by mycroft
Branches: MAIN
CVS tags: netbsd-1-1-base, netbsd-1-1-RELEASE, netbsd-1-1-PATCH001
Branch point for: netbsd-1-1
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +3 -4 lines
Move the initialization of proc0's TSS and LDT to the end of cpu_startup(),
and switch to dynamically allocating the TSS.

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

Revision 1.18: download - view: text, markup, annotated - select for diffs
Wed Oct 11 06:24:28 1995 UTC (29 years, 2 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.17: preferred, colored
Changes since revision 1.17: +1 -2 lines
Remove reference to dead variable.

Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Oct 11 04:20:25 1995 UTC (29 years, 2 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +4 -6 lines
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.

Revision 1.16: download - view: text, markup, annotated - select for diffs
Tue Oct 10 04:45:57 1995 UTC (29 years, 2 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +9 -1 lines
Add USERMODE() and KERNELMODE() macros, and use them.

Revision 1.15: download - view: text, markup, annotated - select for diffs
Mon Oct 9 06:34:41 1995 UTC (29 years, 2 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +7 -22 lines
Eliminate soft segment descriptors; instead use a functional interface for
creating segment descriptors.  Add the duplicate system call gate used by
BSD/OS 2.0 executables.  Prototype setsegment() and setgate(), and fix a bogon
caught by this.

Revision 1.14: download - view: text, markup, annotated - select for diffs
Sat May 6 20:30:18 1995 UTC (29 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +7 -5 lines
Add a copy of the user code and data descriptors in the GDT.

Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu May 4 05:37:39 1995 UTC (29 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +3 -3 lines
Wrap NGDT and NLDT in parens.

Revision 1.12: download - view: text, markup, annotated - select for diffs
Mon May 1 07:37:43 1995 UTC (29 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +73 -75 lines
Make this includable from locore.  Remove unused GDT and LDT slots.

Revision 1.11: download - view: text, markup, annotated - select for diffs
Mon May 1 04:49:51 1995 UTC (29 years, 7 months ago) by mycroft
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +3 -3 lines
Expose idt[] here.

Revision 1.10: download - view: text, markup, annotated - select for diffs
Tue Mar 28 18:17:18 1995 UTC (29 years, 8 months ago) by jtc
Branches: MAIN
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +2 -2 lines
KERNEL -> _KERNEL

Revision 1.9: download - view: text, markup, annotated - select for diffs
Tue Nov 8 23:09:24 1994 UTC (30 years, 1 month ago) by mycroft
Branches: MAIN
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +6 -1 lines
pcb.h requires segments.h now.

Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Nov 5 03:20:36 1994 UTC (30 years, 1 month ago) by mycroft
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +3 -3 lines
Fully prototype ssdtosd() and sdtossd().

Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Oct 27 04:16:24 1994 UTC (30 years, 1 month ago) by cgd
Branches: MAIN
CVS tags: before_newconf_base
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +3 -2 lines
new RCS ID format.

Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Apr 3 18:53:53 1994 UTC (30 years, 8 months ago) by mycroft
Branches: MAIN
CVS tags: netbsd-1-0-base, netbsd-1-0-RELEASE, netbsd-1-0-PATCH1, netbsd-1-0-PATCH06, netbsd-1-0-PATCH05, netbsd-1-0-PATCH04, netbsd-1-0-PATCH03, netbsd-1-0-PATCH02, netbsd-1-0-PATCH0, netbsd-1-0
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +40 -43 lines
Clean this up a little.

Revision 1.5.2.2: download - view: text, markup, annotated - select for diffs
Mon Dec 20 05:25:44 1993 UTC (30 years, 11 months ago) by mycroft
Branches: magnum
Diff to: previous 1.5.2.1: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.2.1: +238 -0 lines
Cleanup and garbage collection; nothing significant.  From magnum branch.

Revision 1.5.2.1
Mon Dec 20 05:25:43 1993 UTC (30 years, 11 months ago) by mycroft
Branches: magnum
FILE REMOVED
Changes since revision 1.5: +0 -238 lines
file segments.h was added on branch magnum on 1993-12-20 05:25:44 +0000

Revision 1.5: download - view: text, markup, annotated - select for diffs
Mon Dec 20 05:25:43 1993 UTC (30 years, 11 months ago) by mycroft
Branches: MAIN
CVS tags: magnum-base
Branch point for: magnum
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +4 -5 lines
Cleanup and garbage collection; nothing significant.  From magnum branch.

Revision 1.3.4.1: download - view: text, markup, annotated - select for diffs
Tue Oct 26 16:45:21 1993 UTC (31 years, 1 month ago) by mycroft
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +36 -3 lines
Merge changes from trunk.

Revision 1.4: download - view: text, markup, annotated - select for diffs
Tue Oct 26 15:53:54 1993 UTC (31 years, 1 month ago) by brezak
Branches: MAIN
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +37 -3 lines
Cleanup LDT/GDT defines

Revision 1.3: download - view: text, markup, annotated - select for diffs
Sat May 22 08:00:37 1993 UTC (31 years, 6 months ago) by cgd
Branches: MAIN
CVS tags: netbsd-0-9-patch-001, netbsd-0-9-base, netbsd-0-9-RELEASE, netbsd-0-9-BETA, netbsd-0-9-ALPHA2, netbsd-0-9-ALPHA, netbsd-0-9
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +2 -1 lines
add rcsids to everything and clean up headers

Revision 1.2: download - view: text, markup, annotated - select for diffs
Sat Apr 3 02:16:39 1993 UTC (31 years, 8 months ago) by cgd
Branches: MAIN
CVS tags: netbsd-alpha-1, netbsd-0-8
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +8 -0 lines
added changes from Steven Reiz <sreiz@aie.nl> (based on
those by Poul-Henning Kamp <phk@data.fls.dk>) to get the kernel
to compile properly when gcc2.* is cc.  (should still work
when gcc1.39 is in use.)

Revision 1.1.1.1 (vendor branch): download - view: text, markup, annotated - select for diffs
Sun Mar 21 09:45:37 1993 UTC (31 years, 8 months ago) by cgd
Branches: WFJ-920714
CVS tags: patchkit-0-2-2, WFJ-386bsd-01
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +0 -0 lines
initial import of 386bsd-0.1 sources

Revision 1.1: download - view: text, markup, annotated - select for diffs
Sun Mar 21 09:45:37 1993 UTC (31 years, 8 months ago) by cgd
Branches: MAIN
Initial revision

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>