blob: 00f925ce8835c9cfb9d3f811cf8faef8ecd823c6 [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) {
ArchUartDriverHandoffEarly(gBootOptions->serial);
ArchDriverHandoffEarly(handoff.arch_handoff);
}
void DriverHandoffLate(const PhysHandoff& handoff) {
ArchUartDriverHandoffLate(gBootOptions->serial);
ArchDriverHandoffLate(handoff.arch_handoff);
}