shell test
This commit is contained in:
parent
b8da89d250
commit
b81429e542
2 changed files with 6 additions and 4 deletions
|
@ -15,10 +15,6 @@ static int iamsrv = 0;
|
|||
char shellbuffer[512];
|
||||
|
||||
|
||||
#include <metalsvm/stdio.h>
|
||||
|
||||
#define SHELLDEBUGPRINTF(x,...) ksnprintf(shellbuffer,sizeof(shellbuffer),x,##__VA_ARGS__);shelldebugprint(shellbuffer);
|
||||
|
||||
void shelldebugprint(char* x)
|
||||
{
|
||||
kprintf("debugprinting");
|
||||
|
|
|
@ -1,8 +1,14 @@
|
|||
#ifndef SHELL_H
|
||||
#define SHELL_H
|
||||
|
||||
#include <metalsvm/stdio.h>
|
||||
|
||||
void shelldebugprint(char* x);
|
||||
|
||||
void shell_init(int srv_or_cli);
|
||||
|
||||
extern char shellbuffer[512];
|
||||
|
||||
#define SHELLDEBUGPRINTF(x,...) ksnprintf(shellbuffer,sizeof(shellbuffer),x,##__VA_ARGS__);shelldebugprint(shellbuffer);
|
||||
|
||||
#endif // SHELL_H
|
||||
|
|
Loading…
Add table
Reference in a new issue