mirror of
https://chromium.googlesource.com/crosvm/crosvm
synced 2024-11-25 05:03:05 +00:00
system_allocator: Fix comments.
While reading code, some of the comments need fixing. BUG=None TEST=None Change-Id: Iff9cd639f5e14512680475bcf9240c07551690a5 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/crosvm/+/3418634 Reviewed-by: Daniel Verkamp <dverkamp@chromium.org> Tested-by: kokoro <noreply+kokoro@google.com> Commit-Queue: Junichi Uekawa <uekawa@chromium.org>
This commit is contained in:
parent
0520a95161
commit
d7cbca27e3
1 changed files with 3 additions and 1 deletions
|
@ -10,7 +10,7 @@ use crate::{Alloc, Error, Result};
|
|||
|
||||
/// Manages allocating system resources such as address space and interrupt numbers.
|
||||
///
|
||||
/// # Example - Use the `SystemAddress` builder.
|
||||
/// # Example - Use the `SystemAllocator` builder.
|
||||
///
|
||||
/// ```
|
||||
/// # use resources::{Alloc, MmioType, SystemAllocator};
|
||||
|
@ -71,6 +71,8 @@ impl SystemAllocator {
|
|||
/// * `high_size` - The size of high MMIO space.
|
||||
/// * `low_base` - The starting address of low MMIO space.
|
||||
/// * `low_size` - The size of low MMIO space.
|
||||
/// * `platform_base` - The starting address of platform MMIO space.
|
||||
/// * `platform_size` - The size of platform MMIO space.
|
||||
/// * `first_irq` - The first irq number to give out.
|
||||
fn new(
|
||||
io_base: Option<u64>,
|
||||
|
|
Loading…
Reference in a new issue