OpenCores
URL https://opencores.org/ocsvn/c0or1k/c0or1k/trunk

Subversion Repositories c0or1k

[/] [c0or1k/] [trunk/] [include/] [l4/] [platform/] [tests/] [printascii.h] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 drasko
#ifndef __PLATFORM__PB926__PRINTASCII__H__
2
#define __PLATFORM__PB926__PRINTASCII__H__
3
 
4
/* This include is for the C library on the host. So that
5
 * any test executables that run on host can use it.
6
 * Don't confuse it with anything else.
7
 */
8
#include <stdio.h>
9
 
10
#define printascii(str)         printf(str)
11
#define printhex8(x)            printf("0x%x",(unsigned int)x)
12
#define dprintk(str, val)       printf("%-25s0x%x\n", str, val)
13
/*
14
#define dprintk(str, val)               \
15
        printascii(str);                \
16
        printhex8((val));               \
17
        printascii("\n");
18
*/
19
 
20
#endif /* __PLATFORM__PB926__PRINTASCII__H__ */

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.