arch/riscv/include/asm/dma-noncoherent.h

Source file repositories/reference/linux-study-clean/arch/riscv/include/asm/dma-noncoherent.h

File Facts

System
Linux kernel
Corpus path
arch/riscv/include/asm/dma-noncoherent.h
Extension
.h
Size
835 bytes
Lines
29
Domain
Architecture Layer
Bucket
arch/riscv
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

struct riscv_nonstd_cache_ops {
	void (*wback)(phys_addr_t paddr, size_t size);
	void (*inv)(phys_addr_t paddr, size_t size);
	void (*wback_inv)(phys_addr_t paddr, size_t size);
};

extern struct riscv_nonstd_cache_ops noncoherent_cache_ops;

void riscv_noncoherent_register_cache_ops(const struct riscv_nonstd_cache_ops *ops);

#endif	/* __ASM_DMA_NONCOHERENT_H */

Annotation

Implementation Notes