2017-10-08 23:47:27 +03:00
|
|
|
/* HPPA cores and system support chips. */
|
|
|
|
|
2019-06-04 21:16:18 +03:00
|
|
|
#ifndef HW_HPPA_HPPA_HARDWARE_H
|
|
|
|
#define HW_HPPA_HPPA_HARDWARE_H
|
|
|
|
|
2017-10-08 23:47:27 +03:00
|
|
|
#define FIRMWARE_START 0xf0000000
|
|
|
|
#define FIRMWARE_END 0xf0800000
|
|
|
|
|
|
|
|
#define DEVICE_HPA_LEN 0x00100000
|
|
|
|
|
|
|
|
#define GSC_HPA 0xffc00000
|
|
|
|
#define DINO_HPA 0xfff80000
|
|
|
|
#define DINO_UART_HPA 0xfff83000
|
|
|
|
#define DINO_UART_BASE 0xfff83800
|
|
|
|
#define DINO_SCSI_HPA 0xfff8c000
|
|
|
|
#define LASI_HPA 0xffd00000
|
|
|
|
#define LASI_UART_HPA 0xffd05000
|
|
|
|
#define LASI_SCSI_HPA 0xffd06000
|
|
|
|
#define LASI_LAN_HPA 0xffd07000
|
2020-07-26 12:24:30 +03:00
|
|
|
#define LASI_RTC_HPA 0xffd09000
|
2017-10-08 23:47:27 +03:00
|
|
|
#define LASI_LPT_HPA 0xffd02000
|
|
|
|
#define LASI_AUDIO_HPA 0xffd04000
|
|
|
|
#define LASI_PS2KBD_HPA 0xffd08000
|
|
|
|
#define LASI_PS2MOU_HPA 0xffd08100
|
|
|
|
#define LASI_GFX_HPA 0xf8000000
|
2019-12-21 00:15:11 +03:00
|
|
|
#define ARTIST_FB_ADDR 0xf9000000
|
2019-03-15 19:41:30 +03:00
|
|
|
#define CPU_HPA 0xfffb0000
|
2017-10-08 23:47:27 +03:00
|
|
|
#define MEMORY_HPA 0xfffbf000
|
|
|
|
|
|
|
|
#define PCI_HPA DINO_HPA /* PCI bus */
|
|
|
|
#define IDE_HPA 0xf9000000 /* Boot disc controller */
|
|
|
|
|
|
|
|
/* offsets to DINO HPA: */
|
|
|
|
#define DINO_PCI_ADDR 0x064
|
|
|
|
#define DINO_CONFIG_DATA 0x068
|
|
|
|
#define DINO_IO_DATA 0x06c
|
|
|
|
|
|
|
|
#define PORT_PCI_CMD (PCI_HPA + DINO_PCI_ADDR)
|
|
|
|
#define PORT_PCI_DATA (PCI_HPA + DINO_CONFIG_DATA)
|
|
|
|
|
2020-09-02 22:21:01 +03:00
|
|
|
#define FW_CFG_IO_BASE 0xfffa0000
|
2020-07-26 12:24:30 +03:00
|
|
|
|
2017-10-08 23:47:27 +03:00
|
|
|
#define PORT_SERIAL1 (DINO_UART_HPA + 0x800)
|
|
|
|
#define PORT_SERIAL2 (LASI_UART_HPA + 0x800)
|
|
|
|
|
2019-03-15 19:41:30 +03:00
|
|
|
#define HPPA_MAX_CPUS 8 /* max. number of SMP CPUs */
|
2017-10-08 23:47:27 +03:00
|
|
|
#define CPU_CLOCK_MHZ 250 /* emulate a 250 MHz CPU */
|
2019-06-04 21:16:18 +03:00
|
|
|
|
2020-07-26 12:24:30 +03:00
|
|
|
#define CPU_HPA_CR_REG 7 /* store CPU HPA in cr7 (SeaBIOS internal) */
|
|
|
|
|
2019-06-04 21:16:18 +03:00
|
|
|
#endif
|