Searched refs:code_resource (Results 1 – 7 of 7) sorted by relevance
79 static struct resource code_resource = { variable220 request_resource(res, &code_resource); in __add_active_range()295 code_resource.start = virt_to_phys(_text); in setup_arch()296 code_resource.end = virt_to_phys(_etext)-1; in setup_arch()
80 static struct resource code_resource = { .name = "Kernel code", }; variable425 code_resource.start = __pa_symbol(&_text); in resource_init()426 code_resource.end = __pa_symbol(&_etext) - 1; in resource_init()457 request_resource(res, &code_resource); in resource_init()
82 static struct resource code_resource = { .name = "Kernel code", }; variable697 code_resource.start = __pa_symbol(&_text); in resource_init()698 code_resource.end = __pa_symbol(&_etext) - 1; in resource_init()729 request_resource(res, &code_resource); in resource_init()
100 static struct resource code_resource = { variable845 code_resource.start = __pa_symbol(_text); in setup_arch()846 code_resource.end = __pa_symbol(_etext)-1; in setup_arch()922 insert_resource(&iomem_resource, &code_resource); in setup_arch()
54 static struct resource code_resource = { variable321 code_resource.start = virt_to_phys(_text); in setup_bootmem()322 code_resource.end = virt_to_phys(&data_start)-1; in setup_bootmem()329 request_resource(res, &code_resource); in setup_bootmem()
479 static struct resource code_resource = { variable495 &code_resource,507 code_resource.start = __pa_symbol(_text); in setup_resources()508 code_resource.end = __pa_symbol(_etext) - 1; in setup_resources()
3053 static struct resource code_resource = { variable3075 code_resource.start = compute_kern_paddr(_text); in kernel_lds_init()3076 code_resource.end = compute_kern_paddr(_etext - 1); in kernel_lds_init()3108 insert_resource(res, &code_resource); in report_memory()