forked from ~ljy/RK356X_SDK_RELEASE

hc
2024-01-04 1543e317f1da31b75942316931e8f491a8920811
kernel/arch/parisc/include/asm/pdc.h
....@@ -11,6 +11,7 @@
1111 extern int pdc_type;
1212 extern unsigned long parisc_cell_num; /* cell number the CPU runs on (PAT) */
1313 extern unsigned long parisc_cell_loc; /* cell location of CPU (PAT) */
14
+extern unsigned long parisc_pat_pdc_cap; /* PDC capabilities (PAT) */
1415
1516 /* Values for pdc_type */
1617 #define PDC_TYPE_ILLEGAL -1
....@@ -43,6 +44,7 @@
4344 int pdc_model_cpuid(unsigned long *cpu_id);
4445 int pdc_model_versions(unsigned long *versions, int id);
4546 int pdc_model_capabilities(unsigned long *capabilities);
47
+int pdc_model_platform_info(char *orig_prod_num, char *current_prod_num, char *serial_no);
4648 int pdc_cache_info(struct pdc_cache_info *cache);
4749 int pdc_spaceid_bits(unsigned long *space_bits);
4850 #ifndef CONFIG_PA20
....@@ -89,6 +91,7 @@
8991 unsigned long inptr, unsigned long outputr,
9092 unsigned long glob_cfg);
9193
94
+int __pdc_cpu_rendezvous(void);
9295 static inline char * os_id_to_string(u16 os_id) {
9396 switch(os_id) {
9497 case OS_ID_NONE: return "No OS";