parent
9dc0bbb814
commit
33098b9294
|
@ -26,6 +26,9 @@
|
||||||
* 2015-01-07 Grissiom init commit
|
* 2015-01-07 Grissiom init commit
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#ifndef __VBUS_HW_H__
|
||||||
|
#define __VBUS_HW_H__
|
||||||
|
|
||||||
#include <rtthread.h>
|
#include <rtthread.h>
|
||||||
#include <stddef.h>
|
#include <stddef.h>
|
||||||
#include <gic.h>
|
#include <gic.h>
|
||||||
|
@ -52,3 +55,5 @@ rt_inline void rt_vbus_smp_mb(void)
|
||||||
{
|
{
|
||||||
asm volatile ("dsb" : : : "memory");
|
asm volatile ("dsb" : : : "memory");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#endif /* __VBUS_HW_H__ */
|
||||||
|
|
Loading…
Reference in New Issue