OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [linux/] [linux-2.4/] [include/] [asm-ia64/] [timex.h] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1275 phoenix
#ifndef _ASM_IA64_TIMEX_H
2
#define _ASM_IA64_TIMEX_H
3
 
4
/*
5
 * Copyright (C) 1998-2001 Hewlett-Packard Co
6
 * Copyright (C) 1998-2001 David Mosberger-Tang <davidm@hpl.hp.com>
7
 */
8
/*
9
 * 2001/01/18 davidm    Removed CLOCK_TICK_RATE.  It makes no sense on IA-64.
10
 *                      Also removed cacheflush_time as it's entirely unused.
11
 */
12
 
13
typedef unsigned long cycles_t;
14
 
15
static inline cycles_t
16
get_cycles (void)
17
{
18
        cycles_t ret;
19
 
20
        __asm__ __volatile__ ("mov %0=ar.itc" : "=r"(ret));
21
        return ret;
22
}
23
 
24
#define vxtime_lock()           do {} while (0)
25
#define vxtime_unlock()         do {} while (0)
26
 
27
#endif /* _ASM_IA64_TIMEX_H */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.