pxa-interrupt
PATCH 1/1 pxa-interrupt
ChangeLog:
* Patch by Robert Schwebel, 14 May 2004:
get_timer() is supposed to return the difference between "now" and a "base".
Robert
Signature · 32 lines
Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
Pengutronix - Linux Solutions for Science and Industry
Handelsregister: Amtsgericht Hildesheim, HRA 2686
Hornemannstra?e 12, 31137 Hildesheim, Germany
Phone: +49-5121-28619-0 | Fax: +49-5121-28619-4
-------------- next part --------------
#
# Author: Robert Schwebel <[email protected]>
#
# Description: ChangeLog:
# * Patch by Robert Schwebel, 14 May 2004:
# get_timer() is supposed to return the difference
# between "now" and a "base".
#
# State: 2004-05-15: submitted
#
#
# Patch managed by http://www.mn-logistik.de/unsupported/pxa250/patcher
#
--- u-boot-patches/cpu/pxa/interrupts.c~pxainterrupt 2003-12-07 23:18:41.000000000 +0100
+++ u-boot-patches/cpu/pxa/interrupts.c 2003-12-09 08:53:02.000000000 +0100
@@ -165,7 +165,7 @@
ulong get_timer (ulong base)
{
- return get_timer_masked ();
+ return get_timer_masked () - base;
}
void set_timer (ulong t)PATCH 1/1 pxa-interrupt
Quoted 4 lines · In message <[email protected]> you wrote:
* Patch by Robert Schwebel, 14 May 2004:
get_timer()is supposed to return the difference between "now" and a "base".
Added, thanks.
Best regards,
Wolfgang Denk
Signature · 5 lines
Software Engineering: Embedded and Realtime Systems, Embedded Linux
Phone: (+49)-8142-4596-87 Fax: (+49)-8142-4596-88 Email: wd at denx.de
"...this does not mean that some of us should not want, in a rather
dispassionate sort of way, to put a bullet through csh's head."
- Larry Wall in <[email protected]>