Commit b9c515f7 authored by Helge Deller's avatar Helge Deller

parisc: Add some missing PDC functions and constants

Signed-off-by: default avatarHelge Deller <deller@gmx.de>
parent 58ad89e8
...@@ -58,8 +58,8 @@ ...@@ -58,8 +58,8 @@
#define PDC_MODEL_NVA_SUPPORTED (0 << 4) #define PDC_MODEL_NVA_SUPPORTED (0 << 4)
#define PDC_MODEL_NVA_SLOW (1 << 4) #define PDC_MODEL_NVA_SLOW (1 << 4)
#define PDC_MODEL_NVA_UNSUPPORTED (3 << 4) #define PDC_MODEL_NVA_UNSUPPORTED (3 << 4)
#define PDC_MODEL_GET_BOOT__OP 8 /* returns boot test options */ #define PDC_MODEL_FIRM_TEST_GET 8 /* returns boot test options */
#define PDC_MODEL_SET_BOOT__OP 9 /* set boot test options */ #define PDC_MODEL_FIRM_TEST_SET 9 /* set boot test options */
#define PDC_MODEL_GET_PLATFORM_INFO 10 /* returns platform info */ #define PDC_MODEL_GET_PLATFORM_INFO 10 /* returns platform info */
#define PDC_MODEL_GET_INSTALL_KERNEL 11 /* returns kernel for installation */ #define PDC_MODEL_GET_INSTALL_KERNEL 11 /* returns kernel for installation */
...@@ -609,6 +609,12 @@ struct pdc_system_map_addr_info { /* PDC_SYSTEM_MAP/FIND_ADDRESS */ ...@@ -609,6 +609,12 @@ struct pdc_system_map_addr_info { /* PDC_SYSTEM_MAP/FIND_ADDRESS */
unsigned long mod_pgs; unsigned long mod_pgs;
}; };
struct pdc_relocate_info_block { /* PDC_RELOCATE_INFO */
unsigned long pdc_size;
unsigned long pdc_alignment;
unsigned long pdc_address;
};
struct pdc_initiator { /* PDC_INITIATOR */ struct pdc_initiator { /* PDC_INITIATOR */
int host_id; int host_id;
int factor; int factor;
...@@ -717,6 +723,23 @@ struct pdc_toc_pim_20 { ...@@ -717,6 +723,23 @@ struct pdc_toc_pim_20 {
struct pim_cpu_state_cf cpu_state; struct pim_cpu_state_cf cpu_state;
}; };
/* for SpeedyBoot/firm_ctl funtionality */
struct pdc_firm_test_get_rtn_block { /* PDC_MODEL/PDC_FIRM_TEST_GET */
unsigned long current_tests; /* u_R_addr Raddr_ints[0] */
unsigned long tests_supported; /* u_R_addr Raddr_ints[1] */
unsigned long default_tests; /* u_R_addr Raddr_ints[2] */
};
#define TORNADO_CPU_ID 0xB
#define PCXL_CPU_ID 0xD
#define PCXU_CPU_ID 0xE /* U and U+ for all but C-class with bug */
#define VR_CPU_ID 0xF
#define PCXU_PLUS_CPU_ID 0x10 /* U+ only on C-class with bug */
#define PCXW_CPU_ID 0x11
#define PCXW_PLUS_CPU_ID 0x12
#define PIRANHA_CPU_ID 0x13
#define MAKO_CPU_ID 0x14
#endif /* !defined(__ASSEMBLY__) */ #endif /* !defined(__ASSEMBLY__) */
#endif /* _UAPI_PARISC_PDC_H */ #endif /* _UAPI_PARISC_PDC_H */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment