10 PAGE_SHIFT = ARCH_PAGE_SHIFT,
11 PAGE_SIZE = 1 << PAGE_SHIFT,
12 PAGE_MASK = ~(PAGE_SIZE - 1),
15 SUPERPAGE_SIZE = 1 << SUPERPAGE_SHIFT,
16 SUPERPAGE_MASK = ~(SUPERPAGE_SIZE -1),
24 #ifdef CONFIG_ONE_SHOT
25 scheduler_one_shot = 1,
26 scheduler_granularity = 1UL,
27 default_time_slice = 10000 * scheduler_granularity,
29 scheduler_one_shot = 0,
30 scheduler_granularity = 1000UL,
31 default_time_slice = 10 * scheduler_granularity,
40 // the default uart to use for serial console
41 static unsigned const default_console_uart = 3;
42 static unsigned const default_console_uart_baudrate = 115200;
44 static const bool getchar_does_hlt = false;
45 static const bool getchar_does_hlt_works_ok = true;
46 static const char char_micro;
47 static const bool enable_io_protection = false;
49 #ifdef CONFIG_VMEM_ALLOC_TEST
50 static bool const VMEM_ALLOC_TEST = true;
52 static bool const VMEM_ALLOC_TEST = false;
55 static const bool cache_enabled = true;
59 #ifdef CONFIG_ARM_CA9_ENABLE_SWP
60 Cp15_c1_use_a9_swp_enable = 1,
62 Cp15_c1_use_a9_swp_enable = 0,
64 #ifdef CONFIG_ARM_ALIGNMENT_CHECK
65 Cp15_c1_use_alignment_check = 1,
67 Cp15_c1_use_alignment_check = 0,
70 Support_arm_linux_cache_API = 1,
75 //---------------------------------------------------------------------------
78 char const Config::char_micro = '\265';
79 const char *const Config::kernel_warn_config_string = 0;
81 //---------------------------------------------------------------------------
82 IMPLEMENTATION [arm && serial]:
87 serial_esc = SERIAL_ESC_IRQ;
91 //---------------------------------------------------------------------------
92 IMPLEMENTATION [arm && !serial]:
98 //---------------------------------------------------------------------------
99 IMPLEMENTATION [armv6plus]:
103 KIP_KERNEL_FEATURE("armv6plus");