a.out.h 364 B

1234567891011121314151617181920
  1. #ifndef __UM_A_OUT_H
  2. #define __UM_A_OUT_H
  3. #include "linux/config.h"
  4. #include "asm/arch/a.out.h"
  5. #include "choose-mode.h"
  6. #undef STACK_TOP
  7. extern unsigned long stacksizelim;
  8. extern unsigned long host_task_size;
  9. #define STACK_ROOM (stacksizelim)
  10. extern int honeypot;
  11. #define STACK_TOP \
  12. CHOOSE_MODE((honeypot ? host_task_size : task_size), task_size)
  13. #endif