pru: Initial support for the Beaglebone PRU

Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
This commit is contained in:
Kevin O'Connor
2017-05-06 21:47:04 -04:00
parent ccaa25eaa5
commit 2255176228
10 changed files with 643 additions and 0 deletions

18
src/pru/internal.h Normal file
View File

@@ -0,0 +1,18 @@
#ifndef __PRU_INTERNAL_H
#define __PRU_INTERNAL_H
// Local definitions for PRU code
#define IEP_IRQ 0
#define GOT_ARM_IRQ 1
#define WAKE_ARM_IRQ 2
#define IEP_EVENT 7
#define GOT_ARM_EVENT 17
#define WAKE_ARM_EVENT 16
#define R31_IRQ_OFFSET 30
// console.c
void console_init(void);
#endif // internal.h