mirror of
https://github.com/drasko/codezero.git
synced 2026-01-14 20:03:16 +01:00
Modified the kernel and all tasks with well-formatted printout messages.
This commit is contained in:
@@ -82,7 +82,6 @@ struct kip {
|
||||
#define BLKDEV_TID 2
|
||||
|
||||
#define __PAGERNAME__ "mm0"
|
||||
#define __KERNELNAME__ "code0"
|
||||
#define __VFSNAME__ "fs0"
|
||||
#define __BLKDEVNAME__ "blkdev0"
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user