mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2024-09-12 01:54:55 +00:00
GSI (Global System Interrupt) is an extension of just a linear array of IRQs. It takes IOAPICs into account for example. Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
23 lines
663 B
Rust
23 lines
663 B
Rust
// 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
|
|
// found in the LICENSE-BSD-3-Clause file.
|
|
//
|
|
// SPDX-License-Identifier: Apache-2.0 AND BSD-3-Clause
|
|
#![deny(missing_docs)]
|
|
|
|
//! Manages system resources that can be allocated to VMs and their devices.
|
|
|
|
extern crate libc;
|
|
extern crate vm_memory;
|
|
|
|
mod address;
|
|
mod gsi;
|
|
mod system;
|
|
|
|
pub use crate::address::AddressAllocator;
|
|
pub use crate::gsi::{GsiAllocator, GsiApic};
|
|
pub use crate::system::SystemAllocator;
|