MCPcopy Create free account
hub / github.com/F-Stack/f-stack / default_parse_boot_param

Function default_parse_boot_param

freebsd/arm/arm/machdep_boot.c:310–327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

308#endif
309
310vm_offset_t
311default_parse_boot_param(struct arm_boot_params *abp)
312{
313 vm_offset_t lastaddr;
314
315#if defined(LINUX_BOOT_ABI)
316 if ((lastaddr = linux_parse_boot_param(abp)) != 0)
317 return lastaddr;
318#endif
319#if defined(FREEBSD_BOOT_LOADER)
320 if ((lastaddr = freebsd_parse_boot_param(abp)) != 0)
321 return lastaddr;
322#endif
323 /* Fall back to hardcoded metadata. */
324 lastaddr = fake_preload_metadata(abp, NULL, 0);
325
326 return lastaddr;
327}
328
329/*
330 * Stub version of the boot parameter parsing routine. We are

Callers

nothing calls this directly

Calls 3

linux_parse_boot_paramFunction · 0.70
freebsd_parse_boot_paramFunction · 0.70
fake_preload_metadataFunction · 0.70

Tested by

no test coverage detected