2015-02-25 Gedare Bloom <gedare@rtems.org>
* libc/include/machine/time.h (_CLOCKS_PER_SEC_): redefine for RTEMS.
This commit is contained in:
		| @@ -1,3 +1,7 @@ | |||||||
|  | 2015-02-25  Gedare Bloom  <gedare@rtems.org> | ||||||
|  |  | ||||||
|  | 	* libc/include/machine/time.h (_CLOCKS_PER_SEC_): redefine for RTEMS. | ||||||
|  |  | ||||||
| 2015-03-03  Steve Ellcey  <sellcey@imgtec.com> | 2015-03-03  Steve Ellcey  <sellcey@imgtec.com> | ||||||
|  |  | ||||||
| 	* libc/machine/mips/memset.S: Add support for mips32r6/mips64r6. | 	* libc/machine/mips/memset.S: Add support for mips32r6/mips64r6. | ||||||
|   | |||||||
| @@ -1,12 +1,10 @@ | |||||||
| #ifndef	_MACHTIME_H_ | #ifndef	_MACHTIME_H_ | ||||||
| #define	_MACHTIME_H_ | #define	_MACHTIME_H_ | ||||||
|  |  | ||||||
| #if defined(__rtems__) | #if defined(__rtems__) || defined(__VISIUM__) | ||||||
| #define _CLOCKS_PER_SEC_  sysconf(_SC_CLK_TCK) | #define _CLOCKS_PER_SEC_ 1000000 | ||||||
| #elif defined(__aarch64__) || defined(__arm__) || defined(__thumb__) | #elif defined(__aarch64__) || defined(__arm__) || defined(__thumb__) | ||||||
| #define _CLOCKS_PER_SEC_ 100 | #define _CLOCKS_PER_SEC_ 100 | ||||||
| #elif defined (__VISIUM__) |  | ||||||
| #define _CLOCKS_PER_SEC_ 1000000 |  | ||||||
| #endif | #endif | ||||||
|  |  | ||||||
| #ifdef __SPU__ | #ifdef __SPU__ | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user