X-Git-Url: http://git.droids-corp.org/?a=blobdiff_plain;f=lib%2Flibrte_eal%2Fcommon%2Finclude%2Feal_private.h;h=b9ae36b7eecb79d53f0c0d0dc876c1e1b3bbfd74;hb=e987449c9fce2ec6210be3d8bad680d08d68c9dc;hp=023e4183cf554556878d7a374c6321854434dfa0;hpb=af75078fece3615088e561357c1e97603e43a5fe;p=dpdk.git diff --git a/lib/librte_eal/common/include/eal_private.h b/lib/librte_eal/common/include/eal_private.h index 023e4183cf..b9ae36b7ee 100644 --- a/lib/librte_eal/common/include/eal_private.h +++ b/lib/librte_eal/common/include/eal_private.h @@ -1,7 +1,7 @@ /*- * BSD LICENSE * - * Copyright(c) 2010-2012 Intel Corporation. All rights reserved. + * Copyright(c) 2010-2013 Intel Corporation. All rights reserved. * All rights reserved. * * Redistribution and use in source and binary forms, with or without @@ -30,12 +30,13 @@ * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * version: DPDK.L.1.2.3-3 */ #ifndef _EAL_PRIVATE_H_ #define _EAL_PRIVATE_H_ +#include + /** * Initialize the memzone subsystem (private to eal). * @@ -85,17 +86,18 @@ int rte_eal_cpu_init(void); int rte_eal_memory_init(void); /** - * Configure HPET + * Configure timers * * This function is private to EAL. * * Mmap memory areas used by HPET (high precision event timer) that will - * provide our time reference. + * provide our time reference, and configure the TSC frequency also for it + * to be used as a reference. * * @return * 0 on success, negative on error */ -int rte_eal_hpet_init(void); +int rte_eal_timer_init(void); /** * Init early logs @@ -115,7 +117,7 @@ int rte_eal_log_early_init(void); * @return * 0 on success, negative on error */ -int rte_eal_log_init(void); +int rte_eal_log_init(const char *id, int facility); /** * Init the default log stream