Unable to use hal_lld.h types in kernel hooks
Posted: Thu Feb 20, 2014 7:47 pm
Hi Giovanni,
i am trying to implement a precise tick accounting for threads by
adding a halrtcnt_t field to THREAD_EXT_FIELDS and using
hal_lld_get_counter_value() in THREAD_CONTEXT_SWITCH_HOOK.
This results in a build error "error: unknown type name 'halrtcnt_t'" because
of the order of the includes in several files.
Is this intentional behavior or a defect?
Thanks and cheers,
Vinz
i am trying to implement a precise tick accounting for threads by
adding a halrtcnt_t field to THREAD_EXT_FIELDS and using
hal_lld_get_counter_value() in THREAD_CONTEXT_SWITCH_HOOK.
This results in a build error "error: unknown type name 'halrtcnt_t'" because
of the order of the includes in several files.
Is this intentional behavior or a defect?
Thanks and cheers,
Vinz