1.1 --- a/stage2/task_gpio.h Wed Jun 28 01:04:22 2017 +0200
1.2 +++ b/stage2/task_gpio.h Wed Jun 28 16:31:54 2017 +0200
1.3 @@ -6,6 +6,8 @@
1.4
1.5 /* Special task versions of GPIO operations. */
1.6
1.7 +#define GPIO_BASE_PHYSICAL (GPIO_BASE - KSEG1_BASE)
1.8 +
1.9 #define TASK_GPIO_PXPIN(n) (TASK_GPIO_BASE + (0x00 + (n)*0x100)) /* PIN Level Register */
1.10 #define TASK_GPIO_PXDAT(n) (TASK_GPIO_BASE + (0x10 + (n)*0x100)) /* Port Data Register */
1.11 #define TASK_GPIO_PXDATS(n) (TASK_GPIO_BASE + (0x14 + (n)*0x100)) /* Port Data Set Register */