2019-04-18 08:31:45 +00:00
|
|
|
// Copyright 2018 The Chromium OS Authors. All rights reserved.
|
|
|
|
// Copyright © 2019 Intel Corporation
|
|
|
|
//
|
|
|
|
// Portions Copyright 2017 The Chromium OS Authors. All rights reserved.
|
|
|
|
// Use of this source code is governed by a BSD-style license that can be
|
2019-05-08 10:22:53 +00:00
|
|
|
// found in the LICENSE-BSD-3-Clause file.
|
|
|
|
//
|
|
|
|
// SPDX-License-Identifier: Apache-2.0 AND BSD-3-Clause
|
2019-04-18 08:31:45 +00:00
|
|
|
|
|
|
|
//! Manages system resources that can be allocated to VMs and their devices.
|
|
|
|
|
|
|
|
extern crate libc;
|
|
|
|
extern crate vm_memory;
|
|
|
|
|
|
|
|
mod address;
|
|
|
|
mod system;
|
|
|
|
|
|
|
|
pub use crate::address::AddressAllocator;
|
|
|
|
pub use crate::system::SystemAllocator;
|