-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove dependence on setvar patch for Microkit
Signed-off-by: Nick Spinale <[email protected]>
- Loading branch information
Showing
10 changed files
with
107 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
crates/examples/microkit/http-server/pds/server/src/config.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// | ||
// Copyright 2023, Colias Group, LLC | ||
// | ||
// SPDX-License-Identifier: BSD-2-Clause | ||
// | ||
|
||
pub mod channels { | ||
use sel4_microkit::Channel; | ||
|
||
pub const TIMER_DRIVER: Channel = Channel::new(0); | ||
pub const NET_DRIVER: Channel = Channel::new(1); | ||
pub const BLOCK_DRIVER: Channel = Channel::new(2); | ||
} | ||
|
||
pub const VIRTIO_NET_CLIENT_DMA_SIZE: usize = 0x200_000; | ||
pub const VIRTIO_BLK_CLIENT_DMA_SIZE: usize = 0x200_000; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
crates/examples/microkit/http-server/pds/sp804-driver/src/config.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// | ||
// Copyright 2023, Colias Group, LLC | ||
// | ||
// SPDX-License-Identifier: BSD-2-Clause | ||
// | ||
|
||
pub mod channels { | ||
use sel4_microkit::Channel; | ||
|
||
pub const DEVICE: Channel = Channel::new(0); | ||
pub const CLIENT: Channel = Channel::new(1); | ||
} | ||
|
||
pub const FREQ: u64 = 1_000_000; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
crates/examples/microkit/http-server/pds/virtio-blk-driver/src/config.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// | ||
// Copyright 2023, Colias Group, LLC | ||
// | ||
// SPDX-License-Identifier: BSD-2-Clause | ||
// | ||
|
||
pub mod channels { | ||
use sel4_microkit::Channel; | ||
|
||
pub const DEVICE: Channel = Channel::new(0); | ||
pub const CLIENT: Channel = Channel::new(1); | ||
} | ||
|
||
pub const VIRTIO_BLK_MMIO_OFFSET: usize = 0xc00; | ||
pub const VIRTIO_BLK_DRIVER_DMA_SIZE: usize = 0x200_000; | ||
pub const VIRTIO_BLK_CLIENT_DMA_SIZE: usize = 0x200_000; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
16 changes: 16 additions & 0 deletions
16
crates/examples/microkit/http-server/pds/virtio-net-driver/src/config.rs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
// | ||
// Copyright 2023, Colias Group, LLC | ||
// | ||
// SPDX-License-Identifier: BSD-2-Clause | ||
// | ||
|
||
pub mod channels { | ||
use sel4_microkit::Channel; | ||
|
||
pub const DEVICE: Channel = Channel::new(0); | ||
pub const CLIENT: Channel = Channel::new(1); | ||
} | ||
|
||
pub const VIRTIO_NET_MMIO_OFFSET: usize = 0xe00; | ||
pub const VIRTIO_NET_DRIVER_DMA_SIZE: usize = 0x200_000; | ||
pub const VIRTIO_NET_CLIENT_DMA_SIZE: usize = 0x200_000; |
Oops, something went wrong.