diff options
author | Megan Wachs <megan@sifive.com> | 2017-02-01 16:39:38 -0800 |
---|---|---|
committer | Megan Wachs <megan@sifive.com> | 2017-02-01 16:39:38 -0800 |
commit | 08a72bb956a25fd94d965fb4474f3ddcca1ed1e6 (patch) | |
tree | 41f952ee81ce917aa6be874b226d98741008b2fd /bsp/drivers/plic | |
parent | 0adc37422f48e9468d980a1d98dcc65bd7ab3043 (diff) |
Additional PRCI driver support. Make the code usable by C++ programs as well.
Diffstat (limited to 'bsp/drivers/plic')
-rw-r--r-- | bsp/drivers/plic/plic_driver.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/bsp/drivers/plic/plic_driver.h b/bsp/drivers/plic/plic_driver.h index 66410be..b14b442 100644 --- a/bsp/drivers/plic/plic_driver.h +++ b/bsp/drivers/plic/plic_driver.h @@ -3,6 +3,8 @@ #ifndef PLIC_DRIVER_H #define PLIC_DRIVER_H +__BEGIN_DECLS + #include "platform.h" typedef struct __plic_instance_t @@ -42,5 +44,7 @@ plic_source PLIC_claim_interrupt(plic_instance_t * this_plic); void PLIC_complete_interrupt(plic_instance_t * this_plic, plic_source source); - + +__END_DECLS + #endif |