root/include/asm-sparc/user.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   1 /* $Id: user.h,v 1.2 1995/11/25 02:33:15 davem Exp $
   2  * asm-sparc/user.h: Core file definitions for the Sparc.
   3  *
   4  * Copyright (C) 1995 (davem@caip.rutgers.edu)
   5  */
   6 #ifndef _SPARC_USER_H
   7 #define _SPARC_USER_H
   8 
   9 struct user {
  10         unsigned long regs[24 + 32]; /* locals, ins, globals + fpu regs */
  11         size_t        u_tsize;
  12         size_t        u_dsize;
  13         size_t        u_ssize;
  14         unsigned long start_code;
  15         unsigned long start_data;
  16         unsigned long start_stack;
  17         int           signal;
  18         unsigned long *u_ar0;
  19         unsigned long magic;
  20         char          u_comm[32];
  21 };
  22 
  23 #define NBPG                   PAGE_SIZE
  24 #define UPAGES                 1
  25 #define HOST_TEXT_START_ADDR   (u.start_code)
  26 #define HOST_DATA_START_ADDR   (u.start_data)
  27 #define HOST_STACK_END_ADDR    (u.start_stack + u.u_ssize * NBPG)
  28 
  29 #endif /* !(_SPARC_USER_H) */

/* [previous][next][first][last][top][bottom][index][help] */