File tree 13 files changed +27
-21
lines changed
13 files changed +27
-21
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ name = "vm-memory"
3
3
version = " 0.1.0"
4
4
authors = [
" Liu Jiang <[email protected] >" ]
5
5
repository = " https://github.com/rust-vmm/vm-memory"
6
- license = " Apache-2.0"
6
+ license = " Apache-2.0 OR BSD-3-Clause "
7
7
edition = " 2018"
8
8
9
9
[features ]
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change @@ -51,6 +51,7 @@ fn virt_device_io<T: GuestMemory>(mem: &T) {
51
51
52
52
## License
53
53
54
- This project is licensed under
54
+ This project is licensed under either of
55
55
56
56
- [ Apache License] ( http://www.apache.org/licenses/LICENSE-2.0 ) , Version 2.0
57
+ - [ BSD-3-Clause License] ( https://opensource.org/licenses/BSD-3-Clause )
Original file line number Diff line number Diff line change 1
1
// Copyright (C) 2019 Alibaba Cloud Computing. All rights reserved.
2
- // SPDX-License-Identifier: Apache-2.0
3
2
//
4
3
// Portions Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
5
- // SPDX-License-Identifier: Apache-2.0
6
4
//
7
5
// Portions Copyright 2017 The Chromium OS Authors. All rights reserved.
8
6
// Use of this source code is governed by a BSD-style license that can be
9
- // found in the THIRD-PARTY file.
7
+ // found in the LICENSE-BSD-3-Clause file.
8
+ //
9
+ // SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause
10
10
11
11
//! Traits to represent an address within an address space.
12
12
//!
Original file line number Diff line number Diff line change 1
1
// Portions Copyright 2019 Red Hat, Inc.
2
2
//
3
3
// Portions Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4
- // SPDX-License-Identifier: Apache-2.0
5
4
//
6
5
// Portions Copyright 2017 The Chromium OS Authors. All rights reserved.
7
6
// Use of this source code is governed by a BSD-style license that can be
8
- // found in the THIRD-PARTY file.
7
+ // found in the LICENSE-BSD-3-Clause file.
8
+ //
9
+ // SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause
9
10
10
11
//! Define the ByteValued trait to mark that it is safe to instantiate the struct with random data.
11
12
Original file line number Diff line number Diff line change 1
1
// Copyright 2017 The Chromium OS Authors. All rights reserved.
2
2
// Use of this source code is governed by a BSD-style license that can be
3
- // found in the LICENSE file.
3
+ // found in the LICENSE-BSD-3-Clause file.
4
+ //
5
+ // SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause
4
6
5
7
//! Explicit endian types useful for embedding in structs or reinterpreting data.
6
8
//!
Original file line number Diff line number Diff line change 1
1
// Copyright (C) 2019 Alibaba Cloud Computing. All rights reserved.
2
- // SPDX-License-Identifier: Apache-2.0
3
2
//
4
3
// Portions Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
5
- // SPDX-License-Identifier: Apache-2.0
6
4
//
7
5
// Portions Copyright 2017 The Chromium OS Authors. All rights reserved.
8
6
// Use of this source code is governed by a BSD-style license that can be
9
- // found in the THIRD-PARTY file.
7
+ // found in the LICENSE-BSD-3-Clause file.
8
+ //
9
+ // SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause
10
10
11
11
//! Traits to track and access the physical memory of the guest.
12
12
//!
Original file line number Diff line number Diff line change 1
1
// Portions Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
2
- // SPDX-License-Identifier: Apache-2.0
3
2
//
4
3
// Portions Copyright 2017 The Chromium OS Authors. All rights reserved.
5
4
// Use of this source code is governed by a BSD-style license that can be
6
- // found in the THIRD-PARTY file.
5
+ // found in the LICENSE-BSD-3-Clause file.
6
+ //
7
+ // SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause
7
8
8
9
//! Traits for allocating, handling and interacting with the VM's physical memory.
9
10
//!
Original file line number Diff line number Diff line change 1
1
// Copyright (C) 2019 Alibaba Cloud Computing. All rights reserved.
2
- // SPDX-License-Identifier: Apache-2.0
3
2
//
4
3
// Portions Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
5
- // SPDX-License-Identifier: Apache-2.0
6
4
//
7
5
// Portions Copyright 2017 The Chromium OS Authors. All rights reserved.
8
6
// Use of this source code is governed by a BSD-style license that can be
9
- // found in the THIRD-PARTY file.
7
+ // found in the LICENSE-BSD-3-Clause file.
8
+ //
9
+ // SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause
10
10
11
11
//! The default implementation for the [`GuestMemory`](trait.GuestMemory.html) trait.
12
12
//!
Original file line number Diff line number Diff line change 1
1
// Copyright (C) 2019 Alibaba Cloud Computing. All rights reserved.
2
- // SPDX-License-Identifier: Apache-2.0
3
2
//
4
3
// Portions Copyright 2018 Amazon.com, Inc. or its affiliates. All Rights Reserved.
5
- // SPDX-License-Identifier: Apache-2.0
6
4
//
7
5
// Portions Copyright 2017 The Chromium OS Authors. All rights reserved.
8
6
// Use of this source code is governed by a BSD-style license that can be
9
- // found in the THIRD-PARTY file.
7
+ // found in the LICENSE-BSD-3-Clause file.
8
+ //
9
+ // SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause
10
10
11
11
//! Helper structure for working with mmaped memory regions in Unix.
12
12
Original file line number Diff line number Diff line change 1
1
// Copyright (C) 2019 CrowdStrike, Inc. All rights reserved.
2
- // SPDX-License-Identifier: Apache-2.0
3
- //
2
+ // SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause
4
3
5
4
//! Helper structure for working with mmaped memory regions in Windows.
6
5
Original file line number Diff line number Diff line change 3
3
// Copyright 2017 The Chromium OS Authors. All rights reserved.
4
4
// Use of this source code is governed by a BSD-style license that can be
5
5
// found in the THIRT-PARTY file.
6
+ //
7
+ // SPDX-License-Identifier: Apache-2.0 OR BSD-3-Clause
6
8
7
9
//! Types for volatile access to memory.
8
10
//!
You can’t perform that action at this time.
0 commit comments