boot loader: Wire up net_stack_cleanup()
Add a platform cleanup hook before starting the kernel. The openfirmware and PXE loaders clean up their network stack there, while the other loaders currently do nothing. This closes ticket #6166 Change-Id: I34765892dfd9b2310c6af97c9ff7d414afae49e5 Reviewed-on: https://review.haiku-os.org/c/50 Reviewed-by: Adrien Destugues <[email protected]> Reviewed-by: waddlesplash <[email protected]>
This commit is contained in:
committed by
waddlesplash
parent
8741bcf4f1
commit
e1b41d44a3
@@ -61,6 +61,7 @@ extern status_t platform_add_block_devices(struct stage2_args *args, NodeList *d
|
||||
extern status_t platform_get_boot_partitions(struct stage2_args *args, Node *bootDevice,
|
||||
NodeList *partitions, NodeList *bootPartitions);
|
||||
extern status_t platform_register_boot_device(Node *device);
|
||||
extern void platform_cleanup_devices();
|
||||
|
||||
/* menu functions */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user