Function report |
Source Code:arch\x86\kernel\crash.c |
Create Date:2022-07-28 08:37:22 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:crash_load_segments
Proto:int crash_load_segments(struct kimage *image)
Type:int
Parameter:
| Type | Parameter | Name |
|---|---|---|
| struct kimage * | image |
| 410 | elf_headers = buffer |
| 411 | elf_headers_sz = bufsz |
| 415 | mem = If kexec_buf.mem is set to this value, kexec_locate_mem_hole()* will try to allocate free memory. Arch may overwrite it. |
| 416 | ret = kexec_add_buffer( & kbuf) |
| 417 | If ret Then |
| 418 | vfree((void * )elf_headers) |
| 419 | Return ret |
| 421 | elf_load_addr = mem |
| 422 | pr_debug("Loaded ELF headers at 0x%lx bufsz=0x%lx memsz=0x%lx\n", elf_load_addr, bufsz, bufsz) |
| 425 | Return ret |
| Name | Describe |
|---|---|
| bzImage64_load |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |