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

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [rc203soc/] [sw/] [uClinux/] [include/] [asm-armnommu/] [arch-nexuspci/] [time.h] - Diff between revs 1765 and 1782

Only display areas with differences | Details | Blame | View Log

Rev 1765 Rev 1782
/*
/*
 * linux/include/asm-arm/arch-nexuspci/time.h
 * linux/include/asm-arm/arch-nexuspci/time.h
 *
 *
 * Copyright (c) 1997 Phil Blundell.
 * Copyright (c) 1997 Phil Blundell.
 *
 *
 * Nexus PCI card has no real-time clock.
 * Nexus PCI card has no real-time clock.
 *
 *
 */
 */
 
 
extern __inline__ unsigned long gettimeoffset (void)
extern __inline__ unsigned long gettimeoffset (void)
{
{
        return 0;
        return 0;
}
}
 
 
extern __inline__ int reset_timer (void)
extern __inline__ int reset_timer (void)
{
{
        return 0;
        return 0;
}
}
 
 
extern __inline__ unsigned long setup_timer (void)
extern __inline__ unsigned long setup_timer (void)
{
{
        reset_timer ();
        reset_timer ();
        /*
        /*
         * Default the date to 1 Jan 1970 0:0:0
         * Default the date to 1 Jan 1970 0:0:0
         * You will have to run a time daemon to set the
         * You will have to run a time daemon to set the
         * clock correctly at bootup
         * clock correctly at bootup
         */
         */
        return mktime(1970, 1, 1, 0, 0, 0);
        return mktime(1970, 1, 1, 0, 0, 0);
}
}
 
 

powered by: WebSVN 2.1.0

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