Modified the kernel and all tasks with well-formatted printout messages.

This commit is contained in:
Bahadir Balban
2009-05-12 11:25:14 +03:00
parent db0d756dfa
commit 8528e2e1ba
28 changed files with 237 additions and 285 deletions

View File

@@ -82,7 +82,6 @@ struct kip {
#define BLKDEV_TID 2
#define __PAGERNAME__ "mm0"
#define __KERNELNAME__ "code0"
#define __VFSNAME__ "fs0"
#define __BLKDEVNAME__ "blkdev0"

View File

@@ -2,6 +2,8 @@
#define __MACROS_H__
#include "config.h"
#define __KERNELNAME__ "code0"
/*
* This file is automatically included before the first line of any
* source file, using gcc's -imacro command line option. Only macro

View File

@@ -2,10 +2,12 @@
#define __PLATFORM__PB926__PRINTASCII__H__
#define dprintk(str, val) \
{ \
printascii(str); \
printascii("0x"); \
printhex8((val)); \
printascii("\n");
printascii("\n"); \
}
void printascii(char *str);
void printhex8(unsigned int);