Palacios Public Git Repository

To checkout Palacios execute

  git clone http://v3vee.org/palacios/palacios.web/palacios.git
This will give you the master branch. You probably want the devel branch or one of the release branches. To switch to the devel branch, simply execute
  cd palacios
  git checkout --track -b devel origin/devel
The other branches are similar.


Merge branch 'devel'
[palacios.git] / kitten / include / arch-x86_64 / cache.h
1 /*
2  * include/arch-x86_64/cache.h
3  */
4 #ifndef _ARCH_CACHE_H
5 #define _ARCH_CACHE_H
6
7 /* L1 cache line size */
8 #define L1_CACHE_SHIFT          (CONFIG_X86_L1_CACHE_SHIFT)
9 #define L1_CACHE_BYTES          (1 << L1_CACHE_SHIFT)
10
11 /* Inter-node cache line size for NUMA systems */
12 #define INTERNODE_CACHE_SHIFT   (CONFIG_X86_INTERNODE_CACHE_SHIFT)
13 #define INTERNODE_CACHE_BYTES   (1 << INTERNODE_CACHE_SHIFT)
14
15 #define __read_mostly __attribute__((__section__(".data.read_mostly")))
16
17 #endif