Skip to content

Instantly share code, notes, and snippets.

@paranlee
Last active June 2, 2021 10:59
Show Gist options
  • Select an option

  • Save paranlee/a11701815de45fc013080c84cc633c3b to your computer and use it in GitHub Desktop.

Select an option

Save paranlee/a11701815de45fc013080c84cc633c3b to your computer and use it in GitHub Desktop.
Linux kernel v5.4.123 64bit RISC-V linux/arch/riscv/include/asm/cache.h
/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (C) 2017 Chen Liqin <liqin.chen@sunplusct.com>
* Copyright (C) 2012 Regents of the University of California
*/
#ifndef _ASM_RISCV_CACHE_H
#define _ASM_RISCV_CACHE_H
#define L1_CACHE_SHIFT 6
#define L1_CACHE_BYTES (1 << L1_CACHE_SHIFT)
#endif /* _ASM_RISCV_CACHE_H */
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment