Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
xenomai
ipipe
Commits
4cf710e8
Commit
4cf710e8
authored
May 06, 2015
by
Don Mahurin
Committed by
Philippe Gerum
Feb 28, 2016
Browse files
arm64/ipipe: use virtual counter (cntvct) for tsc implementation.
parent
08aea424
Changes
1
Hide whitespace changes
Inline
Side-by-side
arch/arm64/kernel/ipipe.c
View file @
4cf710e8
...
...
@@ -50,6 +50,10 @@
#include
<asm/mmu_context.h>
#include
<asm/exception.h>
#ifndef CONFIG_IPIPE_ARM_KUSER_TSC
#include
<asm/arch_timer.h>
#endif
static
void
__ipipe_do_IRQ
(
unsigned
irq
,
void
*
cookie
);
#ifdef CONFIG_IPIPE_DEBUG_INTERNAL
...
...
@@ -591,6 +595,9 @@ void __ipipe_mach_get_tscinfo(struct __ipipe_tscinfo *info)
{
*
info
=
tsc_info
;
}
unsigned
long
long
__ipipe_mach_get_tsc
(
void
)
{
return
arch_counter_get_cntvct
();
}
#endif
#if defined(CONFIG_IPIPE_DEBUG) && defined(CONFIG_DEBUG_LL)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment