/*
 *               Copyright (C) 2005, BroadOn Communications Corp.
 *
 *  These coded instructions, statements, and computer programs contain
 *  unpublished proprietary information of BroadOn Communications Corp.,
 *  and are protected by federal copyright law. They may not be disclosed
 *  to third parties or copied or duplicated in any form, in whole or in
 *  part, without the prior written consent of BroadOn Communications Corp.
 *
 *  Description:
 *      This file implements standard IO functions using semi-hosting
 *
 */


#ifndef __PRINTF_H__
#define __PRINTF_H__

typedef struct Context {
    void (*writec)(struct Context *, char);
    void (*flush)(struct Context *);
} Context;

void __printf(Context *ctx, const char *fmt, va_list ap);

#endif /* __PRINTF_H__ */
