blob: 884bfb55fdd0ed8192148e71c884810cdc204b27 [file] [log] [blame]
// Copyright 2021 The Fuchsia Authors
//
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file or at
// https://opensource.org/licenses/MIT
#include <lib/boot-options/boot-options.h>
#include <zircon/assert.h>
#include <dev/init.h>
#include <phys/handoff.h>
void DriverHandoffEarly(const PhysHandoff& handoff) {
UartDriverHandoffEarly(gBootOptions->serial);
PlatformDriverHandoffEarly(handoff.arch_handoff);
}
void DriverHandoffLate(const PhysHandoff& handoff) {
UartDriverHandoffLate(gBootOptions->serial);
PlatformDriverHandoffLate(handoff.arch_handoff);
}