github.com/xushiwei/go@v0.0.0-20130601165731-2b9d83f45bc9/src/pkg/runtime/defs_plan9_386.h (about)

     1  #define PAGESIZE 0x1000
     2  
     3  typedef struct Ureg Ureg;
     4  
     5  struct Ureg
     6  {
     7  	uint32	di;		/* general registers */
     8  	uint32	si;		/* ... */
     9  	uint32	bp;		/* ... */
    10  	uint32	nsp;
    11  	uint32	bx;		/* ... */
    12  	uint32	dx;		/* ... */
    13  	uint32	cx;		/* ... */
    14  	uint32	ax;		/* ... */
    15  	uint32	gs;		/* data segments */
    16  	uint32	fs;		/* ... */
    17  	uint32	es;		/* ... */
    18  	uint32	ds;		/* ... */
    19  	uint32	trap;		/* trap type */
    20  	uint32	ecode;		/* error code (or zero) */
    21  	uint32	pc;		/* pc */
    22  	uint32	cs;		/* old context */
    23  	uint32	flags;		/* old flags */
    24  	union {
    25  		uint32	usp;
    26  		uint32	sp;
    27  	};
    28  	uint32	ss;		/* old stack segment */
    29  };