blob: 01be77ca6aa31f50e53d6b8d04dd26d60245dca2 [file] [log] [blame]
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#pragma once
#include <lib/zx/vmo.h>
class ProtectedMemoryAllocator {
public:
virtual ~ProtectedMemoryAllocator() {}
virtual zx_status_t Allocate(uint64_t size, zx::vmo* vmo) = 0;
};