Searched refs:kernel_code (Results 1 – 3 of 3) sorted by relevance
81 #define kernel_code mem_res[0] macro197 kernel_code.start = virt_to_phys(_stext); in request_standard_resources()198 kernel_code.end = virt_to_phys(_etext - 1); in request_standard_resources()214 if (kernel_code.start >= res->start && in request_standard_resources()215 kernel_code.end <= res->end) in request_standard_resources()216 request_resource(res, &kernel_code); in request_standard_resources()
54 static struct resource __initdata kernel_code = { variable68 static struct resource *__initdata reserved = &kernel_code;83 kernel_code.start = __pa(init_mm.start_code); in resource_init()567 kernel_code.start = __pa(__init_begin); in setup_arch()568 kernel_code.end = __pa(init_mm.end_code - 1); in setup_arch()
178 #define kernel_code mem_res[1] macro605 kernel_code.start = virt_to_phys(_text); in request_standard_resources()606 kernel_code.end = virt_to_phys(_etext - 1); in request_standard_resources()619 if (kernel_code.start >= res->start && in request_standard_resources()620 kernel_code.end <= res->end) in request_standard_resources()621 request_resource(res, &kernel_code); in request_standard_resources()