Home
last modified time | relevance | path

Searched refs:MC_NVRAM_START (Results 1 – 6 of 6) sorted by relevance

/openbsd/sys/arch/i386/isa/
H A Dnvram.h44 #define NVRAM_DIAG (MC_NVRAM_START + 0) /* RTC offset 0xe */
49 #define NVRAM_RESET (MC_NVRAM_START + 1) /* RTC offset 0xf */
56 #define NVRAM_DISKETTE (MC_NVRAM_START + 2) /* RTC offset 0x10 */
67 #define NVRAM_EQUIPMENT (MC_NVRAM_START + 6)
81 #define NVRAM_BASELO (MC_NVRAM_START + 7) /* low byte; RTC off. 0x15 */
82 #define NVRAM_BASEHI (MC_NVRAM_START + 8) /* high byte; RTC off. 0x16 */
85 #define NVRAM_EXTLO (MC_NVRAM_START + 9) /* low byte; RTC off. 0x17 */
86 #define NVRAM_EXTHI (MC_NVRAM_START + 10) /* high byte; RTC off. 0x18 */
89 #define NVRAM_PEXTLO (MC_NVRAM_START + 34) /* low byte; RTC off. 0x30 */
90 #define NVRAM_PEXTHI (MC_NVRAM_START + 35) /* high byte; RTC off. 0x31 */
[all …]
/openbsd/sys/arch/amd64/isa/
H A Dnvram.h44 #define NVRAM_DIAG (MC_NVRAM_START + 0) /* RTC offset 0xe */
49 #define NVRAM_RESET (MC_NVRAM_START + 1) /* RTC offset 0xf */
56 #define NVRAM_DISKETTE (MC_NVRAM_START + 2) /* RTC offset 0x10 */
67 #define NVRAM_EQUIPMENT (MC_NVRAM_START + 6)
81 #define NVRAM_BASELO (MC_NVRAM_START + 7) /* low byte; RTC off. 0x15 */
82 #define NVRAM_BASEHI (MC_NVRAM_START + 8) /* high byte; RTC off. 0x16 */
85 #define NVRAM_EXTLO (MC_NVRAM_START + 9) /* low byte; RTC off. 0x17 */
86 #define NVRAM_EXTHI (MC_NVRAM_START + 10) /* high byte; RTC off. 0x18 */
89 #define NVRAM_PEXTLO (MC_NVRAM_START + 34) /* low byte; RTC off. 0x30 */
90 #define NVRAM_PEXTHI (MC_NVRAM_START + 35) /* high byte; RTC off. 0x31 */
[all …]
/openbsd/sys/arch/amd64/amd64/
H A Dnvram.c37 #define NVRAM_CSUM_START (MC_NVRAM_START + 2)
38 #define NVRAM_CSUM_END (MC_NVRAM_START + 31)
39 #define NVRAM_CSUM_LOC (MC_NVRAM_START + 32)
41 #define NVRAM_SIZE (128 - MC_NVRAM_START)
132 return (mc146818_read(NULL, byteno + MC_NVRAM_START) & 0xff); in nvram_get_byte()
/openbsd/sys/arch/i386/i386/
H A Dnvram.c36 #define NVRAM_CSUM_START (MC_NVRAM_START + 2)
37 #define NVRAM_CSUM_END (MC_NVRAM_START + 31)
38 #define NVRAM_CSUM_LOC (MC_NVRAM_START + 32)
40 #define NVRAM_SIZE (128 - MC_NVRAM_START)
132 return (mc146818_read(NULL, byteno + MC_NVRAM_START) & 0xff); in nvram_get_byte()
/openbsd/usr.sbin/vmd/
H A Dmc146818.c302 case MC_NVRAM_START ... MC_NVRAM_START + MC_NVRAM_SIZE: in vcpu_exit_mc146818()
/openbsd/sys/dev/ic/
H A Dmc146818reg.h114 #define MC_NVRAM_START 0xe /* start of NVRAM: offset 14 */ macro