From 8ca82a7e81b3fda5fc02d9ad30030ea0bf5f943c Mon Sep 17 00:00:00 2001 From: Alan Cox Date: Fri, 21 Mar 2003 02:30:32 -0800 Subject: [PATCH] [PATCH] PC9800 system common area definition --- include/asm-i386/pc9800_sca.h | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 include/asm-i386/pc9800_sca.h diff --git a/include/asm-i386/pc9800_sca.h b/include/asm-i386/pc9800_sca.h new file mode 100644 index 0000000000000..14731ed3f634b --- /dev/null +++ b/include/asm-i386/pc9800_sca.h @@ -0,0 +1,25 @@ +/* + * System-common area definitions for NEC PC-9800 series + * + * Copyright (C) 1999 TAKAI Kousuke , + * Kyoto University Microcomputer Club. + */ + +#ifndef _ASM_I386_PC9800SCA_H_ +#define _ASM_I386_PC9800SCA_H_ + +#define PC9800SCA_EXPMMSZ (0x0401) /* B */ +#define PC9800SCA_SCSI_PARAMS (0x0460) /* 8 * 4B */ +#define PC9800SCA_DISK_EQUIPS (0x0482) /* B */ +#define PC9800SCA_XROM_ID (0x04C0) /* 52B */ +#define PC9800SCA_BIOS_FLAG (0x0501) /* B */ +#define PC9800SCA_MMSZ16M (0x0594) /* W */ + +/* PC-9821 have additional system common area in their BIOS-ROM segment. */ + +#define PC9821SCA__BASE (0xF8E8 << 4) +#define PC9821SCA_ROM_ID (PC9821SCA__BASE + 0x00) +#define PC9821SCA_ROM_FLAG4 (PC9821SCA__BASE + 0x05) +#define PC9821SCA_RSFLAGS (PC9821SCA__BASE + 0x11) /* B */ + +#endif /* !_ASM_I386_PC9800SCA_H_ */ -- 2.53.0