The NetBSD Project

CVS log for src/sys/arch/i386/acpi/acpi_wakecode.S

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

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.15.2.2 / (download) - annotate - [select for diffs], Sun Dec 3 11:36:17 2017 UTC (4 years, 5 months ago) by jdolecek
Branch: tls-maxphys
Changes since 1.15.2.1: +26 -7 lines
Diff to previous 1.15.2.1 (colored) to branchpoint 1.15 (colored) next main 1.16 (colored)

update from HEAD

Revision 1.16.6.1 / (download) - annotate - [select for diffs], Wed Oct 5 20:55:28 2016 UTC (5 years, 7 months ago) by skrll
Branch: nick-nhusb
Changes since 1.16: +27 -8 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Sync with HEAD

Revision 1.16.10.1 / (download) - annotate - [select for diffs], Tue Jul 26 03:24:17 2016 UTC (5 years, 9 months ago) by pgoyette
Branch: pgoyette-localcount
Changes since 1.16: +27 -8 lines
Diff to previous 1.16 (colored) next main 1.17 (colored)

Sync with HEAD

Revision 1.18 / (download) - annotate - [select for diffs], Sun Jul 24 14:09:22 2016 UTC (5 years, 9 months ago) by maxv
Branch: MAIN
CVS Tags: tls-maxphys-base-20171202, 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, prg-localcount2-base3, prg-localcount2-base2, prg-localcount2-base1, prg-localcount2-base, prg-localcount2, phil-wifi-base, phil-wifi-20200421, phil-wifi-20200411, phil-wifi-20200406, phil-wifi-20191119, phil-wifi-20190609, phil-wifi, pgoyette-localcount-20170426, pgoyette-localcount-20170320, pgoyette-localcount-20170107, pgoyette-localcount-20161104, pgoyette-localcount-20160806, pgoyette-localcount-20160726, pgoyette-compat-merge-20190127, pgoyette-compat-base, pgoyette-compat-20190127, pgoyette-compat-20190118, pgoyette-compat-1226, pgoyette-compat-1126, pgoyette-compat-1020, pgoyette-compat-0930, pgoyette-compat-0906, pgoyette-compat-0728, pgoyette-compat-0625, pgoyette-compat-0521, pgoyette-compat-0502, pgoyette-compat-0422, pgoyette-compat-0415, pgoyette-compat-0407, pgoyette-compat-0330, pgoyette-compat-0322, pgoyette-compat-0315, pgoyette-compat, perseant-stdc-iso10646-base, perseant-stdc-iso10646, nick-nhusb-base-20170825, nick-nhusb-base-20170204, nick-nhusb-base-20161204, nick-nhusb-base-20161004, netbsd-9-base, netbsd-9-2-RELEASE, netbsd-9-1-RELEASE, netbsd-9-0-RELEASE, netbsd-9-0-RC2, netbsd-9-0-RC1, netbsd-9, netbsd-8-base, netbsd-8-2-RELEASE, netbsd-8-1-RELEASE, netbsd-8-1-RC1, netbsd-8-0-RELEASE, netbsd-8-0-RC2, netbsd-8-0-RC1, netbsd-8, matt-nb8-mediatek-base, matt-nb8-mediatek, localcount-20160914, jdolecek-ncq-base, jdolecek-ncq, 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-socketcan-base1, bouyer-socketcan-base, bouyer-socketcan, ad-namecache-base3, ad-namecache-base2, ad-namecache-base1, ad-namecache-base, ad-namecache, HEAD
Changes since 1.17: +19 -1 lines
Diff to previous 1.17 (colored)

The MSR EFER state is not saved and restored when sleeping on i386. On PAE,
the CPU crashes right after waking up, since it needs to access NOX-ed
pages, which are to be enabled in an MSR.

Fix this by properly saving and restoring the EFER MSR. It's a little
tricky since the wakeup code uses %edx, but rdmsr overwrites it. We just
save it in %esi.

Now, the CPU sleeps properly on PAE kernels.

Revision 1.17 / (download) - annotate - [select for diffs], Sun Jul 24 13:04:58 2016 UTC (5 years, 9 months ago) by maxv
Branch: MAIN
Changes since 1.16: +9 -8 lines
Diff to previous 1.16 (colored)

