wip.
[AROS.git] / arch / arm-native / kernel / kernel_arm.h
blobadae705a4f7f20650d7a8c0fc5b6c5280e1ffcdd
1 /*
2 Copyright © 2015, The AROS Development Team. All rights reserved.
3 $Id$
4 */
6 struct ARM_Implementation
8 IPTR ARMI_Family;
9 IPTR ARMI_Platform;
10 APTR ARMI_PeripheralBase;
11 APTR (*ARMI_InitTimer) (APTR); // takes a pointer to KernelBase as input, and returns struct IntrNode
12 void (*ARMI_Delay) (int);
13 unsigned int (*ARMI_GetTime) (void);
14 void (*ARMI_PutChar) (int);
15 void (*ARMI_SerPutChar) (int);
16 int (*ARMI_SerGetChar) (void);
17 void (*ARMI_IRQInit) ();
18 void (*ARMI_IRQEnable) (int);
19 void (*ARMI_IRQDisable) (int);
20 void (*ARMI_IRQProcess) (void);
21 void (*ARMI_LED_Toggle) (int, int);
24 extern struct ARM_Implementation __arm_arosintern;
26 // values for arm_toggle_led
28 #define ARM_LED_ON 1
29 #define ARM_LED_OFF 0
31 #define ARM_LED_POWER 0
32 #define ARM_LED_ACTIVITY 1