result.h 517 B

1234567891011121314151617181920212223242526
  1. /*
  2. * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
  3. * See the copyright notice in the ACK home directory, in the file "Copyright".
  4. */
  5. /* $Id$ */
  6. #ifndef MACH_PROTO_NCG_RESULT_H
  7. #define MACH_PROTO_NCG_RESULT_H
  8. struct result {
  9. int e_typ; /* EV_INT,EV_REG,EV_STR */
  10. union {
  11. word e_con;
  12. int e_reg;
  13. addr_t e_addr;
  14. } e_v; /* value */
  15. };
  16. #define EV_UNDEF 0
  17. #define EV_INT 1
  18. #define EV_REG 2
  19. #define EV_ADDR 3
  20. typedef struct result result_t;
  21. #endif /* MACH_PROTO_NCG_RESULT_H */