File tree Expand file tree Collapse file tree 4 files changed +4
-14
lines changed Expand file tree Collapse file tree 4 files changed +4
-14
lines changed Original file line number Diff line number Diff line change 2
2
// SPDX-License-Identifier: Apache-2.0
3
3
4
4
use vmm_sys_util:: fam:: { FamStruct , FamStructWrapper } ;
5
+ use vmm_sys_util:: generate_fam_struct_impl;
5
6
6
7
use super :: bindings:: * ;
7
8
Original file line number Diff line number Diff line change 9
9
#![ deny( clippy:: undocumented_unsafe_blocks) ]
10
10
#![ cfg_attr( docsrs, feature( doc_auto_cfg) ) ]
11
11
12
- #[ cfg( feature = "fam-wrappers" ) ]
13
- #[ macro_use]
14
- extern crate vmm_sys_util;
15
-
16
- #[ cfg( feature = "serde" ) ]
17
- extern crate serde;
18
-
19
- #[ cfg( feature = "serde" ) ]
20
- extern crate zerocopy;
21
-
22
- extern crate core;
23
-
24
12
#[ cfg( feature = "serde" ) ]
25
13
#[ macro_use]
26
14
mod serialize;
Original file line number Diff line number Diff line change 3
3
// SPDX-License-Identifier: Apache-2.0
4
4
5
5
use vmm_sys_util:: fam:: { FamStruct , FamStructWrapper } ;
6
+ use vmm_sys_util:: generate_fam_struct_impl;
6
7
7
8
use super :: bindings:: * ;
8
9
Original file line number Diff line number Diff line change 1
1
// Copyright 2019 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
2
// SPDX-License-Identifier: Apache-2.0
3
3
4
- use vmm_sys_util:: fam:: { FamStruct , FamStructWrapper } ;
5
-
6
4
use super :: bindings:: * ;
5
+ use vmm_sys_util:: fam:: { FamStruct , FamStructWrapper } ;
6
+ use vmm_sys_util:: generate_fam_struct_impl;
7
7
8
8
/// Maximum number of CPUID entries that can be returned by a call to KVM ioctls.
9
9
///
You can’t perform that action at this time.
0 commit comments