cpuport.h 392 B

123456789101112131415161718192021
  1. /*
  2. * Copyright (c) 2006-2020, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. */
  9. #ifndef CPUPORT_H__
  10. #define CPUPORT_H__
  11. typedef union {
  12. unsigned long slock;
  13. struct __arch_tickets {
  14. unsigned short owner;
  15. unsigned short next;
  16. } tickets;
  17. } rt_hw_spinlock_t;
  18. #endif /*CPUPORT_H__*/