arch/arm/include/asm/timex.h

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

File Facts

System
Linux kernel
Corpus path
arch/arm/include/asm/timex.h
Extension
.h
Size
431 bytes
Lines
17
Domain
Architecture Layer
Bucket
arch/arm
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 _ASMARM_TIMEX_H
#define _ASMARM_TIMEX_H

typedef unsigned long cycles_t;
#define get_cycles()	({ cycles_t c; read_current_timer(&c) ? 0 : c; })
#define random_get_entropy() (((unsigned long)get_cycles()) ?: random_get_entropy_fallback())

#endif

Annotation

Implementation Notes