arch/nios2/include/asm/timex.h

Source file repositories/reference/linux-study-clean/arch/nios2/include/asm/timex.h

File Facts

System
Linux kernel
Corpus path
arch/nios2/include/asm/timex.h
Extension
.h
Size
367 bytes
Lines
16
Domain
Architecture Layer
Bucket
arch/nios2
Inferred role
Architecture Layer: implementation source
Status
source implementation candidate

Why This File Exists

CPU and platform-specific kernel glue: boot entry, traps, syscall entry, interrupts, page tables, context switch, and low-level barriers.

Dependency Surface

Detected Declarations

Annotated Snippet

#ifndef _ASM_NIOS2_TIMEX_H
#define _ASM_NIOS2_TIMEX_H

typedef unsigned long cycles_t;

extern cycles_t get_cycles(void);
#define get_cycles get_cycles

#define random_get_entropy() (((unsigned long)get_cycles()) ?: random_get_entropy_fallback())

#endif

Annotation

Implementation Notes