KNF, and reduce the diff between amd64 and i386.

Revision 1.15.2.1 / (download) - annotate - [select for diffs], Wed Aug 20 00:03:05 2014 UTC (7 years, 9 months ago) by tls
Branch: tls-maxphys
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

Rebase to HEAD as of a few days ago.

Revision 1.14.12.2 / (download) - annotate - [select for diffs], Thu May 22 11:39:51 2014 UTC (8 years ago) by yamt
Branch: yamt-pagecache
Changes since 1.14.12.1: +2 -2 lines
Diff to previous 1.14.12.1 (colored) to branchpoint 1.14 (colored) next main 1.15 (colored)

sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs.  ("Protocol error: too many arguments")

Revision 1.15.4.1 / (download) - annotate - [select for diffs], Sun May 18 17:45:12 2014 UTC (8 years ago) by rmind
Branch: rmind-smpnet
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored) next main 1.16 (colored)

sync with head

Revision 1.16 / (download) - annotate - [select for diffs], Sun Feb 2 22:41:20 2014 UTC (8 years, 3 months ago) by dsl
Branch: MAIN
CVS Tags: yamt-pagecache-base9, tls-maxphys-base, tls-earlyentropy-base, tls-earlyentropy, rmind-smpnet-nbase, rmind-smpnet-base, riastradh-xf86-video-intel-2-7-1-pre-2-21-15, riastradh-drm2-base3, 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, 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
Branch point for: pgoyette-localcount, nick-nhusb
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

Minor fpu initialisation cleanups:
Set default CR) so that the FPU is enabled (unset CR0_EM) and initialise
  i386_fpu_present to 1.
No need to call the npx trap indirectly, rename to fpunda() to match amd64.
Remove the i386_fpu_exception variable and sysctl (It used to indicate
  which irq was used for fpu exceptions, but we only support 'internal'
  now).  Hopefully no one cares.
fpuinit() now only needs to clear TS before the fninit(). Apart from the
  checks for 486SX and the 'fdiv bug' this matches the amd64 version.
Exclude fpuinit() from XEN kernels, they don't call it - which rather begs
  the question as to whether it is needed at all!

Revision 1.14.12.1 / (download) - annotate - [select for diffs], Wed May 23 10:07:43 2012 UTC (10 years ago) by yamt
Branch: yamt-pagecache
CVS Tags: yamt-pagecache-tag8
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

sync with head.

Revision 1.14.16.1 / (download) - annotate - [select for diffs], Sun Apr 29 23:04:40 2012 UTC (10 years ago) by mrg
Branch: jmcneill-usbmp
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

sync to latest -current.

Revision 1.14.18.1 / (download) - annotate - [select for diffs], Fri Apr 20 23:32:15 2012 UTC (10 years, 1 month ago) by riz
Branch: netbsd-6
CVS Tags: 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, matt-nb6-plus-nbase, matt-nb6-plus-base, matt-nb6-plus
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored) next main 1.15 (colored)

