fix missing defines and prototype for emu_vdump()

This commit is contained in:
Cameron Grant 2000-04-03 00:28:43 +00:00
parent 3768ac3452
commit 8046c76306
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=58958
3 changed files with 21 additions and 6 deletions

View File

@ -124,6 +124,9 @@ static void *emu_memalloc(struct sc_info *sc, u_int32_t sz);
static int emu_memfree(struct sc_info *sc, void *buf);
#endif
static int emu_memstart(struct sc_info *sc, void *buf);
#ifdef EMUDEBUG
static void emu_vdump(struct sc_info *sc, struct emu_voice *v);
#endif
/* talk to the card */
static u_int32_t emu_rd(struct sc_info *, int, int);

View File

@ -35,8 +35,8 @@
*/
#ifndef _8010_H
#define _8010_H
#ifndef EMU10K1_H
#define EMU10K1_H
/* ------------------- DEFINES -------------------- */
@ -663,4 +663,10 @@
#define HIWORD_RESULT_MASK 0x000ffc00 /* Instruction result */
#define HIWORD_OPA_MASK 0x000003ff /* Instruction operand A */
#endif /* _8010_H */
#define ENABLE 0xffffffff
#define DISABLE 0x00000000
#define ENV_ON 0x80
#define ENV_OFF 0x00
#endif /* EMU10K1_H */

View File

@ -35,8 +35,8 @@
*/
#ifndef _8010_H
#define _8010_H
#ifndef EMU10K1_H
#define EMU10K1_H
/* ------------------- DEFINES -------------------- */
@ -663,4 +663,10 @@
#define HIWORD_RESULT_MASK 0x000ffc00 /* Instruction result */
#define HIWORD_OPA_MASK 0x000003ff /* Instruction operand A */
#endif /* _8010_H */
#define ENABLE 0xffffffff
#define DISABLE 0x00000000
#define ENV_ON 0x80
#define ENV_OFF 0x00
#endif /* EMU10K1_H */