| 308 | #endif |
| 309 | |
| 310 | vm_offset_t |
| 311 | default_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 |
nothing calls this directly
no test coverage detected