Pull up following revision(s) (requested by jym in ticket #189):
	sys/arch/x86/include/psl.h: revision 1.7
	sys/arch/i386/i386/locore.S: revision 1.98
	sys/arch/amd64/acpi/acpi_wakecode.S: revision 1.11
	sys/arch/amd64/amd64/mptramp.S: revision 1.13
	sys/arch/i386/acpi/acpi_wakecode.S: revision 1.15
	sys/arch/i386/i386/mptramp.S: revision 1.23
	sys/arch/amd64/amd64/locore.S: revision 1.68
Set the CR0_AM bit so processes can enable alignment check errors under
x86 through PSL_AC bit.
ATF test incoming shortly.
PSL_AC is user-settable.

Revision 1.15 / (download) - annotate - [select for diffs], Thu Apr 19 18:00:34 2012 UTC (10 years, 1 month ago) by jym
Branch: MAIN
CVS Tags: yamt-pagecache-base8, yamt-pagecache-base7, yamt-pagecache-base6, yamt-pagecache-base5, riastradh-drm2-base2, riastradh-drm2-base1, riastradh-drm2-base, riastradh-drm2, khorben-n900, jmcneill-usbmp-base9, jmcneill-usbmp-base10, agc-symver-base, agc-symver
Branch point for: tls-maxphys, rmind-smpnet
Changes since 1.14: +2 -2 lines
Diff to previous 1.14 (colored)

Set the CR0_AM bit so processes can enable alignment check errors under
x86 through PSL_AC bit.

ATF test incoming shortly.

Revision 1.12.14.1 / (download) - annotate - [select for diffs], Sun Nov 1 13:58:19 2009 UTC (12 years, 6 months ago) by jym
Branch: jym-xensuspend
Changes since 1.12: +15 -1 lines
Diff to previous 1.12 (colored) next main 1.13 (colored)

Sync with HEAD.

Revision 1.11.10.2 / (download) - annotate - [select for diffs], Wed Sep 16 13:37:39 2009 UTC (12 years, 8 months ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.11.10.1: +15 -1 lines
Diff to previous 1.11.10.1 (colored) to branchpoint 1.11 (colored) next main 1.12 (colored)

sync with head

Revision 1.14 / (download) - annotate - [select for diffs], Mon Aug 24 10:16:12 2009 UTC (12 years, 9 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-pagecache-base4, yamt-pagecache-base3, yamt-pagecache-base2, yamt-pagecache-base, yamt-nfs-mp-base9, yamt-nfs-mp-base8, yamt-nfs-mp-base11, yamt-nfs-mp-base10, uebayasi-xip-base7, uebayasi-xip-base6, uebayasi-xip-base5, uebayasi-xip-base4, uebayasi-xip-base3, uebayasi-xip-base2, uebayasi-xip-base1, uebayasi-xip-base, uebayasi-xip, rmind-uvmplock-nbase, rmind-uvmplock-base, rmind-uvmplock, netbsd-6-base, matt-premerge-20091211, matt-mips64-premerge-20101231, jym-xensuspend-nbase, jym-xensuspend-base, jruoho-x86intr-base, jruoho-x86intr, jmcneill-usbmp-pre-base2, jmcneill-usbmp-base8, jmcneill-usbmp-base7, jmcneill-usbmp-base6, jmcneill-usbmp-base5, jmcneill-usbmp-base4, jmcneill-usbmp-base3, jmcneill-usbmp-base2, jmcneill-usbmp-base, jmcneill-audiomp3-base, jmcneill-audiomp3, cherry-xenmp-base, cherry-xenmp, bouyer-quota2-nbase, bouyer-quota2-base, bouyer-quota2
Branch point for: yamt-pagecache, netbsd-6, jmcneill-usbmp
Changes since 1.13: +9 -11 lines
Diff to previous 1.13 (colored)

Ensure that the VBE mode is only restored when machdep.acpi_vbios_reset=1

Revision 1.13 / (download) - annotate - [select for diffs], Mon Aug 24 02:15:46 2009 UTC (12 years, 9 months ago) by jmcneill
Branch: MAIN
Changes since 1.12: +17 -1 lines
Diff to previous 1.12 (colored)

Pass the VBE mode number from the bootloader to the kernel, and then
make the ACPI wakecode aware of it. Restore the desired VBE mode on resume
when acpi_vbios_reset=1, so suspend/resume with genfb console will work.

Revision 1.11.6.1 / (download) - annotate - [select for diffs], Mon Jun 2 13:22:13 2008 UTC (13 years, 11 months ago) by mjf
Branch: mjf-devfs2
Changes since 1.11: +1 -8 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

Sync with HEAD.

Revision 1.11.8.1 / (download) - annotate - [select for diffs], Sun May 18 12:32:09 2008 UTC (14 years ago) by yamt
Branch: yamt-pf42
Changes since 1.11: +1 -8 lines
Diff to previous 1.11 (colored) next main 1.12 (colored)

sync with head.

Revision 1.11.10.1 / (download) - annotate - [select for diffs], Fri May 16 02:22:32 2008 UTC (14 years ago) by yamt
Branch: yamt-nfs-mp
Changes since 1.11: +1 -8 lines
Diff to previous 1.11 (colored)

sync with head.

Revision 1.12 / (download) - annotate - [select for diffs], Mon Apr 28 20:23:23 2008 UTC (14 years ago) by martin
Branch: MAIN
CVS Tags: yamt-pf42-base4, yamt-pf42-base3, yamt-pf42-base2, yamt-nfs-mp-base7, yamt-nfs-mp-base6, yamt-nfs-mp-base5, yamt-nfs-mp-base4, yamt-nfs-mp-base3, yamt-nfs-mp-base2, wrstuden-revivesa-base-4, wrstuden-revivesa-base-3, wrstuden-revivesa-base-2, wrstuden-revivesa-base-1, wrstuden-revivesa-base, wrstuden-revivesa, simonb-wapbl-nbase, simonb-wapbl-base, simonb-wapbl, nick-hppapmap-base4, nick-hppapmap-base3, nick-hppapmap-base2, nick-hppapmap-base, nick-hppapmap, 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-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-base2, jymxensuspend-base, hpcarm-cleanup-nbase, haad-nbase2, haad-dm-base2, haad-dm-base1, haad-dm-base, haad-dm, ad-audiomp2-base, ad-audiomp2
Branch point for: jym-xensuspend
Changes since 1.11: +1 -8 lines
Diff to previous 1.11 (colored)

Remove clause 3 and 4 from TNF licenses

Revision 1.4.6.3 / (download) - annotate - [select for diffs], Mon Jan 21 09:36:47 2008 UTC (14 years, 4 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4.6.2: +51 -106 lines
Diff to previous 1.4.6.2 (colored) to branchpoint 1.4 (colored) next main 1.5 (colored)

sync with head

Revision 1.9.12.1 / (download) - annotate - [select for diffs], Wed Jan 9 01:46:25 2008 UTC (14 years, 4 months ago) by matt
Branch: matt-armv6
Changes since 1.9: +51 -106 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

sync with HEAD

Revision 1.10.2.1 / (download) - annotate - [select for diffs], Wed Jan 2 21:48:07 2008 UTC (14 years, 4 months ago) by bouyer
Branch: bouyer-xeni386
CVS Tags: bouyer-xeni386-merge1
Changes since 1.10: +8 -14 lines
Diff to previous 1.10 (colored) next main 1.11 (colored)

Sync with HEAD

Revision 1.9.20.1 / (download) - annotate - [select for diffs], Wed Dec 26 19:42:12 2007 UTC (14 years, 4 months ago) by ad
Branch: vmlocking2
Changes since 1.9: +51 -106 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

Sync with head.

Revision 1.11 / (download) - annotate - [select for diffs], Tue Dec 18 07:17:11 2007 UTC (14 years, 5 months ago) by joerg
Branch: 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, mjf-devfs2
Changes since 1.10: +8 -14 lines
Diff to previous 1.10 (colored)

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.9.22.1 / (download) - annotate - [select for diffs], Tue Dec 11 15:20:25 2007 UTC (14 years, 5 months ago) by yamt
Branch: yamt-kmem
Changes since 1.9: +56 -105 lines
Diff to previous 1.9 (colored) next main 1.10 (colored)

sync with head.

Revision 1.10 / (download) - annotate - [select for diffs], Sun Dec 9 20:27:44 2007 UTC (14 years, 5 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-kmem-base3, yamt-kmem-base2, cube-autoconf-base, cube-autoconf
Branch point for: bouyer-xeni386
Changes since 1.9: +56 -105 lines
Diff to previous 1.9 (colored)

Merge jmcneill-pm branch.

Revision 1.9.10.8 / (download) - annotate - [select for diffs], Fri Oct 26 15:42:31 2007 UTC (14 years, 6 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.9.10.7: +7 -1 lines
Diff to previous 1.9.10.7 (colored) to branchpoint 1.9 (colored) next main 1.10 (colored)

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.9.10.7 / (download) - annotate - [select for diffs], Mon Sep 24 22:46:46 2007 UTC (14 years, 8 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.9.10.6: +1 -7 lines
Diff to previous 1.9.10.6 (colored) to branchpoint 1.9 (colored)

%esi is not needed any more, remove initialisation.

Revision 1.9.10.6 / (download) - annotate - [select for diffs], Mon Sep 24 21:30:56 2007 UTC (14 years, 8 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.9.10.5: +2 -2 lines
Diff to previous 1.9.10.5 (colored) to branchpoint 1.9 (colored)

Remove a comment that doesn't reflect reality any longer.

Revision 1.9.10.5 / (download) - annotate - [select for diffs], Mon Sep 24 15:40:32 2007 UTC (14 years, 8 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.9.10.4: +10 -20 lines
Diff to previous 1.9.10.4 (colored) to branchpoint 1.9 (colored)

Now that the start page for the ACPI wakeup code is fixated, use it
and kill the self-modifying code.

Revision 1.9.10.4 / (download) - annotate - [select for diffs], Sat Sep 8 01:22:16 2007 UTC (14 years, 8 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.9.10.3: +2 -2 lines
Diff to previous 1.9.10.3 (colored) to branchpoint 1.9 (colored)

Fix a commit that bothered Jared and me.

Revision 1.9.10.3 / (download) - annotate - [select for diffs], Sat Sep 8 00:31:34 2007 UTC (14 years, 8 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.9.10.2: +43 -118 lines
Diff to previous 1.9.10.2 (colored) to branchpoint 1.9 (colored)

Start to revamp the ACPI wake code (i386 only, amd64 gets minimal fixes
to keep being compilable):

- In init386 and the amd64 equivalent, just reserve the low-level code.
  Do not map and don't copy the wakecode yet. This avoids the conflicts
  with the MP tramp code as well. The wakecode is expected to be less
  than one page long, which is way too much space.
  acpi_md_get_npages_of_wakecode and acpi_md_install_wakecode are
  dropped, acpi_wakeup_paddr is set instead of the reserved address.
- Split the wakecode into the essential low-level part to setup
  protected mode with paging and valid CS and DS (which stays as
  wakecode) and the rest. Inline beepon and beepoff as they are used
  exactly once.
- Split the acpi_restorecpu and acpi_savecpu assembly from apci_wakeup.c
  and merge acpi_restorecpu with the second half dropped from wakecode.
  Most registers are not exported, just those needed to be patched into
  wakecode. Don't bother to save or restore %eax, it is overriden
  anyway.
- Don't bother to save and restore eflags in acpi_md_sleep, they are
  handled correctly by the assembly. Don't play games with cr3 either,
  we modify the pmap of the running processes. Copy the wakecode
  directly before patching it, after the identity mapping has been
  setup.
- Drop clear_reg and acpi_printcpu.
- Add an commented out broadcast IPI to halt the other CPUs explicitly.

Revision 1.9.10.2 / (download) - annotate - [select for diffs], Fri Sep 7 15:12:54 2007 UTC (14 years, 8 months ago) by joerg
Branch: jmcneill-pm
Changes since 1.9.10.1: +37 -1 lines
Diff to previous 1.9.10.1 (colored) to branchpoint 1.9 (colored)

Rewrite wakeup code generation to actually use the linker and
prefix all exported symbols with WAKEUP_ to make them easily
distinguishable in acpi_wakeup.c.

Revision 1.4.6.2 / (download) - annotate - [select for diffs], Mon Sep 3 14:26:27 2007 UTC (14 years, 8 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4.6.1: +10 -1 lines
Diff to previous 1.4.6.1 (colored) to branchpoint 1.4 (colored)

sync with head.

Revision 1.9.10.1 / (download) - annotate - [select for diffs], Fri Aug 3 22:17:05 2007 UTC (14 years, 9 months ago) by jmcneill
Branch: jmcneill-pm
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

Pull in power management changes from private branch.

Revision 1.8.16.1 / (download) - annotate - [select for diffs], Wed Jul 11 19:59:39 2007 UTC (14 years, 10 months ago) by mjf
Branch: mjf-ufs-trans
Changes since 1.8: +10 -1 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Sync with head.

Revision 1.8.14.1 / (download) - annotate - [select for diffs], Sun May 27 12:27:26 2007 UTC (14 years, 11 months ago) by ad
Branch: vmlocking
Changes since 1.8: +10 -1 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

Sync with head.

Revision 1.8.10.1 / (download) - annotate - [select for diffs], Mon May 7 10:54:55 2007 UTC (15 years ago) by yamt
Branch: yamt-idlelwp
Changes since 1.8: +10 -1 lines
Diff to previous 1.8 (colored) next main 1.9 (colored)

sync with head.

Revision 1.9 / (download) - annotate - [select for diffs], Sat Apr 28 14:03:00 2007 UTC (15 years ago) by joerg
Branch: MAIN
CVS Tags: yamt-x86pmap-base4, yamt-x86pmap-base3, yamt-x86pmap-base2, yamt-x86pmap-base, yamt-x86pmap, yamt-kmem-base, yamt-idlelwp-base8, vmlocking2-base2, vmlocking2-base1, vmlocking-nbase, vmlocking-base, reinoud-bufcleanup-nbase, reinoud-bufcleanup-base, ppcoea-renovation-base, ppcoea-renovation, nick-csl-alignment-base5, nick-csl-alignment-base, nick-csl-alignment, mjf-ufs-trans-base, mjf-devfs, matt-mips64-base, matt-mips64, matt-armv6-prevmlocking, jmcneill-pm-base, jmcneill-base, hpcarm-cleanup, bouyer-xenamd64-base2, bouyer-xenamd64-base, bouyer-xenamd64
Branch point for: yamt-kmem, vmlocking2, matt-armv6, jmcneill-pm
Changes since 1.8: +10 -1 lines
Diff to previous 1.8 (colored)

Make the beep on resume optional. It gets controlled by
machdep.acpi_beep_on_reset.

Revision 1.5.4.1 / (download) - annotate - [select for diffs], Sat Sep 9 02:39:52 2006 UTC (15 years, 8 months ago) by rpaulo
Branch: rpaulo-netinet-merge-pcb
Changes since 1.5: +37 -5 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

sync with head

Revision 1.5.16.1 / (download) - annotate - [select for diffs], Thu Jul 13 17:48:51 2006 UTC (15 years, 10 months ago) by gdamore
Branch: gdamore-uart
Changes since 1.5: +37 -5 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

Merge from HEAD.

Revision 1.5.8.1 / (download) - annotate - [select for diffs], Mon Jun 26 12:44:38 2006 UTC (15 years, 10 months ago) by yamt
Branch: yamt-pdpolicy
Changes since 1.5: +37 -5 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

sync with head.

Revision 1.4.6.1 / (download) - annotate - [select for diffs], Wed Jun 21 14:52:09 2006 UTC (15 years, 11 months ago) by yamt
Branch: yamt-lazymbuf
Changes since 1.4: +37 -5 lines
Diff to previous 1.4 (colored)

sync with head.

Revision 1.8 / (download) - annotate - [select for diffs], Tue Jun 20 22:36:58 2006 UTC (15 years, 11 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-splraiseipl-base5, yamt-splraiseipl-base4, yamt-splraiseipl-base3, yamt-splraiseipl-base2, yamt-splraiseipl-base, yamt-splraiseipl, yamt-pdpolicy-base9, yamt-pdpolicy-base8, yamt-pdpolicy-base7, yamt-pdpolicy-base6, 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, newlock2-nbase, newlock2-base, newlock2, netbsd-4-base, netbsd-4-0-RELEASE, netbsd-4-0-RC5, netbsd-4-0-RC4, netbsd-4-0-RC3, netbsd-4-0-RC2, netbsd-4-0-RC1, netbsd-4-0-1-RELEASE, netbsd-4-0, netbsd-4, matt-nb4-arm-base, matt-nb4-arm, ad-audiomp-base, ad-audiomp, abandoned-netbsd-4-base, abandoned-netbsd-4
Branch point for: yamt-idlelwp, vmlocking, mjf-ufs-trans
Changes since 1.7: +7 -4 lines
Diff to previous 1.7 (colored)

Make resetting the video BIOS in the ACPI wakecode optional. It can be
configured via sysctl machdep.acpi_vbios_reset. Defaults to 1 -- reset vbios
on resume.

Revision 1.5.14.1 / (download) - annotate - [select for diffs], Mon Jun 19 03:44:03 2006 UTC (15 years, 11 months ago) by chap
Branch: chap-midi
Changes since 1.5: +33 -4 lines
Diff to previous 1.5 (colored) next main 1.6 (colored)

Sync with head.

Revision 1.7 / (download) - annotate - [select for diffs], Sat Jun 17 17:11:53 2006 UTC (15 years, 11 months ago) by jmcneill
Branch: MAIN
CVS Tags: chap-midi-nbase, chap-midi-base
Changes since 1.6: +31 -4 lines
Diff to previous 1.6 (colored)

More ACPI wakecode changes:
	* Enable VBIOS hack by default
	* Beep while calling VBIOS, for debugging.
	* Fix a DIAGNOSTIC error in the sleep path.
	* Remove the erroneous mutex not locked error message.

Revision 1.6 / (download) - annotate - [select for diffs], Thu Jun 15 18:07:58 2006 UTC (15 years, 11 months ago) by jmcneill
Branch: MAIN
Changes since 1.5: +3 -1 lines
Diff to previous 1.5 (colored)

Do not restore task registers in wakecode.

Revision 1.5 / (download) - annotate - [select for diffs], Sun Dec 11 12:17:40 2005 UTC (16 years, 5 months ago) by christos
Branch: MAIN
CVS Tags: yamt-uio_vmspace-base5, yamt-uio_vmspace, 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, elad-kernelauth-base, elad-kernelauth
Branch point for: yamt-pdpolicy, rpaulo-netinet-merge-pcb, gdamore-uart, chap-midi
Changes since 1.4: +1 -1 lines
Diff to previous 1.4 (colored)

merge ktrace-lwp.

Revision 1.3.4.1 / (download) - annotate - [select for diffs], Fri Apr 29 11:28:11 2005 UTC (17 years ago) by kent
Branch: kent-audio2
Changes since 1.3: +15 -2 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

sync with -current

Revision 1.3.6.1 / (download) - annotate - [select for diffs], Sat Feb 12 18:17:33 2005 UTC (17 years, 3 months ago) by yamt
Branch: yamt-km
Changes since 1.3: +15 -2 lines
Diff to previous 1.3 (colored) next main 1.4 (colored)

sync with head.

Revision 1.1.14.4 / (download) - annotate - [select for diffs], Fri Feb 4 11:44:19 2005 UTC (17 years, 3 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.1.14.3: +15 -2 lines
Diff to previous 1.1.14.3 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

Sync with HEAD.

Revision 1.4 / (download) - annotate - [select for diffs], Wed Jan 26 21:46:38 2005 UTC (17 years, 3 months ago) by jmcneill
Branch: MAIN
CVS Tags: yamt-vop-base3, yamt-vop-base2, yamt-vop-base, yamt-vop, yamt-readahead-pervnode, yamt-readahead-perfile, yamt-readahead-base3, yamt-readahead-base2, yamt-readahead-base, yamt-readahead, yamt-km-base4, yamt-km-base3, yamt-km-base2, thorpej-vnode-attr-base, thorpej-vnode-attr, 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, ktrace-lwp-base, kent-audio2-base
Branch point for: yamt-lazymbuf
Changes since 1.3: +15 -2 lines
Diff to previous 1.3 (colored)

Fixup ACPI wakecode on i386. This (along with some PCI power management
hooks) allows my Latitude D600 to recover from S3 sleep.

acpi_wakeup.c changes from lha@:
  http://people.su.se/~lha/patches/netbsd/acpi-wakeup-1

Revision 1.1.14.3 / (download) - annotate - [select for diffs], Tue Sep 21 13:16:34 2004 UTC (17 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.1.14.2: +1 -1 lines
Diff to previous 1.1.14.2 (colored) to branchpoint 1.1 (colored)

Fix the sync with head I botched.

Revision 1.1.14.2 / (download) - annotate - [select for diffs], Sat Sep 18 14:35:22 2004 UTC (17 years, 8 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.1.14.1: +0 -0 lines
Diff to previous 1.1.14.1 (colored) to branchpoint 1.1 (colored)

Sync with HEAD.

Revision 1.1.14.1 / (download) - annotate - [select for diffs], Tue Aug 3 10:35:46 2004 UTC (17 years, 9 months ago) by skrll
Branch: ktrace-lwp
Changes since 1.1: +5 -4 lines
Diff to previous 1.1 (colored)

Sync with HEAD

Revision 1.3 / (download) - annotate - [select for diffs], Sat Apr 10 11:50:55 2004 UTC (18 years, 1 month ago) by kochi
Branch: MAIN
CVS Tags: yamt-km-base, kent-audio1-beforemerge, kent-audio1-base, kent-audio1
Branch point for: yamt-km, kent-audio2
Changes since 1.2: +2 -2 lines
Diff to previous 1.2 (colored)

whitespace nit

Revision 1.2 / (download) - annotate - [select for diffs], Thu Nov 20 12:30:34 2003 UTC (18 years, 6 months ago) by junyoung
Branch: MAIN
CVS Tags: 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
Changes since 1.1: +4 -3 lines
Diff to previous 1.1 (colored)

Use predefined macro rather than hardcoded value.

Revision 1.1.8.2 / (download) - annotate - [select for diffs], Fri Oct 18 03:13:05 2002 UTC (19 years, 7 months ago) by nathanw
Branch: nathanw_sa
CVS Tags: nathanw_sa_end
Changes since 1.1.8.1: +210 -0 lines
Diff to previous 1.1.8.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

New files in merge.

Revision 1.1.6.2 / (download) - annotate - [select for diffs], Fri Sep 6 08:35:52 2002 UTC (19 years, 8 months ago) by jdolecek
Branch: kqueue
Changes since 1.1.6.1: +210 -0 lines
Diff to previous 1.1.6.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

sync kqueue branch with HEAD

Revision 1.1.4.2 / (download) - annotate - [select for diffs], Tue Jul 16 08:28:58 2002 UTC (19 years, 10 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.1.4.1: +210 -0 lines
Diff to previous 1.1.4.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

catch up with -current.

Revision 1.1.2.2 / (download) - annotate - [select for diffs], Tue Jun 18 07:25:14 2002 UTC (19 years, 11 months ago) by tshiozak
Branch: sommerfeld_i386mp_1
Changes since 1.1.2.1: +210 -0 lines
Diff to previous 1.1.2.1 (colored) to branchpoint 1.1 (colored) next main 1.2 (colored)

ACPI wake-up code for i386. but, we have no interface to use it efficiently.

Revision 1.1.8.1, Tue Jun 18 07:25:13 2002 UTC (19 years, 11 months ago) by nathanw
Branch: nathanw_sa
Changes since 1.1: +0 -210 lines
FILE REMOVED

file acpi_wakecode.S was added on branch nathanw_sa on 2002-10-18 03:13:05 +0000

Revision 1.1.6.1, Tue Jun 18 07:25:13 2002 UTC (19 years, 11 months ago) by jdolecek
Branch: kqueue
Changes since 1.1: +0 -210 lines
FILE REMOVED

file acpi_wakecode.S was added on branch kqueue on 2002-09-06 08:35:52 +0000

Revision 1.1.4.1, Tue Jun 18 07:25:13 2002 UTC (19 years, 11 months ago) by gehenna
Branch: gehenna-devsw
Changes since 1.1: +0 -210 lines
FILE REMOVED

file acpi_wakecode.S was added on branch gehenna-devsw on 2002-07-16 08:28:58 +0000

Revision 1.1.2.1, Tue Jun 18 07:25:13 2002 UTC (19 years, 11 months ago) by tshiozak
Branch: sommerfeld_i386mp_1
Changes since 1.1: +0 -210 lines
FILE REMOVED

file acpi_wakecode.S was added on branch sommerfeld_i386mp_1 on 2002-06-18 07:25:14 +0000

Revision 1.1 / (download) - annotate - [select for diffs], Tue Jun 18 07:25:13 2002 UTC (19 years, 11 months ago) by tshiozak
Branch: MAIN
CVS Tags: sommerfeld_i386mpnext, sommerfeld_i386mpbase_1, nathanw_sa_before_merge, nathanw_sa_base, kqueue-beforemerge, kqueue-base, kqueue-aftermerge, gmcgarry_ucred_base, gmcgarry_ucred, gmcgarry_ctxsw_base, gmcgarry_ctxsw, gehenna-devsw-base, fvdl_fs64_base
Branch point for: sommerfeld_i386mp_1, nathanw_sa, ktrace-lwp, kqueue, gehenna-devsw

ACPI wake-up code for i386. but, we have no interface to use it efficiently.

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




CVSweb <webmaster@jp.NetBSD.org>