EE445M RTOS
Taken at the University of Texas Spring 2015
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
shell.h
Go to the documentation of this file.
1
/* -*- mode: c; c-basic-offset: 4; -*- */
2
#ifndef __SHELL__
3
#define __SHELL__
4
5
#include <stdbool.h>
6
7
#include "
libstd/nexus.h
"
8
#include "
libos/system.h
"
9
#include "
libio/kbd.h
"
10
#include "
libnotify/notify.h
"
11
17
#define SHELL_MAX_PS1_LENGTH 4
18
20
#define SHELL_BUFFER_LENGTH 64
21
22
/********************** Obey the `thread` interface **********************/
28
void
shell_spawn
();
29
37
char
*
shell_represent
();
38
44
void
shell_kill
();
45
/*************************************************************************/
46
50
void
shell_uart_handler
(
notification
);
51
53
void
shell_clear_shell_buffer
();
54
61
void
shell_print_ps1
();
62
64
void
shell_set_ps1
();
65
69
exit_status_t
shell_execute_command
();
70
71
#endif
72
notify.h
shell_kill
void shell_kill()
Definition:
shell.c:44
shell_spawn
void shell_spawn()
Definition:
shell.c:26
kbd.h
shell_represent
char * shell_represent()
Definition:
shell.c:38
shell_set_ps1
void shell_set_ps1()
shell_clear_shell_buffer
void shell_clear_shell_buffer()
Definition:
shell.c:88
shell_execute_command
exit_status_t shell_execute_command()
Definition:
shell.c:99
exit_status_t
uint8_t exit_status_t
Definition:
system.h:24
shell_print_ps1
void shell_print_ps1()
Definition:
shell.c:94
system.h
shell_uart_handler
void shell_uart_handler(notification)
Definition:
shell.c:51
nexus.h
notification
Definition:
notify.h:22
lib
libshell
shell.h
Generated on Fri Mar 13 2015 21:18:37 for EE445M RTOS by
1.8.9.1