types.h 694 B

12345678910111213141516171819202122232425
  1. /*
  2. * This file is subject to the terms and conditions of the GNU General Public
  3. * License. See the file "COPYING" in the main directory of this archive
  4. * for more details.
  5. *
  6. * Copyright (C) 1994, 1995, 1996, 1999 by Ralf Baechle
  7. * Copyright (C) 1999 Silicon Graphics, Inc.
  8. */
  9. #ifndef _ASM_TYPES_H
  10. #define _ASM_TYPES_H
  11. //-------------------------------------------------------------------------------
  12. // typedef
  13. //-------------------------------------------------------------------------------
  14. typedef unsigned int u32;
  15. typedef unsigned short u16;
  16. typedef unsigned char u8;
  17. #ifndef _windows_
  18. typedef unsigned char bool;
  19. #define false 0
  20. #define true 1
  21. #endif
  22. #endif /* _ASM_TYPES_H */