History log of /src/sys/arch/macppc/dev/pm_direct.c |
Revision | | Date | Author | Comments |
1.39 |
| 02-Jun-2024 |
andvar | fix various typos in word `interrupt', mainly in comments.
|
1.38 |
| 09-Feb-2022 |
andvar | fix various typos in comments.
|
1.37 |
| 18-Mar-2009 |
cegger | Ansify function definitions w/o arguments. Generated with sed.
|
1.36 |
| 14-Mar-2009 |
dsl | ANSIfy another 1261 function definitions. The only ones left in sys are beyond by sed script! (or in sys/dist or sys/external) Mostly they have function pointer parameters.
|
1.35 |
| 14-Mar-2009 |
dsl | Change about 4500 of the K&R function definitions to ANSI ones. There are still about 1600 left, but they have ',' or /* ... */ in the actual variable definitions - which my awk script doesn't handle. There are also many that need () -> (void). (The script does handle misordered arguments.)
|
1.34 |
| 14-Mar-2009 |
dsl | Remove all the __P() from sys (excluding sys/dist) Diff checked with grep and MK1 eyeball. i386 and amd64 GENERIC and sys still build.
|
1.33 |
| 07-Nov-2007 |
garbled | branches: 1.33.18; 1.33.26; 1.33.32; Convert macppc to shared ofw_autoconf.c. Compile tested only.
|
1.32 |
| 17-Oct-2007 |
garbled | branches: 1.32.2; 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.
|
1.31 |
| 24-Jan-2007 |
hubertf | branches: 1.31.6; 1.31.14; 1.31.22; 1.31.24; 1.31.26; 1.31.28; Remove duplicate #includes, patch contributed in private mail by Slava Semushin <slava.semushin@gmail.com>.
To verify that no nasty side effects of duplicate includes (or their removal) have an effect here, I've compiled an i386/ALL kernel with and without the patch, and the only difference in the resulting .o files was in shifted line numbers in some assert() calls. The comparison of the .o files was based on the output of "objdump -D".
Thanks to martin@ for the input on testing.
|
1.30 |
| 07-Jun-2006 |
kardel | branches: 1.30.6; avoid shadowing time while it still exists
|
1.29 |
| 11-Dec-2005 |
christos | branches: 1.29.4; 1.29.6; 1.29.8; 1.29.14; merge ktrace-lwp.
|
1.28 |
| 07-Jun-2005 |
jmmv | branches: 1.28.2; Constify char* arguments to pm_printerr. Fixes the build when ADB_DEBUG is set.
Note that only the first argument needed to be constified to solve the issue, but given the usage of the arguments in the function, it's worth to constify all of them.
|
1.27 |
| 05-Jun-2005 |
nathanw | Rearrange some of the ADB types and void * abuse to make -Wcast-qual happy in the presence of the "volatile int flag" construct. Fix up a variety of calls to pass NULL instead of (Ptr)0 to maintain function-pointer safety.
|
1.26 |
| 27-Apr-2005 |
briggs | Correctly match battery types. Old function would end up matching a zero-length string. Noted in PR port-macppc/30034 by Magnus Henoch. Patched as in the PR.
|
1.25 |
| 01-Feb-2005 |
briggs | Strip old "pm1" code. All PPC PMUs are "pm2" style. Two benefits: * Cleans code up a bit, and * Reduces the call stack for PMU interrupts.
|
1.24 |
| 01-Feb-2005 |
briggs | Remove one level of interrupt redirection by switching on the ADB hardware type and registering a Cuda or PMU interrupt handler specifically instead of an intermediate interrupt handler.
|
1.23 |
| 01-Feb-2005 |
briggs | Add a PMU initialization call at ADB init time. This probes the machine type for PMU / battery information, then uses that when getting battery information for APM. Allows older PowerBooks (pre-smart batteries) to function with apm enabled in the kernel. Thanks to Linux code for battery information for these old batteries. Something is still odd, though, because a charging battery can show > 100% when it's near to full charge.
Enable more interrupts from PMU and handle PB3400 card eject buttons properly, too.
Also use #defines for commands instead of raw hex codes.
|
1.22 |
| 01-Feb-2005 |
briggs | Calculate and use seconds of power remaining for smart battery types.
|
1.21 |
| 07-Jan-2005 |
briggs | branches: 1.21.2; 1.21.4; - If pm_pmgrop_pm2() fails, return after splx() -- there's no sense in continuing. - Note that there really needs to be bounds-checking on PMData.
|
1.20 |
| 15-Jul-2003 |
lukem | __KERNEL_RCSID()
|
1.19 |
| 18-Jun-2002 |
itojun | branches: 1.19.6; apm emulation, from openbsd
|
1.18 |
| 18-Jun-2002 |
itojun | KNF (whitespace)
|
1.17 |
| 02-Jan-2002 |
dbj | branches: 1.17.8; if pm_adb_op times out waiting for an interrupt, attempt to take an interrupt anyway, just in case. Otherwise, report the timout condition. This works around a problem in my ibook if a key is pressed after boot and before adb is configured, such as when booting with -d.
|
1.16 |
| 16-Sep-2001 |
wiz | branches: 1.16.4; Grammar improvements in comments.
|
1.15 |
| 16-Sep-2001 |
wiz | Spell 'occurred' with two 'r's.
|
1.14 |
| 03-Aug-2001 |
tsubai | branches: 1.14.2; Remove (#if 0'ed) m68k asm codes.
|
1.13 |
| 22-Jul-2001 |
wiz | bcopy -> memcpy, bzero -> memset, bcmp -> memcmp. Reviewed by Matt Thomas, ok'd by Tsubai Masanari.
|
1.12 |
| 01-Apr-2001 |
tsubai | branches: 1.12.2; Adjust timing for pmu99. Internal keyboard of recent PowerBooks should work now.
|
1.11 |
| 28-Feb-2001 |
tsubai | branches: 1.11.2; Back out previous change. It was harmful on my PowerBook G3.
|
1.10 |
| 27-Feb-2001 |
matt | Enable a fix so that PowerBook(FireWire) keyboards work. This should also work on iBooks and PowerBook(WallStreet). And if we're really lucky, on the new G4 laptops.
|
1.9 |
| 08-Jun-2000 |
tsubai | branches: 1.9.2; Sync with mac68k.
|
1.8 |
| 05-Sep-1999 |
tsubai | branches: 1.8.2; 1.8.10; Recognize PCMCIA eject button. (Tested on only PowerBook 2400.)
|
1.7 |
| 12-Jul-1999 |
tsubai | Add read/set LCD brightness and eject PCMCIA card function.
|
1.6 |
| 11-Jul-1999 |
tsubai | Enable soft poweroff on PowerBook.
|
1.5 |
| 22-Jun-1999 |
tsubai | NVRAM read/write functions.
|
1.4 |
| 22-Jun-1999 |
tsubai | Use RTC on PB.
|
1.3 |
| 07-Dec-1998 |
tsubai | branches: 1.3.6; Fix a typo.
|
1.2 |
| 15-Nov-1998 |
tsubai | RTC support for pmu (read only).
|
1.1 |
| 20-Oct-1998 |
tsubai | Oops, forgot to add them.
|
1.3.6.2 |
| 02-Aug-1999 |
thorpej | Update from trunk.
|
1.3.6.1 |
| 01-Jul-1999 |
thorpej | Sync w/ -current.
|
1.8.10.1 |
| 22-Jun-2000 |
minoura | Sync w/ netbsd-1-5-base.
|
1.8.2.2 |
| 21-Apr-2001 |
bouyer | Sync with HEAD
|
1.8.2.1 |
| 20-Nov-2000 |
bouyer | Update thorpej_scsipi to -current as of a month ago A i386 GENERIC kernel compiles without the siop, ahc and bha drivers (will be updated later). i386 IDE/ATAPI and ncr work, as well as sparc/esp_sbus. alpha should work as well (untested yet). siop, ahc and bha will be updated once I've updated the branch to current -current, as well as machine-dependant code.
|
1.9.2.1 |
| 01-Apr-2001 |
he | Pull up revision 1.12 (requested by tsubai): Fix Keyboard problem of recent PowerBooks (Pismo, PowerBook G4, etc.).
|
1.11.2.1 |
| 09-Apr-2001 |
nathanw | Catch up with -current.
|
1.12.2.4 |
| 06-Sep-2002 |
jdolecek | sync kqueue branch with HEAD
|
1.12.2.3 |
| 10-Jan-2002 |
thorpej | Sync kqueue branch with -current.
|
1.12.2.2 |
| 25-Aug-2001 |
thorpej | Merge Aug 24 -current into the kqueue branch.
|
1.12.2.1 |
| 03-Aug-2001 |
lukem | update to -current
|
1.14.2.1 |
| 01-Oct-2001 |
fvdl | Catch up with -current.
|
1.16.4.4 |
| 20-Jun-2002 |
nathanw | Catch up to -current.
|
1.16.4.3 |
| 28-Feb-2002 |
nathanw | Catch up to -current.
|
1.16.4.2 |
| 11-Jan-2002 |
nathanw | More catchup.
|
1.16.4.1 |
| 16-Sep-2001 |
nathanw | file pm_direct.c was added on branch nathanw_sa on 2002-01-11 23:38:35 +0000
|
1.17.8.1 |
| 16-Jul-2002 |
gehenna | catch up with -current.
|
1.19.6.6 |
| 10-Nov-2005 |
skrll | Sync with HEAD. Here we go again...
|
1.19.6.5 |
| 04-Feb-2005 |
skrll | Sync with HEAD.
|
1.19.6.4 |
| 17-Jan-2005 |
skrll | Sync with HEAD.
|
1.19.6.3 |
| 21-Sep-2004 |
skrll | Fix the sync with head I botched.
|
1.19.6.2 |
| 18-Sep-2004 |
skrll | Sync with HEAD.
|
1.19.6.1 |
| 03-Aug-2004 |
skrll | Sync with HEAD
|
1.21.4.1 |
| 12-Feb-2005 |
yamt | sync with head.
|
1.21.2.1 |
| 29-Apr-2005 |
kent | sync with -current
|
1.28.2.4 |
| 15-Nov-2007 |
yamt | sync with head.
|
1.28.2.3 |
| 27-Oct-2007 |
yamt | sync with head.
|
1.28.2.2 |
| 26-Feb-2007 |
yamt | sync with head.
|
1.28.2.1 |
| 21-Jun-2006 |
yamt | sync with head.
|
1.29.14.1 |
| 19-Jun-2006 |
chap | Sync with head.
|
1.29.8.1 |
| 26-Jun-2006 |
yamt | sync with head.
|
1.29.6.1 |
| 22-Apr-2006 |
simonb | Fix some shadowed variable warnings.
|
1.29.4.1 |
| 09-Sep-2006 |
rpaulo | sync with head
|
1.30.6.1 |
| 01-Feb-2007 |
ad | Sync with head.
|
1.31.28.2 |
| 13-Nov-2007 |
bouyer | Sync with HEAD
|
1.31.28.1 |
| 25-Oct-2007 |
bouyer | Sync with HEAD.
|
1.31.26.1 |
| 18-Oct-2007 |
yamt | sync with head.
|
1.31.24.2 |
| 08-Nov-2007 |
matt | sync with -HEAD
|
1.31.24.1 |
| 06-Nov-2007 |
matt | sync with HEAD
|
1.31.22.2 |
| 11-Nov-2007 |
joerg | Sync with HEAD.
|
1.31.22.1 |
| 26-Oct-2007 |
joerg | 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.
|
1.31.14.1 |
| 07-Jun-2007 |
garbled | Convert macppc to powerpc bus_space. Lots of work here from Matt Thomas, as well as the common ofwoea code from myself. Compile tested only, still probably needs some fine tuning.
Also in this commit: Convert macppc to new shared ofwoea routines. Lots of KNF.
|
1.31.6.2 |
| 03-Dec-2007 |
ad | Sync with HEAD.
|
1.31.6.1 |
| 23-Oct-2007 |
ad | Sync with head.
|
1.32.2.1 |
| 19-Nov-2007 |
mjf | Sync with HEAD.
|
1.33.32.1 |
| 13-May-2009 |
jym | Sync with HEAD.
Commit is split, to avoid a "too many arguments" protocol error.
|
1.33.26.1 |
| 28-Apr-2009 |
skrll | Sync with HEAD.
|
1.33.18.1 |
| 04-May-2009 |
yamt | sync with head.
|