Commit Graph

27 Commits

Author SHA1 Message Date
dyoung
9a73ec4e1e Stop false uninitialized variable warning. 2003-10-27 22:48:20 +00:00
mycroft
1d19abe12e Remove optimization hack. 2003-10-26 16:34:07 +00:00
lukem
4b2744bf35 __KERNEL_RCSID() 2003-07-15 02:43:09 +00:00
tsutsui
92896ac2a1 Add a null asm statement in adb_read_date_time()
to avoid wrong reordering by gcc-2.95.3 with -fgcse.

XXX Should we disable -fgcse everywhere?
2002-05-05 18:36:03 +00:00
tsutsui
87ebd3218c Backout previous. It is not timing problem, but gcc optimization bug. 2002-05-05 18:29:06 +00:00
tsutsui
8f9d2b8500 Add a delay() in adb_read_date_time() so that my Apus2000 can get
correct date in inittodr().
2002-04-29 10:15:29 +00:00
dbj
b97918f553 In adb_soft_intr, remove the packet from the queue before calling the
completion routine so that the completion routine can reentrantly
process the queue.  This happens, for example. when polling is turned
on by entering the debugger by keystroke.
2002-02-23 10:47:16 +00:00
dbj
920e8af571 add some error checks in adb_reinit, enabled with ADB_DEBUG and adb_debug 2002-01-02 20:30:45 +00:00
tsubai
3070e77046 Remove (#if 0'ed) m68k asm codes. 2001-08-03 23:09:42 +00:00
simonb
d4bcd9c735 Add/change prototypes so that macpcc builds with -Wstrict-prototypes. 2001-06-19 12:02:55 +00:00
matt
d2f0c68d47 Make macppc compile by default with -Wall -Wmissing-prototype in addition
to its currently enabled warnings.  For the lack of a better place, most
global function prototype wound up in <machine/autoconf.h> unless there
was a better place for them.  ofb_* structs renamed to offb_* to avoid
conflict with ofb_softc in <dev/ofw/openfirm.h>
2001-06-08 00:32:01 +00:00
tsubai
158796407f Adjust timing for pmu99. Internal keyboard of recent PowerBooks
should work now.
2001-04-01 10:40:45 +00:00
tsubai
0f4768af30 Sync with mac68k. 2000-12-19 02:50:11 +00:00
tsubai
649f6d3838 Sync with mac68k. 2000-06-08 22:10:45 +00:00
thorpej
7b918b4088 New callout mechanism with two major improvements over the old
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
  resource allocation.
- Insertion and removal of callouts is constant time, important as
  this facility is used quite a lot in the kernel.

The old timeout()/untimeout() API has been removed from the kernel.
2000-03-23 06:40:33 +00:00
tsubai
22a3504708 Make this work on the G4 too. 2000-01-27 17:39:20 +00:00
tsubai
a192e5bd20 Enable soft poweroff on PowerBook. 1999-07-11 16:59:31 +00:00
tsubai
2068c8b6e4 Use RTC on PB. 1999-06-22 11:29:11 +00:00
tsubai
90a73bba2c Always use polling when poweroff/restart. 1999-01-12 10:38:00 +00:00
tsubai
f917584d54 Add more delay in adb_reinit(). 1998-11-24 08:26:50 +00:00
tsubai
7c939afccf RTC support for pmu (read only). 1998-11-15 19:41:33 +00:00
tsubai
1bf603b543 Sync to mac68k. 1998-11-05 11:46:07 +00:00
tsubai
8634976fb2 Move conversion of PRAM-time to UNIX-time to clock.c (like mac68k). 1998-11-04 15:06:13 +00:00
tsubai
6f402eb495 Add via-pmu support (only PowerBook 2400c/180 is tested). 1998-10-20 14:56:30 +00:00
tsubai
7756c05cc4 Split ADB driver to aed (ADB event device), akbd (ADB keyboard),
and ams (ADB mouse).  adb is a bus now.  (from Colin Wood)
1998-10-13 11:21:20 +00:00
tsubai
57d093fa36 Powerdown support. 1998-06-26 14:18:08 +00:00
tsubai
2be6df07c6 Initial import of macppc port. 1998-05-15 10:15:45 +00:00