baremetal: added offsetof