Function report |
Source Code:arch\x86\kernel\kexec-bzimage64.c |
Create Date:2022-07-28 08:37:40 |
Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
home page | Tree |
Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:bzImage64_probe
Proto:static int bzImage64_probe(const char *buf, unsigned long len)
Type:int
Parameter:
Type | Parameter | Name |
---|---|---|
const char * | buf | |
unsigned long | len |
278 | If len < 2 * 512 Then |
283 | header = buf + offsetof(structboot_params, hdr) |
289 | If boot_flag != 0xAA55 Then |
294 | If version < 0x020C Then |
304 | If Not (xloadflags & xloadflags ) Then |
309 | If Not (xloadflags & XLF_CAN_BE_LOADED_ABOVE_4G) Then |
318 | If efi_enabled(Can we use runtime services? ) && Not efi_enabled(Is the firmware 64-bit? ) Then |
323 | If Not (xloadflags & XLF_5LEVEL) && pgtable_l5_enabled() Then |
329 | pr_debug("It's a relocatable bzImage64\n") |
330 | ret = 0 |
332 | Return ret |
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 |