blob: 36f7e425bfb936f7dcbb2a06c95c2fce8b011540 [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 <ktl/iterator.h>
#include <phys/symbolize.h>
#include "turducken.h"
#include <ktl/enforce.h>
// Declared in turducken.h.
const char* kTestName = "chain-load-test";
int TurduckenTest::Main(Zbi::iterator kernel_item) {
Load(kernel_item, ktl::next(kernel_item), boot_zbi().end());
Boot();
/*NOTREACHED*/
}