BSP: removed nanosleep routine from usleep.c
This patch removes unimplemented nanosleep routine from cortexa9/usleep.c Signed-off-by: Kinjal Pravinbhai Patel <patelki@xilinx.com> Acked-by: Anirudha Sarangi <anirudh@xilinx.com>
This commit is contained in:
parent
7663f4f745
commit
65aed475af
3 changed files with 7 additions and 19 deletions
|
@ -189,4 +189,7 @@
|
|||
* 4.2 pkp 07/21/14 Included xil_types.h file in xil_mmu.h which had contained a function
|
||||
* containing type def u32 defined in xil_types.g to resolve issue of
|
||||
* CR#805869
|
||||
*****************************************************************************************/
|
||||
* 4.2 pkp 08/04/14 Removed unimplemented nanosleep routine from cortexa9/usleep.c as
|
||||
* it is not possible to generate timer in nanosecond due to limited
|
||||
* cpu frequency
|
||||
******************************************************************************************/
|
||||
|
|
|
@ -37,7 +37,6 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
void nanosleep(unsigned int nanoseconds);
|
||||
int usleep(unsigned int useconds);
|
||||
int sleep(unsigned int seconds);
|
||||
|
||||
|
|
|
@ -44,6 +44,9 @@
|
|||
* ----- -------- -------- -----------------------------------------------
|
||||
* 1.00a ecm/sdm 11/11/09 First release
|
||||
* 3.07a sgd 07/05/12 Upadted micro sleep function to make use Global Timer
|
||||
* 4.2 pkp 08/04/14 Removed unimplemented nanosleep routine as it is not
|
||||
* possible to generate timer in nanosecond due to
|
||||
* limited cpu frequency
|
||||
* </pre>
|
||||
*
|
||||
******************************************************************************/
|
||||
|
@ -58,23 +61,6 @@
|
|||
/* Global Timer is always clocked at half of the CPU frequency */
|
||||
#define COUNTS_PER_USECOND (XPAR_CPU_CORTEXA9_CORE_CLOCK_FREQ_HZ / (2*1000000))
|
||||
|
||||
/*****************************************************************************/
|
||||
/**
|
||||
*
|
||||
* This is not implemented .
|
||||
*
|
||||
* @param nanoseconds
|
||||
*
|
||||
* @return None
|
||||
*
|
||||
* @note None.
|
||||
*
|
||||
****************************************************************************/
|
||||
void nanosleep(unsigned int nanoseconds){
|
||||
/* not implemented */
|
||||
(void)nanoseconds;
|
||||
}
|
||||
|
||||
/*****************************************************************************/
|
||||
/**
|
||||
*
|
||||
|
|
Loading…
Add table
Reference in a new issue