blob: 63d1416a6431d518457a8bf3bec81ad5c38c3e2a [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
#ifndef ZIRCON_KERNEL_PHYS_INCLUDE_PHYS_ARCH_H_
#define ZIRCON_KERNEL_PHYS_INCLUDE_PHYS_ARCH_H_
#include <lib/memalloc.h>
#include <lib/zbitl/items/mem_config.h>
// Perform any architecture-specific set up.
void ArchSetUp();
// Perform any architecture-specific address space set up that needs to
// be done prior to using memory outside the program's .data / .bss / etc.
void ArchSetUpAddressSpace(memalloc::Allocator& allocator, zbitl::MemRangeTable table);
#endif // ZIRCON_KERNEL_PHYS_INCLUDE_PHYS_ARCH_H_