Skip to content

Commit 29eb073

Browse files
dianpopaShadowCurse
authored andcommitted
devices: doc for the pseudo boot device
Doc for the pseudo boot device Signed-off-by: Diana Popa <dpopa@amazon.com>
1 parent 3bb3d19 commit 29eb073

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/vmm/src/devices/pseudo/boot_timer.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ impl BootTimer {
3636
}
3737

3838
impl BootTimer {
39+
/// Create a device at a certain point in time.
3940
pub fn new(start_ts: TimestampUs) -> BootTimer {
4041
BootTimer { start_ts }
4142
}

src/vmm/src/devices/pseudo/mod.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
// Copyright 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
22
// SPDX-License-Identifier: Apache-2.0
33

4+
//! Implements Firecracker specific devices (e.g. signal when boot is completed).
45
mod boot_timer;
56

67
pub use self::boot_timer::BootTimer;

0 commit comments

Comments
 (0)