summaryrefslogtreecommitdiff
path: root/alpha/include/ureg.h
diff options
context:
space:
mode:
authorcinap_lenrek <devnull@localhost>2011-03-30 16:05:55 +0000
committercinap_lenrek <devnull@localhost>2011-03-30 16:05:55 +0000
commitc3ceeded2dfb647e1a4172debf3cf6d3aba5ef39 (patch)
tree463dc45c4a24bec37a8bfabdbfa02e3f4d21f8e6 /alpha/include/ureg.h
parent96fa636465351366a4e11569c21175a9337d7866 (diff)
downloadplan9front-c3ceeded2dfb647e1a4172debf3cf6d3aba5ef39.tar.xz
...
Diffstat (limited to 'alpha/include/ureg.h')
-rw-r--r--alpha/include/ureg.h49
1 files changed, 49 insertions, 0 deletions
diff --git a/alpha/include/ureg.h b/alpha/include/ureg.h
new file mode 100644
index 000000000..7772659be
--- /dev/null
+++ b/alpha/include/ureg.h
@@ -0,0 +1,49 @@
+struct Ureg
+{
+ /* l.s saves 31 64-bit values: */
+ uvlong type;
+ uvlong a0;
+ uvlong a1;
+ uvlong a2;
+
+ uvlong r0;
+ uvlong r1;
+ uvlong r2;
+ uvlong r3;
+ uvlong r4;
+ uvlong r5;
+ uvlong r6;
+ uvlong r7;
+ uvlong r8;
+ uvlong r9;
+ uvlong r10;
+ uvlong r11;
+ uvlong r12;
+ uvlong r13;
+ uvlong r14;
+ uvlong r15;
+
+ uvlong r19;
+ uvlong r20;
+ uvlong r21;
+ uvlong r22;
+ uvlong r23;
+ uvlong r24;
+ uvlong r25;
+ uvlong r26;
+ uvlong r27;
+ uvlong r28;
+ union {
+ uvlong r30;
+ uvlong usp;
+ uvlong sp;
+ };
+
+ /* OSF/1 PALcode frame: */
+ uvlong status; /* PS */
+ uvlong pc;
+ uvlong r29; /* GP */
+ uvlong r16; /* a0 */
+ uvlong r17; /* a1 */
+ uvlong r18; /* a2 */
+};