Skip to content

Commit

Permalink
Add memes
Browse files Browse the repository at this point in the history
KFS-7 meme
  • Loading branch information
Orycterope committed Aug 26, 2019
1 parent 6c2f0e2 commit c7c74e0
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
Binary file added shell/img/meme7.gif
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions shell/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,7 @@ fn main() {
"meme4" => show_gif(&LOUIS4[..]),
"meme5" => show_gif(&LOUIS5[..]),
"meme6" => show_gif(&LOUIS6[..]),
"memset" => show_gif(&LOUIS7[..]),
"cat" => {
match arguments.nth(0) {
None => {
Expand Down Expand Up @@ -225,6 +226,7 @@ fn main() {
let _ = writeln!(&mut terminal, "meme4: Display the KFS-4 meme");
let _ = writeln!(&mut terminal, "meme5: Display the KFS-5 meme");
let _ = writeln!(&mut terminal, "meme6: Display the KFS-6 meme");
let _ = writeln!(&mut terminal, "memset: Display the KFS-7 meme");
let _ = writeln!(&mut terminal, "test_threads: Run threads that concurrently print As and Bs");
let _ = writeln!(&mut terminal, "test_divide_by_zero: Check exception handling by throwing a divide by zero");
let _ = writeln!(&mut terminal, "test_page_fault: Check exception handling by throwing a page_fault");
Expand Down Expand Up @@ -545,6 +547,8 @@ static LOUIS4: &[u8] = include_bytes!("../img/meme4.gif");
static LOUIS5: &[u8] = include_bytes!("../img/meme5.gif");
/// Meme for KFS6
static LOUIS6: &[u8] = include_bytes!("../img/meme6.gif");
/// Meme for KFS7
static LOUIS7: &[u8] = include_bytes!("../img/meme7.gif");

capabilities!(CAPABILITIES = Capabilities {
svcs: [
Expand Down

0 comments on commit c7c74e0

Please # to comment.