~ubuntu-branches/ubuntu/saucy/golang/saucy

« back to all changes in this revision

Viewing changes to src/pkg/runtime/defs_plan9_386.h

  • Committer: Package Import Robot
  • Author(s): Adam Conrad
  • Date: 2013-07-08 05:52:37 UTC
  • mfrom: (29.1.1 sid)
  • Revision ID: package-import@ubuntu.com-20130708055237-at01839e0hp8z3ni
Tags: 2:1.1-1ubuntu1
016-armhf-elf-header.patch: Use correct ELF header for armhf binaries.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// nothing to see here
2
 
#define tos_pid 48
 
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
};