X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=os%2Fhptime.c;h=71e920ca5d8d24a5212a633471a6133dd32c54b2;hb=7920ccf2c9be523f680d88ef7d681d09af7da209;hp=3f223c634d099d0684ba240faa66cc50716646fc;hpb=96f0ef786b54356c56cc3d4e4f0838df2505cfcc;p=bertos.git diff --git a/os/hptime.c b/os/hptime.c index 3f223c63..71e920ca 100755 --- a/os/hptime.c +++ b/os/hptime.c @@ -1,8 +1,8 @@ -/*! +/** * \file * * * \brief Portable abstraction for high-resolution time handling (implementation) @@ -11,15 +11,33 @@ * \author Bernardo Innocenti */ -/* - * $Log$ - * Revision 1.2 2004/06/03 11:27:09 bernie - * Add dual-license information. - * - * Revision 1.1 2004/06/03 09:01:06 bernie - * Import into DevLib. - * - */ +/*#* + *#* $Log$ + *#* Revision 1.8 2006/07/19 12:56:28 bernie + *#* Convert to new Doxygen style. + *#* + *#* Revision 1.7 2006/07/19 12:53:58 bernie + *#* Documentation fixes. + *#* + *#* Revision 1.6 2006/02/20 01:46:46 bernie + *#* Port to MacOSX. + *#* + *#* Revision 1.5 2005/11/04 16:20:02 bernie + *#* Fix reference to README.devlib in header. + *#* + *#* Revision 1.4 2004/08/25 14:12:09 rasky + *#* Aggiornato il comment block dei log RCS + *#* + *#* Revision 1.3 2004/08/10 05:45:04 bernie + *#* Fix spacing in header. + *#* + *#* Revision 1.2 2004/06/03 11:27:09 bernie + *#* Add dual-license information. + *#* + *#* Revision 1.1 2004/06/03 09:01:06 bernie + *#* Import into DevLib. + *#* + *#*/ #include "hptime.h" @@ -44,7 +62,7 @@ hptime_t hptime_get(void) return (((hptime_t)ft.dwHighDateTime) << 32) + (hptime_t)ft.dwLowDateTime; } -#elif defined(__unix__) +#elif defined(__unix__) || (defined(__APPLE__) && defined(__MACH__)) #include