x86_q35/lib.rs
1// Licensed under the Apache License, Version 2.0 or the MIT License.
2// SPDX-License-Identifier: Apache-2.0 OR MIT
3// Copyright Tock Contributors 2024.
4
5//! Support for traditional x86 PC hardware.
6//!
7//! ## Safety
8//!
9//! This crate inherits all of the same safety hazards as outlined by [`x86`].
10//!
11//! Additionally, this crate assumes the presence of certain traditional/legacy PC peripherals such
12//! as serial ports and interrupt controllers.
13
14#![deny(unsafe_op_in_unsafe_fn)]
15#![no_std]
16
17mod chip;
18pub use chip::{Pc, PcComponent};
19
20mod interrupts;
21
22mod pic;
23
24pub mod pit;
25
26pub mod serial;