CVS log for src/sys/arch/amd64/include/segments.h
Up to [cvs.NetBSD.org] / src / sys / arch / amd64 / include
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.38: download - view: text, markup, annotated - select for diffs
Sat Apr 17 20:12:55 2021 UTC (3 years, 7 months ago) by rillig
Branches: MAIN
CVS tags: thorpej-ifq-base,
thorpej-ifq,
thorpej-i2c-spi-conf2-base,
thorpej-i2c-spi-conf2,
thorpej-i2c-spi-conf-base,
thorpej-i2c-spi-conf,
thorpej-futex2-base,
thorpej-futex2,
thorpej-cfargs2-base,
thorpej-cfargs2,
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,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
HEAD
Diff to: previous 1.37: preferred, colored
Changes since revision 1.37: +2 -2
lines
sys/arch/amd64: remove trailing whitespace
Revision 1.37: download - view: text, markup, annotated - select for diffs
Tue Jul 14 00:45:52 2020 UTC (4 years, 4 months ago) by yamaguchi
Branches: MAIN
CVS tags: thorpej-futex-base,
thorpej-futex,
thorpej-cfargs-base,
thorpej-cfargs
Diff to: previous 1.36: preferred, colored
Changes since revision 1.36: +9 -8
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.34.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:05:47 2019 UTC (5 years, 5 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34: +11 -8
lines
Sync with HEAD
Revision 1.36: download - view: text, markup, annotated - select for diffs
Mon Feb 11 14:59:32 2019 UTC (5 years, 9 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.35: preferred, colored
Changes since revision 1.35: +6 -6
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.34.2.1: download - view: text, markup, annotated - select for diffs
Sun Sep 30 01:45:36 2018 UTC (6 years, 2 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.34: preferred, colored; next MAIN 1.35: preferred, colored
Changes since revision 1.34: +7 -4
lines
Ssync with HEAD
Revision 1.35: 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
CVS tags: pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930
Diff to: previous 1.34: preferred, colored
Changes since revision 1.34: +7 -4
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.22.14.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.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +7 -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.22.16.1: download - view: text, markup, annotated - select for diffs
Mon Feb 19 20:54:52 2018 UTC (6 years, 9 months ago) by snj
Branches: netbsd-6-1
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +7 -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.22.10.1: download - view: text, markup, annotated - select for diffs
Mon Feb 19 20:54:37 2018 UTC (6 years, 9 months ago) by snj
Branches: netbsd-6
Diff to: previous 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22: +7 -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.24.12.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.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +7 -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.24.22.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.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +7 -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.24.16.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.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +7 -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.29.6.1: download - view: text, markup, annotated - select for diffs
Mon Jan 1 19:09:03 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.29: preferred, colored; next MAIN 1.30: preferred, colored
Changes since revision 1.29: +7 -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.34: 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.33: preferred, colored
Changes since revision 1.33: +6 -0
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.23.2.2: download - view: text, markup, annotated - select for diffs
Sun Dec 3 11:35:47 2017 UTC (7 years ago) by jdolecek
Branches: tls-maxphys
Diff to: previous 1.23.2.1: preferred, colored; branchpoint 1.23: preferred, colored; next MAIN 1.24: preferred, colored
Changes since revision 1.23.2.1: +119 -150
lines
update from HEAD
Revision 1.33: 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.32: preferred, colored
Changes since revision 1.32: +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.32: download - view: text, markup, annotated - select for diffs
Wed Nov 1 07:14:29 2017 UTC (7 years, 1 month ago) by maxv
Branches: MAIN
Diff to: previous 1.31: preferred, colored
Changes since revision 1.31: +5 -32
lines
Remove unused macros and LDT entries.
Revision 1.31: download - view: text, markup, annotated - select for diffs
Sun Oct 15 12:49:53 2017 UTC (7 years, 1 month ago) by maxv
Branches: MAIN
Diff to: previous 1.30: preferred, colored
Changes since revision 1.30: +3 -2
lines
Use two separate functions: cpu_segregs32_zero and cpu_segregs64_zero. The
way segment registers work on amd64 will diverge between 32bit and 64bit
LWPs.
Revision 1.30: 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.29: preferred, colored
Changes since revision 1.29: +4 -4
lines
Remove the second argument from USERMODE and KERNELMODE, it is unused
now that we don't have vm86 anymore.
Revision 1.24.14.2: download - view: text, markup, annotated - select for diffs
Mon Aug 28 17:51:28 2017 UTC (7 years, 3 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.24.14.1: preferred, colored; branchpoint 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24.14.1: +2 -4
lines
Sync with HEAD
Revision 1.28.2.1: download - view: text, markup, annotated - select for diffs
Fri Apr 21 16:53:22 2017 UTC (7 years, 7 months ago) by bouyer
Branches: bouyer-socketcan
Diff to: previous 1.28: preferred, colored; next MAIN 1.29: preferred, colored
Changes since revision 1.28: +2 -4
lines
Sync with HEAD
Revision 1.24.18.1: download - view: text, markup, annotated - select for diffs
Mon Mar 20 06:57:10 2017 UTC (7 years, 8 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.24: preferred, colored; next MAIN 1.25: preferred, colored
Changes since revision 1.24: +2 -4
lines
Sync with HEAD
Revision 1.29: download - view: text, markup, annotated - select for diffs
Sun Feb 5 08:58:39 2017 UTC (7 years, 9 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,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
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.28: preferred, colored
Changes since revision 1.28: +2 -4
lines
Remove misleading comment; these macros should not be used if a user LDT
is active.
Revision 1.24.14.1: download - view: text, markup, annotated - select for diffs
Wed Oct 5 20:55:23 2016 UTC (8 years, 2 months ago) by skrll
Branches: nick-nhusb
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +113 -116
lines
Sync with HEAD
Revision 1.28: download - view: text, markup, annotated - select for diffs
Fri Sep 2 08:52:12 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.27: preferred, colored
Changes since revision 1.27: +7 -9
lines
Give the structure sizes.
Revision 1.27: 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.26: preferred, colored
Changes since revision 1.26: +0 -1
lines
Remove idt_init.
Revision 1.26: download - view: text, markup, annotated - select for diffs
Sat Aug 27 14:12:58 2016 UTC (8 years, 3 months ago) by maxv
Branches: MAIN
Diff to: previous 1.25: preferred, colored
Changes since revision 1.25: +2 -2
lines
Rename this value, and use it.
Revision 1.25: download - view: text, markup, annotated - select for diffs
Sun Aug 21 11:48:59 2016 UTC (8 years, 3 months ago) by maxv
Branches: MAIN
Diff to: previous 1.24: preferred, colored
Changes since revision 1.24: +107 -107
lines
KNF, and typo.
Revision 1.23.2.1: download - view: text, markup, annotated - select for diffs
Mon Feb 25 00:28:20 2013 UTC (11 years, 9 months ago) by tls
Branches: tls-maxphys
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +8 -5
lines
resync with head
Revision 1.22.4.2: download - view: text, markup, annotated - select for diffs
Wed Jan 23 00:05:38 2013 UTC (11 years, 10 months ago) by yamt
Branches: yamt-pagecache
CVS tags: yamt-pagecache-tag8
Diff to: previous 1.22.4.1: preferred, colored; branchpoint 1.22: preferred, colored; next MAIN 1.23: preferred, colored
Changes since revision 1.22.4.1: +8 -5
lines
sync with head
Revision 1.24: download - view: text, markup, annotated - select for diffs
Mon Jan 7 17:03:06 2013 UTC (11 years, 10 months ago) by chs
Branches: MAIN
CVS tags: yamt-pagecache-base9,
yamt-pagecache-base8,
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-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,
khorben-n900,
agc-symver-base,
agc-symver
Branch point for: pgoyette-localcount,
nick-nhusb,
netbsd-7-1,
netbsd-7-0,
netbsd-7
Diff to: previous 1.23: preferred, colored
Changes since revision 1.23: +8 -5
lines
rearrange the LDT entries so that (32-bit) COMPAT_10 binaries work again.
in long mode, call gates use two slots, so the first entry (a call gate)
would overlap the second one (the 32-bit user code descriptor).
Revision 1.22.4.1: download - view: text, markup, annotated - select for diffs
Tue Oct 30 17:18:45 2012 UTC (12 years, 1 month ago) by yamt
Branches: yamt-pagecache
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +1 -3
lines
sync with head
Revision 1.23: download - view: text, markup, annotated - select for diffs
Sat Jun 16 20:47:04 2012 UTC (12 years, 5 months ago) by dsl
Branches: MAIN
CVS tags: yamt-pagecache-base7,
yamt-pagecache-base6
Branch point for: tls-maxphys
Diff to: previous 1.22: preferred, colored
Changes since revision 1.22: +1 -3
lines
memseg_baseaddr() is only called from valid_user_selector() and
both only locally.
Make static, remove one of the functions, and remove the never-set args.
Code is still very dubious.
Revision 1.21.2.1: download - view: text, markup, annotated - select for diffs
Mon Jun 6 09:04:51 2011 UTC (13 years, 6 months ago) by jruoho
Branches: jruoho-x86intr
Diff to: previous 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21: +5 -1
lines
Sync with HEAD.
Revision 1.19.12.1: download - view: text, markup, annotated - select for diffs
Fri May 20 08:11:19 2011 UTC (13 years, 6 months ago) by matt
Branches: matt-nb5-mips64
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +1 -3
lines
bring matt-nb5-mips64 up to date with netbsd-5-1-RELEASE (except compat).
Revision 1.19.8.2: download - view: text, markup, annotated - select for diffs
Mon Mar 28 23:04:36 2011 UTC (13 years, 8 months ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.19.8.1: preferred, colored; branchpoint 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19.8.1: +5 -1
lines
Sync with HEAD. TODO before merge:
- shortcut for suspend code in sysmon, when powerd(8) is not running.
Borrow ``xs_watch'' thread context?
- bug hunting in xbd + xennet resume. Rings are currently thrashed upon
resume, so current implementation force flush them on suspend. It's not
really needed.
Revision 1.19.16.1: download - view: text, markup, annotated - select for diffs
Sat Mar 5 20:49:17 2011 UTC (13 years, 9 months ago) by rmind
Branches: rmind-uvmplock
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +20 -5
lines
sync with head
Revision 1.21.4.1: download - view: text, markup, annotated - select for diffs
Tue Feb 8 16:19:11 2011 UTC (13 years, 9 months ago) by bouyer
Branches: bouyer-quota2
Diff to: previous 1.21: preferred, colored; next MAIN 1.22: preferred, colored
Changes since revision 1.21: +5 -1
lines
Sync with HEAD
Revision 1.22: download - view: text, markup, annotated - select for diffs
Mon Feb 7 03:54:45 2011 UTC (13 years, 10 months ago) by chs
Branches: MAIN
CVS tags: yamt-pagecache-base5,
yamt-pagecache-base4,
yamt-pagecache-base3,
yamt-pagecache-base2,
yamt-pagecache-base,
uebayasi-xip-base7,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
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,
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,
bouyer-quota2-nbase,
bouyer-quota2-base
Branch point for: yamt-pagecache,
netbsd-6-1,
netbsd-6-0,
netbsd-6
Diff to: previous 1.21: preferred, colored
Changes since revision 1.21: +5 -1
lines
move macros for validating fs/gs to segments.h and use them
in the linux32 code as well.
Revision 1.19.8.1: download - view: text, markup, annotated - select for diffs
Sun Oct 24 22:47:53 2010 UTC (14 years, 1 month ago) by jym
Branches: jym-xensuspend
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +16 -5
lines
Sync with HEAD
Revision 1.19.14.2: download - view: text, markup, annotated - select for diffs
Fri Oct 22 07:20:58 2010 UTC (14 years, 1 month ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.19.14.1: preferred, colored; branchpoint 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19.14.1: +0 -2
lines
Sync with HEAD (-D20101022).
Revision 1.18.2.3: download - view: text, markup, annotated - select for diffs
Sat Oct 9 03:31:38 2010 UTC (14 years, 1 month ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.18.2.2: preferred, colored; branchpoint 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18.2.2: +1 -3
lines
sync with head
Revision 1.19.10.1: download - view: text, markup, annotated - select for diffs
Tue Sep 7 19:38:45 2010 UTC (14 years, 3 months ago) by bouyer
Branches: netbsd-5-0
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +1 -3
lines
Pull up following revision(s) (requested by chs in ticket #1449):
sys/arch/amd64/amd64/netbsd32_machdep.c: revisions 1.66, 1.67
sys/arch/amd64/include/segments.h: revision 1.21
in check_mcontext32(), accept the LDT selector for 32-bit user code
as well as the GDT selector. fixes PR 43835.
accept the LDT selector in check_sigcontext32() too.
Revision 1.19.4.1: download - view: text, markup, annotated - select for diffs
Tue Sep 7 19:38:21 2010 UTC (14 years, 3 months ago) by bouyer
Branches: netbsd-5
CVS tags: netbsd-5-2-RELEASE,
netbsd-5-2-RC1,
netbsd-5-2-3-RELEASE,
netbsd-5-2-2-RELEASE,
netbsd-5-2-1-RELEASE,
netbsd-5-2,
netbsd-5-1-RELEASE,
netbsd-5-1-RC4,
netbsd-5-1-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,
matt-nb5-pq3-base,
matt-nb5-pq3
Diff to: previous 1.19: preferred, colored; next MAIN 1.20: preferred, colored
Changes since revision 1.19: +1 -3
lines
Pull up following revision(s) (requested by chs in ticket #1449):
sys/arch/amd64/amd64/netbsd32_machdep.c: revisions 1.66, 1.67
sys/arch/amd64/include/segments.h: revision 1.21
in check_mcontext32(), accept the LDT selector for 32-bit user code
as well as the GDT selector. fixes PR 43835.
accept the LDT selector in check_sigcontext32() too.
Revision 1.21: download - view: text, markup, annotated - select for diffs
Sun Sep 5 20:14:40 2010 UTC (14 years, 3 months ago) by chs
Branches: MAIN
CVS tags: yamt-nfs-mp-base11,
uebayasi-xip-base6,
uebayasi-xip-base5,
uebayasi-xip-base4,
uebayasi-xip-base3,
matt-mips64-premerge-20101231,
jruoho-x86intr-base
Branch point for: jruoho-x86intr,
bouyer-quota2
Diff to: previous 1.20: preferred, colored
Changes since revision 1.20: +1 -3
lines
in check_mcontext32(), accept the LDT selector for 32-bit user code
as well as the GDT selector. fixes PR 43835.
Revision 1.19.14.1: download - view: text, markup, annotated - select for diffs
Tue Aug 17 06:43:54 2010 UTC (14 years, 3 months ago) by uebayasi
Branches: uebayasi-xip
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +16 -3
lines
Sync with HEAD.
Revision 1.18.2.2: download - view: text, markup, annotated - select for diffs
Wed Aug 11 22:51:34 2010 UTC (14 years, 3 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.18.2.1: preferred, colored; branchpoint 1.18: preferred, colored
Changes since revision 1.18.2.1: +16 -3
lines
sync with head.
Revision 1.20: download - view: text, markup, annotated - select for diffs
Wed Jul 7 01:14:52 2010 UTC (14 years, 5 months ago) by chs
Branches: MAIN
CVS tags: yamt-nfs-mp-base10,
uebayasi-xip-base2
Diff to: previous 1.19: preferred, colored
Changes since revision 1.19: +16 -3
lines
add the guts of TLS support on amd64. based on joerg's patch,
reworked by me to support 32-bit processes as well.
we now keep %fs and %gs loaded with the user values
while in the kernel, which means we don't need to
reload them when returning to user mode.
Revision 1.18.2.1: download - view: text, markup, annotated - select for diffs
Mon May 4 08:10:33 2009 UTC (15 years, 7 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +10 -1
lines
sync with head.
Revision 1.16.6.2: download - view: text, markup, annotated - select for diffs
Sat Jan 17 13:27:49 2009 UTC (15 years, 10 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.16.6.1: preferred, colored; branchpoint 1.16: preferred, colored; next MAIN 1.17: preferred, colored
Changes since revision 1.16.6.1: +9 -0
lines
Sync with HEAD.
Revision 1.18.8.1: download - view: text, markup, annotated - select for diffs
Sat Dec 13 01:12:59 2008 UTC (15 years, 11 months ago) by haad
Branches: haad-dm
Diff to: previous 1.18: preferred, colored; next MAIN 1.19: preferred, colored
Changes since revision 1.18: +10 -1
lines
Update haad-dm branch to haad-dm-base2.
Revision 1.19: download - view: text, markup, annotated - select for diffs
Sun Oct 26 00:08:15 2008 UTC (16 years, 1 month ago) by mrg
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-base4,
yamt-nfs-mp-base3,
uebayasi-xip-base1,
uebayasi-xip-base,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
nick-hppapmap,
netbsd-5-base,
netbsd-5-1-RC3,
netbsd-5-1-RC2,
netbsd-5-1-RC1,
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,
mjf-devfs2-base,
matt-premerge-20091211,
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-nb4-mips64-k7-u2a-k9b,
jymxensuspend-base,
haad-nbase2,
haad-dm-base2,
haad-dm-base,
ad-audiomp2-base,
ad-audiomp2
Branch point for: uebayasi-xip,
rmind-uvmplock,
netbsd-5-0,
netbsd-5,
matt-nb5-mips64,
jym-xensuspend
Diff to: previous 1.18: preferred, colored
Changes since revision 1.18: +10 -1
lines
put the contents of these header files around #ifdef __x86_64__, and
#include the <i386/foo.h> in the #else clause, making these files
largely bit-size independant.
Revision 1.16.6.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:21:49 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +29 -27
lines
Sync with HEAD.
Revision 1.17.2.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:31:28 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.17: preferred, colored; next MAIN 1.18: preferred, colored
Changes since revision 1.17: +4 -2
lines
sync with head.
Revision 1.18: 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.17: preferred, colored
Changes since revision 1.17: +4 -2
lines
idt_* are not implemented for Xen. So don't provide the prototypes for Xen.
Revision 1.17: download - view: text, markup, annotated - select for diffs
Wed Apr 16 21:51:03 2008 UTC (16 years, 7 months ago) by cegger
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base
Branch point for: yamt-pf42
Diff to: previous 1.16: preferred, colored
Changes since revision 1.16: +27 -27
lines
use POSIX integer types
Revision 1.10.2.2: download - view: text, markup, annotated - select for diffs
Mon Feb 18 21:04:21 2008 UTC (16 years, 9 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.10.2.1: preferred, colored; branchpoint 1.10: preferred, colored; next MAIN 1.11: preferred, colored
Changes since revision 1.10.2.1: +9 -6
lines
Sync with HEAD.
Revision 1.5.2.4: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:35:25 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.5.2.3: preferred, colored; branchpoint 1.5: preferred, colored; next MAIN 1.6: preferred, colored
Changes since revision 1.5.2.3: +9 -6
lines
sync with head
Revision 1.7.32.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:44:55 2008 UTC (16 years, 10 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.7.32.1: preferred, colored; branchpoint 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.32.1: +29 -6
lines
sync with HEAD
Revision 1.14.6.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:47:10 2008 UTC (16 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +9 -6
lines
Sync with HEAD
Revision 1.14.2.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 19:41:59 2007 UTC (16 years, 11 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.14: preferred, colored; next MAIN 1.15: preferred, colored
Changes since revision 1.14: +9 -6
lines
Sync with head.
Revision 1.16: download - view: text, markup, annotated - select for diffs
Wed Dec 26 11:51:12 2007 UTC (16 years, 11 months ago) by yamt
Branches: MAIN
CVS tags: yamt-lazymbuf-base15,
yamt-lazymbuf-base14,
vmlocking2-base3,
nick-net80211-sync-base,
nick-net80211-sync,
mjf-devfs-base,
matt-armv6-nbase,
matt-armv6-base,
keiichi-mipv6-nbase,
keiichi-mipv6-base,
keiichi-mipv6,
hpcarm-cleanup-base,
bouyer-xeni386-nbase,
bouyer-xeni386-base,
ad-socklock-base1
Branch point for: mjf-devfs2
Diff to: previous 1.15: preferred, colored
Changes since revision 1.15: +4 -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.15: download - view: text, markup, annotated - select for diffs
Tue Dec 25 18:33:32 2007 UTC (16 years, 11 months ago) by perry
Branches: MAIN
Diff to: previous 1.14: preferred, colored
Changes since revision 1.14: +6 -6
lines
Convert many of the uses of __attribute__ to equivalent
__packed, __unused and __dead macros from cdefs.h
Revision 1.10.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 8 18:16:30 2007 UTC (17 years ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +21 -1
lines
Sync with HEAD.
Revision 1.5.2.3: download - view: text, markup, annotated - select for diffs
Fri Dec 7 17:24:06 2007 UTC (17 years ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.5.2.2: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.2.2: +21 -1
lines
sync with head
Revision 1.7.12.3: download - view: text, markup, annotated - select for diffs
Mon Dec 3 18:34:43 2007 UTC (17 years ago) by ad
Branches: vmlocking
Diff to: previous 1.7.12.2: preferred, colored; branchpoint 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.12.2: +21 -1
lines
Sync with HEAD.
Revision 1.7.30.3: download - view: text, markup, annotated - select for diffs
Tue Nov 27 19:35:34 2007 UTC (17 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.7.30.2: preferred, colored; branchpoint 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.30.2: +21 -1
lines
Sync with HEAD. amd64 Xen support needs testing.
Revision 1.14: download - view: text, markup, annotated - select for diffs
Fri Nov 23 15:38:06 2007 UTC (17 years ago) by bouyer
Branches: MAIN
CVS tags: yamt-kmem-base3,
yamt-kmem-base2,
yamt-kmem-base,
yamt-kmem,
vmlocking2-base2,
vmlocking2-base1,
vmlocking-nbase,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
jmcneill-pm-base,
cube-autoconf-base,
cube-autoconf
Branch point for: vmlocking2,
bouyer-xeni386
Diff to: previous 1.13: preferred, colored
Changes since revision 1.13: +2 -2
lines
Include opt_xen.h #ifdef _KERNEL_OPT instead of custom logic.
Thanks to Izumi Tsutsui for pointing me at _KERNEL_OPT
Revision 1.13: download - view: text, markup, annotated - select for diffs
Thu Nov 22 21:21:14 2007 UTC (17 years ago) by bouyer
Branches: MAIN
Diff to: previous 1.12: preferred, colored
Changes since revision 1.12: +2 -2
lines
Fix bouyer-xenamd64 merge fallout:
we can #include "opt_xen.h" when
#if defined(_KERNEL) && !defined(_RUMPKERNEL) && !defined(_LKM),
#ifdef _KERNEL isn't enough.
Revision 1.12: download - view: text, markup, annotated - select for diffs
Thu Nov 22 17:38:34 2007 UTC (17 years ago) by bouyer
Branches: MAIN
Diff to: previous 1.11: preferred, colored
Changes since revision 1.11: +3 -1
lines
only include opt_xen.h #ifdef _KERNEL
Revision 1.11: download - view: text, markup, annotated - select for diffs
Thu Nov 22 16:16:45 2007 UTC (17 years ago) by bouyer
Branches: MAIN
Diff to: previous 1.10: preferred, colored
Changes since revision 1.10: +19 -1
lines
Pull up the bouyer-xenamd64 branch to HEAD. This brings in amd64 support
to NetBSD/Xen, both Dom0 and DomU.
Revision 1.7.32.1: download - view: text, markup, annotated - select for diffs
Tue Nov 6 23:14:20 2007 UTC (17 years, 1 month ago) by matt
Branches: matt-armv6
CVS tags: matt-armv6-prevmlocking
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +5 -4
lines
sync with HEAD
Revision 1.5.2.2: download - view: text, markup, annotated - select for diffs
Sat Oct 27 11:25:11 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.5.2.1: preferred, colored; branchpoint 1.5: preferred, colored
Changes since revision 1.5.2.1: +5 -4
lines
sync with head.
Revision 1.7.30.2: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:42:11 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.7.30.1: preferred, colored; branchpoint 1.7: preferred, colored
Changes since revision 1.7.30.1: +1 -3
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.8.2.2: download - view: text, markup, annotated - select for diffs
Thu Oct 25 22:35:34 2007 UTC (17 years, 1 month ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.8.2.1: preferred, colored; branchpoint 1.8: preferred, colored; next MAIN 1.9: preferred, colored
Changes since revision 1.8.2.1: +1 -3
lines
Sync with HEAD.
Revision 1.7.12.2: download - view: text, markup, annotated - select for diffs
Tue Oct 23 20:11:44 2007 UTC (17 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.7.12.1: preferred, colored; branchpoint 1.7: preferred, colored
Changes since revision 1.7.12.1: +1 -3
lines
Sync with head.
Revision 1.10: download - view: text, markup, annotated - select for diffs
Thu Oct 18 15:28:34 2007 UTC (17 years, 1 month ago) by yamt
Branches: MAIN
CVS tags: jmcneill-base,
bouyer-xenamd64-base2,
bouyer-xenamd64-base
Branch point for: mjf-devfs
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +1 -3
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.7.34.2: download - view: text, markup, annotated - select for diffs
Thu Oct 18 08:57:18 2007 UTC (17 years, 1 month ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.7.34.1: preferred, colored; branchpoint 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7.34.1: +1 -3
lines
remove unused GDT_SYS_OFFSET.
Revision 1.8.2.1: download - view: text, markup, annotated - select for diffs
Wed Oct 17 21:38:18 2007 UTC (17 years, 1 month ago) by bouyer
Branches: bouyer-xenamd64
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +18 -0
lines
amd64 (aka x86-64) support for Xen. Based on the OpenBSD port done by
Mathieu Ropert in 2006.
DomU-only for now. An INSTALL_XEN3_DOMU kernel with a ramdisk will boot to
sysinst if you're lucky. Often it panics because a runable LWP has
a NULL stack (really, it's all of l->l_addr which is has been zeroed out
while the process was on the queue !)
TODO:
- bug fixes :)
- Most of the xpq_* functions should be shared with xen/i386
- The xen/i386 assembly bootstrap code should be remplaced with the C
version in xenamd64/amd64/xpmap.c
- see if a config(5) trick could allow to merge xenamd64 back to xen or amd64.
Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Oct 17 19:53:04 2007 UTC (17 years, 1 month ago) by garbled
Branches: MAIN
CVS tags: yamt-x86pmap-base4
Diff to: previous 1.8: preferred, colored
Changes since revision 1.8: +1 -1
lines
Merge the ppcoea-renovation branch to HEAD.
This branch was a major cleanup and rototill of many of the various OEA
cpu based PPC ports that focused on sharing as much code as possible
between the various ports to eliminate near-identical copies of files in
every tree. Additionally there is a new PIC system that unifies the
interface to interrupt code for all different OEA ppc arches. The work
for this branch was done by a variety of people, too long to list here.
TODO:
bebox still needs work to complete the transition to -renovation.
ofppc still needs a bunch of work, which I will be looking at.
ev64260 still needs to be renovated
amigappc was not attempted.
NOTES:
pmppc was removed as an arch, and moved to a evbppc target.
Revision 1.7.12.1: download - view: text, markup, annotated - select for diffs
Tue Oct 9 13:37:19 2007 UTC (17 years, 1 month ago) by ad
Branches: vmlocking
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +5 -2
lines
Sync with head.
Revision 1.7.34.1: download - view: text, markup, annotated - select for diffs
Sat Oct 6 15:37:50 2007 UTC (17 years, 2 months ago) by yamt
Branches: yamt-x86pmap
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +5 -2
lines
sync with head.
Revision 1.7.20.1: download - view: text, markup, annotated - select for diffs
Wed Oct 3 19:22:14 2007 UTC (17 years, 2 months ago) by garbled
Branches: ppcoea-renovation
Diff to: previous 1.7: preferred, colored; next MAIN 1.8: preferred, colored
Changes since revision 1.7: +5 -2
lines
Sync with HEAD
Revision 1.7.30.1: download - view: text, markup, annotated - select for diffs
Tue Oct 2 18:26:45 2007 UTC (17 years, 2 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +5 -2
lines
Sync with HEAD.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Wed Sep 26 02:33:46 2007 UTC (17 years, 2 months ago) by mrg
Branches: MAIN
CVS tags: yamt-x86pmap-base3,
yamt-x86pmap-base2,
vmlocking-base,
ppcoea-renovation-base
Branch point for: bouyer-xenamd64
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +5 -2
lines
in VALID_USER_DSEL3() only check the low 16 bits.
this fixes 32bit gmake from occasionally reporting "Error 255" after
a command has successfully run.
lots of help from ad@ and joerg@.
Revision 1.5.2.1: download - view: text, markup, annotated - select for diffs
Sat Dec 30 20:45:25 2006 UTC (17 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +12 -12
lines
sync with head.
Revision 1.6.4.1: download - view: text, markup, annotated - select for diffs
Sat Sep 9 02:37:18 2006 UTC (18 years, 3 months ago) by rpaulo
Branches: rpaulo-netinet-merge-pcb
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +12 -12
lines
sync with head
Revision 1.6.8.1: download - view: text, markup, annotated - select for diffs
Sun Sep 3 15:22:41 2006 UTC (18 years, 3 months ago) by yamt
Branches: yamt-pdpolicy
Diff to: previous 1.6: preferred, colored; next MAIN 1.7: preferred, colored
Changes since revision 1.6: +12 -12
lines
sync with head.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Sat Aug 19 16:27:58 2006 UTC (18 years, 3 months ago) by dsl
Branches: MAIN
CVS tags: yamt-x86pmap-base,
yamt-splraiseipl-base5,
yamt-splraiseipl-base4,
yamt-splraiseipl-base3,
yamt-splraiseipl-base2,
yamt-splraiseipl-base,
yamt-splraiseipl,
yamt-pdpolicy-base9,
yamt-pdpolicy-base8,
yamt-idlelwp-base8,
yamt-idlelwp,
wrstuden-fixsa-newbase,
wrstuden-fixsa-base-1,
wrstuden-fixsa-base,
wrstuden-fixsa,
thorpej-atomic-base,
thorpej-atomic,
rpaulo-netinet-merge-pcb-base,
reinoud-bufcleanup,
post-newlock2-merge,
nick-csl-alignment-base5,
nick-csl-alignment-base,
nick-csl-alignment,
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,
mjf-ufs-trans-base,
mjf-ufs-trans,
matt-nb4-arm-base,
matt-nb4-arm,
matt-mips64-base,
matt-mips64,
hpcarm-cleanup,
ad-audiomp-base,
ad-audiomp
Branch point for: yamt-x86pmap,
vmlocking,
ppcoea-renovation,
matt-armv6,
jmcneill-pm
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +12 -12
lines
de __P()
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sun Dec 11 12:16:25 2005 UTC (18 years, 11 months ago) by christos
Branches: MAIN
CVS tags: yamt-uio_vmspace-base5,
yamt-uio_vmspace,
yamt-pdpolicy-base7,
yamt-pdpolicy-base6,
yamt-pdpolicy-base5,
yamt-pdpolicy-base4,
yamt-pdpolicy-base3,
yamt-pdpolicy-base2,
yamt-pdpolicy-base,
simonb-timecounters-base,
simonb-timecounters,
simonb-timcounters-final,
peter-altq-base,
peter-altq,
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
Branch point for: yamt-pdpolicy,
rpaulo-netinet-merge-pcb
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +1 -1
lines
merge ktrace-lwp.
Revision 1.1.2.4: download - view: text, markup, annotated - select for diffs
Thu Nov 10 13:51:35 2005 UTC (19 years ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.1.2.3: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.3: +16 -1
lines
Sync with HEAD. Here we go again...
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun May 15 21:37:46 2005 UTC (19 years, 6 months ago) by fvdl
Branches: MAIN
CVS tags: yamt-vop-base3,
yamt-vop-base2,
yamt-vop-base,
yamt-vop,
yamt-readahead-pervnode,
yamt-readahead-perfile,
yamt-readahead-base3,
yamt-readahead-base2,
yamt-readahead-base,
yamt-readahead,
thorpej-vnode-attr-base,
thorpej-vnode-attr,
ktrace-lwp-base
Branch point for: yamt-lazymbuf
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +16 -1
lines
Optionally include saving and restoring the 64bit %gs and %fs base register
values in the PCB. Do this in pmap_activate for now (XXX not a good place
for it, but a convenient one).
Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 21 13:12:14 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.1.2.2: preferred, colored
Changes since revision 1.1.2.2: +1 -1
lines
Fix the sync with head I botched.
Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Sat Sep 18 14:31:22 2004 UTC (20 years, 2 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.1.2.1: preferred, colored
Changes since revision 1.1.2.1: +0 -0
lines
Sync with HEAD.
Revision 1.1.2.1: download - view: text, markup, annotated - select for diffs
Tue Aug 3 10:31:36 2004 UTC (20 years, 4 months ago) by skrll
Branches: ktrace-lwp
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +51 -4
lines
Sync with HEAD
Revision 1.4: download - view: text, markup, annotated - select for diffs
Fri Feb 13 11:36:20 2004 UTC (20 years, 9 months ago) by wiz
Branches: MAIN
CVS tags: yamt-km-base4,
yamt-km-base3,
yamt-km-base2,
yamt-km-base,
yamt-km,
netbsd-3-base,
netbsd-3-1-RELEASE,
netbsd-3-1-RC4,
netbsd-3-1-RC3,
netbsd-3-1-RC2,
netbsd-3-1-RC1,
netbsd-3-1-1-RELEASE,
netbsd-3-1,
netbsd-3-0-RELEASE,
netbsd-3-0-RC6,
netbsd-3-0-RC5,
netbsd-3-0-RC4,
netbsd-3-0-RC3,
netbsd-3-0-RC2,
netbsd-3-0-RC1,
netbsd-3-0-3-RELEASE,
netbsd-3-0-2-RELEASE,
netbsd-3-0-1-RELEASE,
netbsd-3-0,
netbsd-3,
netbsd-2-base,
netbsd-2-1-RELEASE,
netbsd-2-1-RC6,
netbsd-2-1-RC5,
netbsd-2-1-RC4,
netbsd-2-1-RC3,
netbsd-2-1-RC2,
netbsd-2-1-RC1,
netbsd-2-1,
netbsd-2-0-base,
netbsd-2-0-RELEASE,
netbsd-2-0-RC5,
netbsd-2-0-RC4,
netbsd-2-0-RC3,
netbsd-2-0-RC2,
netbsd-2-0-RC1,
netbsd-2-0-3-RELEASE,
netbsd-2-0-2-RELEASE,
netbsd-2-0-1-RELEASE,
netbsd-2-0,
netbsd-2,
kent-audio2-base,
kent-audio2,
kent-audio1-beforemerge,
kent-audio1-base,
kent-audio1
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +2 -2
lines
Uppercase CPU, plural is CPUs.
Revision 1.3: download - view: text, markup, annotated - select for diffs
Mon Oct 13 18:40:16 2003 UTC (21 years, 1 month ago) by fvdl
Branches: MAIN
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +16 -1
lines
Define a few macros to validate userspace selectors.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Thu Aug 7 16:26:36 2003 UTC (21 years, 4 months ago) by agc
Branches: MAIN
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +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.1: download - view: text, markup, annotated - select for diffs
Sat Apr 26 18:39:47 2003 UTC (21 years, 7 months ago) by fvdl
Branches: MAIN
Branch point for: ktrace-lwp
Rename the x86_64 port to amd64, as this is the actual name used for
the processor family now. x86_64 is kept as the MACHINE_ARCH value,
since it's already widely used (by e.g. the toolchain, etc), and
by other operating systems.
CVSweb <webmaster@jp.NetBSD.org>