rstubs/
assignments.rs

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
//! Assignments for the BSB and BST courses.

// This is only used for documentation purposes, it does not contain any code.

// --- BSB assignments ---
pub mod a0_boot {
    #![doc = include_str!("../assignments/a0-Boot.md")]
}
pub mod a1_input_output {
    #![doc = include_str!("../assignments/a1-Input-Output.md")]
}
pub mod a2_interrupts {
    #![doc = include_str!("../assignments/a2-Interrupts.md")]
}
pub mod a3_int_sync {
    #![doc = include_str!("../assignments/a3-Int-Sync.md")]
}
pub mod a4_context_switch {
    #![doc = include_str!("../assignments/a4-Context-Switch.md")]
}
pub mod a5_time_slice {
    #![doc = include_str!("../assignments/a5-Time-Slice.md")]
}
pub mod a6_event_sync {
    #![doc = include_str!("../assignments/a6-Event-Sync.md")]
}
pub mod a7_apps {
    #![doc = include_str!("../assignments/a7-Apps.md")]
}

// --- BST assignments ---
#[embed_doc_image::embed_doc_image("bst1-isolation", "assets/bst1-isolation.svg")]
#[embed_doc_image::embed_doc_image("bst1-ring3-0", "assets/bst1-ring3-0.svg")]
#[embed_doc_image::embed_doc_image("bst1-segments", "assets/bst1-segments.svg")]
#[embed_doc_image::embed_doc_image("bst1-thread-switch", "assets/bst1-thread-switch.svg")]
#[embed_doc_image::embed_doc_image("bst1-tss", "assets/bst1-tss.svg")]
pub mod b1_syscalls {
    #![doc = include_str!("../assignments/b1-Syscalls.md")]
}
pub mod b2_paging {
    #![doc = include_str!("../assignments/b2-Paging.md")]
}
pub mod b3_ipc_cow {
    #![doc = include_str!("../assignments/b3-IPC-COW.md")]
}