summaryrefslogtreecommitdiff
path: root/i386
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2007-08-04 10:23:49 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:27:11 +0200
commit53571e3955db5a22d06d402e11a65a21c6d8c866 (patch)
treed317857da9d210cadda330405156e1ba8258a32f /i386
parentb7e9f279ca67c2778c108a9c034ed87115d05f1e (diff)
2007-08-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
* i386/i386/locore.S (TIME_TRAP_UENTRY, TIME_TRAP_SENTRY) (TIME_TRAP_UEXIT): Use TH_SYSTEM_TIMER instead of old TH_SYS_TIMER.
Diffstat (limited to 'i386')
-rw-r--r--i386/i386/locore.S6
1 files changed, 3 insertions, 3 deletions
diff --git a/i386/i386/locore.S b/i386/i386/locore.S
index 422dc1a..b8e9067 100644
--- a/i386/i386/locore.S
+++ b/i386/i386/locore.S
@@ -127,7 +127,7 @@ LEXT(retry_table_end) ;\
addl %ebx,LOW_BITS(%ecx) /* add to low bits */ ;\
jns 0f /* if overflow, */ ;\
call timer_normalize /* normalize timer */ ;\
-0: addl $(TH_SYS_TIMER-TH_USER_TIMER),%ecx ;\
+0: addl $(TH_SYSTEM_TIMER-TH_USER_TIMER),%ecx ;\
/* switch to sys timer */;\
movl %ecx,CX(_current_timer,%edx) /* make it current */ ;\
sti /* allow interrupts */
@@ -151,7 +151,7 @@ LEXT(retry_table_end) ;\
pushl %eax /* save %eax */ ;\
call timer_normalize /* normalize timer */ ;\
popl %eax /* restore %eax */ ;\
-0: addl $(TH_SYS_TIMER-TH_USER_TIMER),%ecx ;\
+0: addl $(TH_SYSTEM_TIMER-TH_USER_TIMER),%ecx ;\
/* switch to sys timer */;\
movl %ecx,CX(_current_timer,%edx) /* make it current */ ;\
sti /* allow interrupts */
@@ -172,7 +172,7 @@ LEXT(retry_table_end) ;\
addl %ebx,LOW_BITS(%ecx) /* add to low bits */ ;\
jns 0f /* if overflow, */ ;\
call timer_normalize /* normalize timer */ ;\
-0: addl $(TH_USER_TIMER-TH_SYS_TIMER),%ecx ;\
+0: addl $(TH_USER_TIMER-TH_SYSTEM_TIMER),%ecx ;\
/* switch to user timer */;\
movl %ecx,CX(_current_timer,%edx) /* make it current */