Changeset 350 for soft/giet_vm/giet_drivers/bdv_driver.c
- Timestamp:
- Jun 29, 2014, 12:53:25 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
soft/giet_vm/giet_drivers/bdv_driver.c
r333 r350 63 63 #include <ctx_handler.h> 64 64 65 #if !defined(GIET_NO_HARD_CC) 66 # error: You must define GIET_NO_HARD_CC in the giet_config.h file 67 #endif 68 65 69 /////////////////////////////////////////////////////////////////////////////// 66 70 // BDV global variables … … 68 72 69 73 #define in_unckdata __attribute__((section (".unckdata"))) 70 71 in_unckdata unsigned int _bdv_lock = 0; 72 in_unckdata volatile unsigned int _bdv_status = 0; 74 #define in_kdata __attribute__((section (".kdata"))) 75 76 #if GIET_NO_HARD_CC 77 in_unckdata giet_lock_t _bdv_lock __attribute__((aligned(64))); 78 in_unckdata volatile unsigned int _bdv_status; 73 79 in_unckdata volatile unsigned int _bdv_gtid; 80 #else 81 in_kdata giet_lock_t _bdv_lock __attribute__((aligned(64))); 82 in_kdata volatile unsigned int _bdv_status; 83 in_kdata volatile unsigned int _bdv_gtid; 84 #endif 74 85 75 86 ///////////////////////////////////////////////////////////////////////////////
Note: See TracChangeset
for help on using the changeset viewer.