Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

parisc: Add some missing PDC functions and constants

Signed-off-by: Helge Deller <deller@gmx.de>

+25 -2
+25 -2
arch/parisc/include/uapi/asm/pdc.h
··· 58 58 #define PDC_MODEL_NVA_SUPPORTED (0 << 4) 59 59 #define PDC_MODEL_NVA_SLOW (1 << 4) 60 60 #define PDC_MODEL_NVA_UNSUPPORTED (3 << 4) 61 - #define PDC_MODEL_GET_BOOT__OP 8 /* returns boot test options */ 62 - #define PDC_MODEL_SET_BOOT__OP 9 /* set boot test options */ 61 + #define PDC_MODEL_FIRM_TEST_GET 8 /* returns boot test options */ 62 + #define PDC_MODEL_FIRM_TEST_SET 9 /* set boot test options */ 63 63 #define PDC_MODEL_GET_PLATFORM_INFO 10 /* returns platform info */ 64 64 #define PDC_MODEL_GET_INSTALL_KERNEL 11 /* returns kernel for installation */ 65 65 ··· 609 609 unsigned long mod_pgs; 610 610 }; 611 611 612 + struct pdc_relocate_info_block { /* PDC_RELOCATE_INFO */ 613 + unsigned long pdc_size; 614 + unsigned long pdc_alignment; 615 + unsigned long pdc_address; 616 + }; 617 + 612 618 struct pdc_initiator { /* PDC_INITIATOR */ 613 619 int host_id; 614 620 int factor; ··· 722 716 unsigned int check_type; 723 717 struct pim_cpu_state_cf cpu_state; 724 718 }; 719 + 720 + /* for SpeedyBoot/firm_ctl funtionality */ 721 + struct pdc_firm_test_get_rtn_block { /* PDC_MODEL/PDC_FIRM_TEST_GET */ 722 + unsigned long current_tests; /* u_R_addr Raddr_ints[0] */ 723 + unsigned long tests_supported; /* u_R_addr Raddr_ints[1] */ 724 + unsigned long default_tests; /* u_R_addr Raddr_ints[2] */ 725 + }; 726 + 727 + #define TORNADO_CPU_ID 0xB 728 + #define PCXL_CPU_ID 0xD 729 + #define PCXU_CPU_ID 0xE /* U and U+ for all but C-class with bug */ 730 + #define VR_CPU_ID 0xF 731 + #define PCXU_PLUS_CPU_ID 0x10 /* U+ only on C-class with bug */ 732 + #define PCXW_CPU_ID 0x11 733 + #define PCXW_PLUS_CPU_ID 0x12 734 + #define PIRANHA_CPU_ID 0x13 735 + #define MAKO_CPU_ID 0x14 725 736 726 737 #endif /* !defined(__ASSEMBLY__) */ 727 738