mirror of
https://github.com/ipxe/ipxe
synced 2025-12-31 06:49:20 +03:00
[Settings] Convert code in src/usr to use settings API.
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include <gpxe/ata.h>
|
||||
#include <gpxe/netdevice.h>
|
||||
#include <gpxe/dhcp.h>
|
||||
#include <gpxe/settings.h>
|
||||
#include <gpxe/abft.h>
|
||||
#include <int13.h>
|
||||
#include <usr/aoeboot.h>
|
||||
@@ -55,7 +56,7 @@ int aoeboot ( const char *root_path ) {
|
||||
container_of ( ata.backend, struct aoe_session, refcnt );
|
||||
abft_fill_data ( aoe );
|
||||
|
||||
drive.drive = find_global_dhcp_num_option ( DHCP_EB_BIOS_DRIVE );
|
||||
drive.drive = fetch_uintz_setting ( NULL, DHCP_EB_BIOS_DRIVE );
|
||||
drive.blockdev = &ata.blockdev;
|
||||
|
||||
register_int13_drive ( &drive );
|
||||
|
||||
Reference in New Issue
Block a user