smp_lock.h 245 B

1234567891011121314151617
  1. /*
  2. */
  3. #include <Asmdef.h>
  4. #include <rom_def.h>
  5. #include <stdio.h>
  6. #include <asm/types.h>
  7. #define LOCK_SPI 0
  8. #define LOCK_MALLOC 2
  9. #define LOCK_PRINT 4
  10. #define LOCK_NAND 6
  11. __cpu0 void SmpLock(int offset);
  12. __cpu0 void SmpUnlock(int offset);