shell test

This commit is contained in:
Carl-Benedikt Krüger 2011-07-26 14:34:06 +02:00
parent b8da89d250
commit b81429e542
2 changed files with 6 additions and 4 deletions

View file

@ -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");

View file

@ -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