You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

osdep.h 522B

1234567891011121314151617181920212223242526272829303132
  1. #ifndef ETHERBOOT_OSDEP_H
  2. #define ETHERBOOT_OSDEP_H
  3. /* Optimization barrier */
  4. /* The "volatile" is due to gcc bugs */
  5. #define barrier() __asm__ __volatile__("": : :"memory")
  6. #include "stdint.h"
  7. #include "limits.h"
  8. #include "string.h"
  9. #include "io.h"
  10. #include "endian.h"
  11. #include "byteswap.h"
  12. #include "setjmp.h"
  13. #include "latch.h"
  14. typedef unsigned long Address;
  15. /* ANSI prototyping macro */
  16. #ifdef __STDC__
  17. #define P(x) x
  18. #else
  19. #define P(x) ()
  20. #endif
  21. #endif
  22. /*
  23. * Local variables:
  24. * c-basic-offset: 8
  25. * End:
  26. */