Server IP : 15.235.198.142 / Your IP : 216.73.216.149 Web Server : Apache/2.4.58 (Ubuntu) System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 8.3.6 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /proc/self/root/usr/src/linux-headers-6.8.0-60/arch/openrisc/include/asm/ |
Upload File : |
/* SPDX-License-Identifier: GPL-2.0-or-later */ /* * OpenRISC Linux * * Linux architectural port borrowing liberally from similar works of * others. All original copyrights apply as per the original source * declaration. * * OpenRISC implementation: * Copyright (C) 2010-2011 Jonas Bonn <jonas@southpole.se> */ #ifndef __ASM_OPENRISC_TIMEX_H #define __ASM_OPENRISC_TIMEX_H #define get_cycles get_cycles #include <asm-generic/timex.h> #include <asm/spr.h> #include <asm/spr_defs.h> static inline cycles_t get_cycles(void) { return mfspr(SPR_TTCR); } #define get_cycles get_cycles /* This isn't really used any more */ #define CLOCK_TICK_RATE 1000 #define ARCH_HAS_READ_CURRENT_TIMER #endif