a.out.h 338 B

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