63ea6083c8e99f28ca5db083ed90f9bab6eeef32
[rpi-open-firmware.git] / arm_chainloader / chainloader.h
1 #pragma once
2
3 #include <stdint.h>
4 #include <lib/xprintf.h>
5
6 #define printf xprintf
7
8 #ifdef __cplusplus
9 extern "C" {
10 #endif
11
12 extern void udelay(uint32_t time);
13
14 #define STATIC_INIT_PRIORITY(x) __attribute__((init_priority(x)))
15
16 #define STATIC_CPRMAN_DRIVER STATIC_INIT_PRIORITY(101)
17 #define STATIC_DRIVER STATIC_INIT_PRIORITY(200)
18 #define STATIC_APP STATIC_INIT_PRIORITY(600)
19
20 #define mfence() __sync_synchronize()
21
22 #ifdef __cplusplus
23 }
24 #endif
25
This page took 0.066343 seconds and 4 git commands to generate.