CVS log for src/sys/arch/amd64/acpi/acpi_wakeup_low.S
Up to [cvs.NetBSD.org] / src / sys / arch / amd64 / acpi
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
Revision 1.9.4.1: download - view: text, markup, annotated - select for diffs
Mon Jun 10 22:05:46 2019 UTC (5 years, 6 months ago) by christos
Branches: phil-wifi
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +3 -3
lines
Sync with HEAD
Revision 1.9.2.1: download - view: text, markup, annotated - select for diffs
Sat Jul 28 04:37:26 2018 UTC (6 years, 4 months ago) by pgoyette
Branches: pgoyette-compat
CVS tags: pgoyette-compat-merge-20190127
Diff to: previous 1.9: preferred, colored; next MAIN 1.10: preferred, colored
Changes since revision 1.9: +3 -3
lines
Sync with HEAD
Revision 1.10: download - view: text, markup, annotated - select for diffs
Sat Jul 14 14:29:40 2018 UTC (6 years, 4 months ago) by maxv
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-futex-base,
thorpej-futex,
thorpej-cfargs2-base,
thorpej-cfargs2,
thorpej-cfargs-base,
thorpej-cfargs,
thorpej-altq-separation-base,
thorpej-altq-separation,
phil-wifi-20200421,
phil-wifi-20200411,
phil-wifi-20200406,
phil-wifi-20191119,
phil-wifi-20190609,
pgoyette-compat-20190127,
pgoyette-compat-20190118,
pgoyette-compat-1226,
pgoyette-compat-1126,
pgoyette-compat-1020,
pgoyette-compat-0930,
pgoyette-compat-0906,
pgoyette-compat-0728,
perseant-exfatfs-base-20240630,
perseant-exfatfs-base,
perseant-exfatfs,
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,
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,
isaki-audio2-base,
isaki-audio2,
is-mlppp-base,
is-mlppp,
cjep_sun2x-base1,
cjep_sun2x-base,
cjep_sun2x,
cjep_staticlib_x-base1,
cjep_staticlib_x-base,
cjep_staticlib_x,
bouyer-xenpvh-base2,
bouyer-xenpvh-base1,
bouyer-xenpvh-base,
bouyer-xenpvh,
bouyer-sunxi-drm-base,
bouyer-sunxi-drm,
ad-namecache-base3,
ad-namecache-base2,
ad-namecache-base1,
ad-namecache-base,
ad-namecache,
HEAD
Diff to: previous 1.9: preferred, colored
Changes since revision 1.9: +3 -3
lines
Drop NENTRY() from the x86 kernels, use ENTRY(). With PMCs (and other hardware
tracing facilities) we have a much better ways of monitoring the CPU activity
than GPROF, without software modification.
Also I think GPROF has never worked, because the 'start' functions of both
i386 and amd64 use ENTRY(), and it would have caused a function call while the
kernel was not yet relocated.
Revision 1.4.42.1: 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.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +17 -11
lines
update from HEAD
Revision 1.9: download - view: text, markup, annotated - select for diffs
Wed Nov 1 09:47:53 2017 UTC (7 years, 1 month ago) by maxv
Branches: MAIN
CVS tags: tls-maxphys-base-20171202,
phil-wifi-base,
pgoyette-compat-base,
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.8: preferred, colored
Changes since revision 1.8: +7 -7
lines
Use NENTRY -> END.
Revision 1.8: download - view: text, markup, annotated - select for diffs
Sat Oct 21 06:55:54 2017 UTC (7 years, 1 month ago) by maxv
Branches: MAIN
Diff to: previous 1.7: preferred, colored
Changes since revision 1.7: +4 -4
lines
Improve our segregs model. Pass 3/3.
Treat %gs the same way we treat %ds/%es/%fs: restore it in INTRFASTEXIT
on 32bit LWPs.
On Xen however, its behavior does not change, because we need to do an
hypercall before INTR_RESTORE_GPRS, and that's too complicated for now.
As a side effect, this change fixes a bug in the ACPI wakeup code; %fs/%gs
were not restored on 32bit LWPs, and chances are they would segfault
shortly afterwards.
Support for USER_LDT on amd64 is almost complete now.
Revision 1.7: download - view: text, markup, annotated - select for diffs
Thu Oct 19 18:36:31 2017 UTC (7 years, 1 month ago) by maxv
Branches: MAIN
Diff to: previous 1.6: preferred, colored
Changes since revision 1.6: +8 -3
lines
Improve our segregs model. Pass 1/3.
Right now, we are saving and restoring %ds/%es each time we enter/leave the
kernel. However, we let %fs/%gs live in the kernel space, and we rely on
the fact that when switching to an LWP, %fs/%gs are set right away (via
cpu_switchto or setregs).
It has two drawbacks: we are taking care of %ds/%es while they are
deprecated (useless) on 64bit LWPs, and we are restricting %fs/%gs while
they still have a meaning on 32bit LWPs.
Therefore, handle 32bit and 64bit LWPs differently:
* 64bit LWPs use fixed segregs, which are not taken care of.
* 32bit LWPs have dynamic segregs, always saved/restored.
For now, only %ds and %es are changed; %fs and %gs will be in the next
passes.
The trapframe is constructed as usual. In INTRFASTEXIT, we restore %ds/%es
depending on the %cs value. If %cs contains one of the two standard 64bit
selectors, don't do anything. Otherwise, restore everything.
When doing a context switch, just restore %ds/%es to their default values.
On a 32bit LWP they will be overwritten by INTRFASTEXIT; on a 64bit LWP
they won't be updated.
In the ACPI wakeup code, restore %ds/%es to the default 64bit user value.
Revision 1.6: download - view: text, markup, annotated - select for diffs
Sat Sep 23 10:18:49 2017 UTC (7 years, 2 months ago) by maxv
Branches: MAIN
Diff to: previous 1.5: preferred, colored
Changes since revision 1.5: +2 -1
lines
Make sure %edx is clear.
Revision 1.4.62.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.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +3 -3
lines
Sync with HEAD
Revision 1.4.66.1: download - view: text, markup, annotated - select for diffs
Tue Jul 26 03:24:16 2016 UTC (8 years, 4 months ago) by pgoyette
Branches: pgoyette-localcount
Diff to: previous 1.4: preferred, colored; next MAIN 1.5: preferred, colored
Changes since revision 1.4: +3 -3
lines
Sync with HEAD
Revision 1.5: download - view: text, markup, annotated - select for diffs
Sun Jul 24 13:04:58 2016 UTC (8 years, 4 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,
pgoyette-localcount-20170107,
pgoyette-localcount-20161104,
pgoyette-localcount-20160806,
pgoyette-localcount-20160726,
perseant-stdc-iso10646-base,
perseant-stdc-iso10646,
nick-nhusb-base-20170825,
nick-nhusb-base-20170204,
nick-nhusb-base-20161204,
nick-nhusb-base-20161004,
netbsd-8-base,
netbsd-8-3-RELEASE,
netbsd-8-2-RELEASE,
netbsd-8-1-RELEASE,
netbsd-8-1-RC1,
netbsd-8-0-RELEASE,
netbsd-8-0-RC2,
netbsd-8-0-RC1,
netbsd-8,
matt-nb8-mediatek-base,
matt-nb8-mediatek,
localcount-20160914,
jdolecek-ncq-base,
jdolecek-ncq,
bouyer-socketcan-base1,
bouyer-socketcan-base,
bouyer-socketcan
Diff to: previous 1.4: preferred, colored
Changes since revision 1.4: +3 -3
lines
KNF, and reduce the diff between amd64 and i386.
Revision 1.3.16.1: download - view: text, markup, annotated - select for diffs
Mon Jun 23 04:30:05 2008 UTC (16 years, 5 months ago) by wrstuden
Branches: wrstuden-revivesa
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +31 -32
lines
Sync w/ -current. 34 merge conflicts to follow.
Revision 1.3.10.1: download - view: text, markup, annotated - select for diffs
Mon Jun 2 13:21:47 2008 UTC (16 years, 6 months ago) by mjf
Branches: mjf-devfs2
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +31 -32
lines
Sync with HEAD.
Revision 1.3.12.1: download - view: text, markup, annotated - select for diffs
Sun May 18 12:31:27 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-pf42
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +31 -32
lines
sync with head.
Revision 1.3.14.1: download - view: text, markup, annotated - select for diffs
Fri May 16 02:21:48 2008 UTC (16 years, 6 months ago) by yamt
Branches: yamt-nfs-mp
Diff to: previous 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3: +31 -32
lines
sync with head.
Revision 1.4: download - view: text, markup, annotated - select for diffs
Sun May 11 15:32:20 2008 UTC (16 years, 7 months ago) by ad
Branches: MAIN
CVS tags: yamt-pf42-base4,
yamt-pf42-base3,
yamt-pf42-base2,
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,
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,
yamt-nfs-mp-base2,
yamt-nfs-mp-base11,
yamt-nfs-mp-base10,
wrstuden-revivesa-base-4,
wrstuden-revivesa-base-3,
wrstuden-revivesa-base-2,
wrstuden-revivesa-base-1,
wrstuden-revivesa-base,
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,
tls-maxphys-base,
tls-earlyentropy-base,
tls-earlyentropy,
simonb-wapbl-nbase,
simonb-wapbl-base,
simonb-wapbl,
rmind-uvmplock-nbase,
rmind-uvmplock-base,
rmind-uvmplock,
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,
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,
nick-hppapmap-base4,
nick-hppapmap-base3,
nick-hppapmap-base2,
nick-hppapmap-base,
nick-hppapmap,
netbsd-7-nhusb-base-20170116,
netbsd-7-nhusb-base,
netbsd-7-nhusb,
netbsd-7-base,
netbsd-7-2-RELEASE,
netbsd-7-1-RELEASE,
netbsd-7-1-RC2,
netbsd-7-1-RC1,
netbsd-7-1-2-RELEASE,
netbsd-7-1-1-RELEASE,
netbsd-7-1,
netbsd-7-0-RELEASE,
netbsd-7-0-RC3,
netbsd-7-0-RC2,
netbsd-7-0-RC1,
netbsd-7-0-2-RELEASE,
netbsd-7-0-1-RELEASE,
netbsd-7-0,
netbsd-7,
netbsd-6-base,
netbsd-6-1-RELEASE,
netbsd-6-1-RC4,
netbsd-6-1-RC3,
netbsd-6-1-RC2,
netbsd-6-1-RC1,
netbsd-6-1-5-RELEASE,
netbsd-6-1-4-RELEASE,
netbsd-6-1-3-RELEASE,
netbsd-6-1-2-RELEASE,
netbsd-6-1-1-RELEASE,
netbsd-6-1,
netbsd-6-0-RELEASE,
netbsd-6-0-RC2,
netbsd-6-0-RC1,
netbsd-6-0-6-RELEASE,
netbsd-6-0-5-RELEASE,
netbsd-6-0-4-RELEASE,
netbsd-6-0-3-RELEASE,
netbsd-6-0-2-RELEASE,
netbsd-6-0-1-RELEASE,
netbsd-6-0,
netbsd-6,
netbsd-5-base,
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-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,
netbsd-5,
mjf-devfs2-base,
matt-premerge-20091211,
matt-nb6-plus-nbase,
matt-nb6-plus-base,
matt-nb6-plus,
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,
matt-mips64-premerge-20101231,
matt-mips64-base2,
khorben-n900,
jymxensuspend-base,
jym-xensuspend-nbase,
jym-xensuspend-base,
jym-xensuspend,
jruoho-x86intr-base,
jruoho-x86intr,
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,
hpcarm-cleanup-nbase,
haad-nbase2,
haad-dm-base2,
haad-dm-base1,
haad-dm-base,
haad-dm,
cherry-xenmp-base,
cherry-xenmp,
bouyer-quota2-nbase,
bouyer-quota2-base,
bouyer-quota2,
agc-symver-base,
agc-symver,
ad-audiomp2-base,
ad-audiomp2
Branch point for: tls-maxphys,
pgoyette-localcount,
nick-nhusb
Diff to: previous 1.3: preferred, colored
Changes since revision 1.3: +31 -32
lines
Share cpu.h between the x86 ports.
Revision 1.3.4.2: download - view: text, markup, annotated - select for diffs
Mon Jan 21 09:35:13 2008 UTC (16 years, 10 months ago) by yamt
Branches: yamt-lazymbuf
Diff to: previous 1.3.4.1: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.4.1: +164 -0
lines
sync with head
Revision 1.3.2.2: download - view: text, markup, annotated - select for diffs
Wed Jan 9 01:44:42 2008 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
Diff to: previous 1.3.2.1: preferred, colored; branchpoint 1.3: preferred, colored; next MAIN 1.4: preferred, colored
Changes since revision 1.3.2.1: +164 -0
lines
sync with HEAD
Revision 1.2.2.1: download - view: text, markup, annotated - select for diffs
Wed Jan 2 21:46:56 2008 UTC (16 years, 11 months ago) by bouyer
Branches: bouyer-xeni386
CVS tags: bouyer-xeni386-merge1
Diff to: previous 1.2: preferred, colored; next MAIN 1.3: preferred, colored
Changes since revision 1.2: +57 -97
lines
Sync with HEAD
Revision 1.1.8.1: download - view: text, markup, annotated - select for diffs
Thu Dec 27 00:42:48 2007 UTC (16 years, 11 months ago) by mjf
Branches: mjf-devfs
Diff to: previous 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1: +164 -0
lines
Sync with HEAD.
Revision 1.1.10.1: download - view: text, markup, annotated - select for diffs
Wed Dec 26 19:17:16 2007 UTC (16 years, 11 months ago) by ad
Branches: vmlocking2
Diff to: previous 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1: +164 -0
lines
Sync with head.
Revision 1.3.4.1
Tue Dec 18 07:17:09 2007 UTC (16 years, 11 months ago) by yamt
Branches: yamt-lazymbuf
FILE REMOVED
Changes since revision 1.3: +0 -164
lines
file acpi_wakeup_low.S was added on branch yamt-lazymbuf on 2008-01-21 09:35:13 +0000
Revision 1.3.2.1
Tue Dec 18 07:17:09 2007 UTC (16 years, 11 months ago) by matt
Branches: matt-armv6
FILE REMOVED
Changes since revision 1.3: +0 -164
lines
file acpi_wakeup_low.S was added on branch matt-armv6 on 2008-01-09 01:44:41 +0000
Revision 1.3: download - view: text, markup, annotated - select for diffs
Tue Dec 18 07:17:09 2007 UTC (16 years, 11 months ago) by joerg
Branches: MAIN
CVS tags: yamt-pf42-baseX,
yamt-pf42-base,
yamt-nfs-mp-base,
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: yamt-pf42,
yamt-nfs-mp,
yamt-lazymbuf,
wrstuden-revivesa,
mjf-devfs2,
matt-armv6
Diff to: previous 1.2: preferred, colored
Changes since revision 1.2: +58 -98
lines
Add new IPI for saving CPU state explicitly, share high-level part of
ACPI wakeup code and teach it how to start the APs again. As a side
effect the CPU_START interface allows choosing between different
bootstrap codes more easily now.
Revision 1.1.12.1: download - view: text, markup, annotated - select for diffs
Tue Dec 11 15:20:21 2007 UTC (17 years ago) by yamt
Branches: yamt-kmem
Diff to: previous 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1: +204 -0
lines
sync with head.
Revision 1.2: download - view: text, markup, annotated - select for diffs
Sun Dec 9 20:27:42 2007 UTC (17 years ago) by jmcneill
Branches: MAIN
CVS tags: yamt-kmem-base3,
yamt-kmem-base2,
cube-autoconf-base,
cube-autoconf
Branch point for: bouyer-xeni386
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +204 -0
lines
Merge jmcneill-pm branch.
Revision 1.1.2.13: download - view: text, markup, annotated - select for diffs
Fri Nov 23 20:00:51 2007 UTC (17 years ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.1.2.12: preferred, colored; branchpoint 1.1: preferred, colored; next MAIN 1.2: preferred, colored
Changes since revision 1.1.2.12: +2 -7
lines
Exploit that PAE support implies PSE support and simplify the low-level
wake code to just load some useful values for cr0 and cr4 similiar to
what locore.S does. Load the real GDT from acpi_md_sleep_exit as well.
Revision 1.1.2.12: download - view: text, markup, annotated - select for diffs
Mon Nov 12 12:06:59 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.1.2.11: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.11: +2 -31
lines
Don't save and restore registers that are not necessary to be preserved
in the amd64 ABI.
Revision 1.1.2.11: download - view: text, markup, annotated - select for diffs
Sun Nov 11 18:30:15 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.1.2.10: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.10: +2 -2
lines
Use $-1 and not -1 for the return path.
Revision 1.1.2.10: download - view: text, markup, annotated - select for diffs
Sun Nov 11 18:24:01 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.1.2.9: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.9: +2 -2
lines
Also update name in .type to match the label.
Revision 1.1.2.9: download - view: text, markup, annotated - select for diffs
Sun Nov 11 18:16:24 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.1.2.8: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.8: +10 -6
lines
Change code flow below acpi_md_sleep.
Before:
- acpi_md_sleep calls acpi_savecpu
- acpi_savecpu saves registers and returns with -1
- acpi_md_sleep now patches the wakecode and calls AcpiEnterSleepState
- on resume, acpi_restorecpu restores registers and returns at the same
place as acpi_savecpu did with 0.
After:
- acpi_md_sleep calls acpi_md_sleep_prepare
- acpi_md_sleep_prepare saves registers and calls acpi_md_sleep_enter
- acpi_md_sleep_enter patches the wakecode and calls
AcpiEnterSleepState. It only returns on error.
- on resume, acpi_md_sleep_exit gets called, restores the registers and
returns as acpi_md_sleep_prepare with 0.
Revision 1.1.2.8: download - view: text, markup, annotated - select for diffs
Tue Nov 6 00:09:02 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.1.2.7: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.7: +2 -2
lines
Add newline at end of file.
Revision 1.1.2.7: download - view: text, markup, annotated - select for diffs
Mon Oct 29 04:30:49 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.1.2.6: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.6: +22 -10
lines
Save and restore MSR_EFER explicitly as the NOX bit is needed for
manipulation of the GDT. With that ltr and lldt can finally be done and
AMD64 fully resume now.
Revision 1.1.2.6: download - view: text, markup, annotated - select for diffs
Sun Oct 28 17:15:02 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.1.2.5: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.5: +18 -6
lines
Save kernelgsbase and gsbase directly instead of playing with swapgs.
Revision 1.1.2.5: download - view: text, markup, annotated - select for diffs
Fri Oct 26 15:42:04 2007 UTC (17 years, 1 month ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.1.2.4: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.4: +3 -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.1.2.4: download - view: text, markup, annotated - select for diffs
Fri Sep 28 23:11:06 2007 UTC (17 years, 2 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.1.2.3: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.3: +2 -8
lines
Don't try to save and restore fs and gs, just zero them on resume.
Revision 1.1.2.3: download - view: text, markup, annotated - select for diffs
Tue Sep 25 00:59:10 2007 UTC (17 years, 2 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.1.2.2: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.2: +34 -3
lines
Save and restore FS and GS base.
Revision 1.1.2.2: download - view: text, markup, annotated - select for diffs
Mon Sep 10 23:11:23 2007 UTC (17 years, 3 months ago) by jmcneill
Branches: jmcneill-pm
Diff to: previous 1.1.2.1: preferred, colored; branchpoint 1.1: preferred, colored
Changes since revision 1.1.2.1: +11 -3
lines
Restore cr0 and cr8 while we're here.
Revision 1.1.2.1: download - view: text, markup, annotated - select for diffs
Mon Sep 10 20:39:00 2007 UTC (17 years, 3 months ago) by joerg
Branches: jmcneill-pm
Diff to: previous 1.1: preferred, colored
Changes since revision 1.1: +177 -0
lines
Add work-in-progress remerge of i386 changes for the ACPI wakecode
and changes to adopt it to AMD64.
Revision 1.1
Mon Sep 10 20:39:00 2007 UTC (17 years, 3 months ago) by joerg
Branches: MAIN
CVS tags: yamt-x86pmap-base4,
yamt-x86pmap-base3,
yamt-x86pmap-base2,
yamt-x86pmap-base,
yamt-x86pmap,
yamt-kmem-base,
vmlocking2-base2,
vmlocking2-base1,
vmlocking-nbase,
vmlocking-base,
reinoud-bufcleanup-nbase,
reinoud-bufcleanup-base,
jmcneill-pm-base,
jmcneill-base,
bouyer-xenamd64-base2,
bouyer-xenamd64-base,
bouyer-xenamd64
Branch point for: yamt-kmem,
vmlocking2,
mjf-devfs,
jmcneill-pm
FILE REMOVED
file acpi_wakeup_low.S was initially added on branch jmcneill-pm.
CVSweb <webmaster@jp.NetBSD.org>