]> git.lizzy.rs Git - plan9front.git/blob - sys/src/9/bcm/io.h
pc kernel: fix wrong simd exception mask (fixes go bootstrap)
[plan9front.git] / sys / src / 9 / bcm / io.h
1 enum {
2         IRQtimer0       = 0,
3         IRQtimer1       = 1,
4         IRQtimer2       = 2,
5         IRQtimer3       = 3,
6         IRQclock        = IRQtimer3,
7         IRQusb          = 9,
8         IRQdma0         = 16,
9 #define IRQDMA(chan)    (IRQdma0+(chan))
10         IRQaux          = 29,
11         IRQmmc          = 62,
12
13         IRQbasic        = 64,
14         IRQtimerArm     = IRQbasic + 0,
15
16         IRQfiq          = IRQusb,       /* only one source can be FIQ */
17
18         DmaD2M          = 0,            /* device to memory */
19         DmaM2D          = 1,            /* memory to device */
20         DmaM2M          = 2,            /* memory to memory */
21
22         DmaChanEmmc     = 4,            /* can only use 2-5, maybe 0 */
23         DmaDevEmmc      = 11,
24
25         PowerSd         = 0,
26         PowerUart0,
27         PowerUart1,
28         PowerUsb,
29         PowerI2c0,
30         PowerI2c1,
31         PowerI2c2,
32         PowerSpi,
33         PowerCcp2tx,
34
35         ClkEmmc         = 1,
36         ClkUart,
37         ClkArm,
38         ClkCore,
39         ClkV3d,
40         ClkH264,
41         ClkIsp,
42         ClkSdram,
43         ClkPixel,
44         ClkPwm,
45 };
46 #define BUSUNKNOWN      (-1)