* sim-main.h: add vif registers

* interp.c: incorporate vif register load/store
        * sky-pke.[ch]: add register load/store routines
        * sku-vu.c: P register is float
This commit is contained in:
Ron Unrau
1998-04-02 21:02:38 +00:00
parent 69d5a56645
commit c567d0b941
2 changed files with 167 additions and 146 deletions

View File

@@ -412,6 +412,13 @@ struct pke_device
int qw_pc; /* 0 .. 3: word index of next instruction */
};
extern struct pke_device pke0_device;
extern struct pke_device pke1_device;
int read_pke_reg (struct pke_device *device, int regno, void *buf);
int write_pke_reg (struct pke_device *device, int regno, const void *buf);
int read_pke_pc (struct pke_device *device, void *buf);
/* Flags for PKE.flags */