00001 00002 #ifndef BUS_LOCK_H 00003 #define BUS_LOCK_H 00004 00005 #ifdef __cplusplus 00006 extern "C" 00007 { 00008 #endif 00009 00010 #include "bd_types.h" 00011 00012 struct BL_ADDR_INFO; 00013 00014 struct BL_ADDR_INFO *getBusLockInfo (int board_type, unsigned long addr); 00015 void freeBusLockInfo (struct BL_ADDR_INFO *info); 00016 int enableBusLock (struct BL_ADDR_INFO *info); 00017 int disableBusLock (struct BL_ADDR_INFO *info); 00018 00019 00020 #ifdef __cplusplus 00021 } 00022 #endif 00023 00024 #endif /* BUS_LOCK_H */