#ifndef UMP_TEST_DEVICE_H #define UMP_TEST_DEVICE_H struct mock_bits { unsigned int GPIO3, GPIO6, GPIO8, GPIO11, GPIO58, GPIO62; }; struct mock_reg { struct mock_bits bit; }; struct mock_gpio { struct mock_reg GPADAT, GPBDAT; }; extern struct mock_gpio GpioDataRegs; static unsigned int __disable_interrupts(void) { return 0; } static void __restore_interrupts(unsigned int saved) { (void)saved; } #endif