/*
 *               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.
 *
 */

 /* Read system time */

#include <stdio.h> /* For printf */

#include <ios.h>
#include <iostypes.h>
#include <ioslibc.h>

#define STACK_SIZE 4*1024
void
gettimer(u32 x)
{
    while(1)
        printf("time = 0x%08x\n", IOS_GetTimer());
    IOS_ThreadExit(0);
}
