Mercurial > ecos
comparison packages/devs/wallclock/current/src/emulate.cxx @ 24:306eee292492 ecos-sw-1999-07-16
Merge from eCos master repository on 1999-07-16-05:47:06-BST
| author | jlarmour |
|---|---|
| date | Fri, 16 Jul 1999 21:54:32 +0000 |
| parents | 443894e2e912 |
| children | c38311975d4f |
comparison
equal
deleted
inserted
replaced
| 23:8883a9947b66 | 24:306eee292492 |
|---|---|
| 38 // | 38 // |
| 39 //========================================================================== | 39 //========================================================================== |
| 40 | 40 |
| 41 #include <pkgconf/wallclock.h> // Wallclock device config | 41 #include <pkgconf/wallclock.h> // Wallclock device config |
| 42 | 42 |
| 43 #ifdef CYGIMP_WALLCLOCK_EMULATE | |
| 44 | |
| 45 #include <pkgconf/kernel.h> // Kernel config | |
| 46 | |
| 43 #include <cyg/infra/cyg_type.h> // Common type definitions and support | 47 #include <cyg/infra/cyg_type.h> // Common type definitions and support |
| 44 #include <cyg/hal/hal_diag.h> // HAL diagnostic output | 48 #include <cyg/hal/hal_diag.h> // HAL diagnostic output |
| 45 | 49 |
| 46 #include <cyg/devs/wallclock.hxx> | 50 #include <cyg/devs/wallclock.hxx> |
| 47 | 51 |
| 49 #include <cyg/kernel/sched.hxx> | 53 #include <cyg/kernel/sched.hxx> |
| 50 #include <cyg/kernel/clock.hxx> | 54 #include <cyg/kernel/clock.hxx> |
| 51 | 55 |
| 52 #include <cyg/kernel/sched.inl> | 56 #include <cyg/kernel/sched.inl> |
| 53 | 57 |
| 54 #ifdef CYGIMP_WALLCLOCK_EMULATE | |
| 55 | 58 |
| 56 /*---------------------------------------------------------------------------*/ | 59 /*---------------------------------------------------------------------------*/ |
| 57 // Local static variables | 60 // Local static variables |
| 58 | 61 |
| 59 static Cyg_WallClock wallclock_instance CYG_INIT_PRIORITY( CLOCK ); | 62 static Cyg_WallClock wallclock_instance CYG_INIT_PRIORITY( CLOCK ); |
