kernel
Loading...
Searching...
No Matches
behavior.h
Go to the documentation of this file.
1/*++
2
3Module Name:
4
5 behavior.h
6
7Purpose:
8
9 This module contains the macros & definitions that affect the behavior of the OS by changing preprocessor directives.
10
11Author:
12
13 slep (Matanel) 2025.
14
15Revision History:
16
17--*/
18
19#ifndef X86_MATANEL_BEHAVIOR_H
20#define X86_MATANEL_BEHAVIOR_H
21
22//#define MT_UP // Uncomment to define the system to run in UniProcessor mode (will NOT enable SMP, undefs spinlocks)
23
24//#define DISABLE_CACHE // Uncomment to disable CPU Caching on ALL CPUs.
25
26//#define DISABLE_GOP // Uncomment to disable gop framebuffer prints. (gop_printf)
27
28//#define MT_NO_PREEMPTION // Uncomment to force cooperative scheduling (yielding only, no forceful context switch).
29
30//#define PERFORMANCE_ANALYTICS // Uncomment to increment performance analytics global fields (like hyperspace mappings done, etc.)
31
32// Other Behavioural Macros TODO:
33// POOL_TAGGING (debug pool allocs)
34
35#endif