Home
last modified time | relevance | path

Searched refs:code_resource (Results 1 – 3 of 3) sorted by relevance

/linux/arch/sh/kernel/
H A Dsetup.c79 static struct resource code_resource = { variable
220 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()
/linux/arch/loongarch/kernel/
H A Dsetup.c81 static struct resource code_resource = { .name = "Kernel code", }; variable
428 code_resource.start = __pa_symbol(&_text); in resource_init()
429 code_resource.end = __pa_symbol(&_etext) - 1; in resource_init()
460 request_resource(res, &code_resource); in resource_init()
/linux/arch/sparc/mm/
H A Dinit_64.c3035 static struct resource code_resource = { variable
3057 code_resource.start = compute_kern_paddr(_text); in kernel_lds_init()
3058 code_resource.end = compute_kern_paddr(_etext - 1); in kernel_lds_init()
3090 insert_resource(res, &code_resource); in report_memory()