Searched refs:code_res (Results 1 – 1 of 1) sorted by relevance
79 static struct resource code_res = { .name = "Kernel code", }; variable113 code_res.start = __pa_symbol(_text); in add_kernel_resources()114 code_res.end = __pa_symbol(_etext) - 1; in add_kernel_resources()115 code_res.flags = IORESOURCE_SYSTEM_RAM | IORESOURCE_BUSY; in add_kernel_resources()129 kimage_res.start = code_res.start; in add_kernel_resources()137 ret = add_resource(&kimage_res, &code_res); in add_kernel_resources()