blob: 529b6c98473e082898b456037bae69a560ae62b3 [file] [log] [blame]
Andrew Scull3c257452019-11-26 13:32:50 +00001/*
2 * Copyright 2019 The Hafnium Authors.
3 *
Andrew Walbrane959ec12020-06-17 15:01:09 +01004* Use of this source code is governed by a BSD-style
5* license that can be found in the LICENSE file or at
6* https://opensource.org/licenses/BSD-3-Clause.
Andrew Scull3c257452019-11-26 13:32:50 +00007 */
8
9#pragma once
10
11#include <span>
12#include <vector>
13
14namespace mm_test
15{
16std::vector<std::span<pte_t, MM_PTE_PER_PAGE>> get_ptable(
17 const struct mm_ptable &ptable);
18
19} /* namespace mm_test */