forked from Qortal/Brooklyn
* 0day explit mitigation * Memory corruption prevention * Privilege escalation prevention * Buffer over flow prevention * File System corruption defense * Thread escape prevention This may very well be the most intensive inclusion to BrooklynR. This will not be part of an x86 suite nor it will be released as tool kit. The security core toolkit will remain part of kernel base.
13 lines
349 B
C
13 lines
349 B
C
#ifndef __ASM_GENERIC_CACHE_H
|
|
#define __ASM_GENERIC_CACHE_H
|
|
/*
|
|
* 32 bytes appears to be the most common cache line size,
|
|
* so make that the default here. Architectures with larger
|
|
* cache lines need to provide their own cache.h.
|
|
*/
|
|
|
|
#define L1_CACHE_SHIFT 5UL
|
|
#define L1_CACHE_BYTES (1UL << L1_CACHE_SHIFT)
|
|
|
|
#endif /* __ASM_GENERIC_CACHE_H */
|