summary refs log tree commit diff
path: root/resources/src/lib.rs
blob: 602c3906f0ccc2a6fdbdf172e60a4b48ca52f512 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
// Copyright 2018 The Chromium OS Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

//! Manages system resources that can be allocated to VMs and their devices.

mod address_allocator;
mod gpu_allocator;
mod system_allocator;

pub use crate::address_allocator::AddressAllocator;
pub use crate::gpu_allocator::{GpuMemoryAllocator, GpuMemoryDesc, GpuMemoryPlaneDesc};
pub use crate::system_allocator::{AddressRanges, SystemAllocator};