prom.h (5b45fe6b39e1d01c45de7b8e6d3ff72585eee6cf) prom.h (ac5e5a5402d64acd48af3287718e24ff8ba9fa21)
1#ifndef _POWERPC_PROM_H
2#define _POWERPC_PROM_H
3#ifdef __KERNEL__
4
5/*
6 * Definitions for talking to the Open Firmware PROM on
7 * Power Macintosh computers.
8 *

--- 145 unchanged lines hidden (view full) ---

154#define OV5_TYPE1_AFFINITY 0x0580 /* Type 1 NUMA affinity */
155#define OV5_PRRN 0x0540 /* Platform Resource Reassignment */
156#define OV5_HP_EVT 0x0604 /* Hot Plug Event support */
157#define OV5_RESIZE_HPT 0x0601 /* Hash Page Table resizing */
158#define OV5_PFO_HW_RNG 0x1180 /* PFO Random Number Generator */
159#define OV5_PFO_HW_842 0x1140 /* PFO Compression Accelerator */
160#define OV5_PFO_HW_ENCR 0x1120 /* PFO Encryption Accelerator */
161#define OV5_SUB_PROCESSORS 0x1501 /* 1,2,or 4 Sub-Processors supported */
1#ifndef _POWERPC_PROM_H
2#define _POWERPC_PROM_H
3#ifdef __KERNEL__
4
5/*
6 * Definitions for talking to the Open Firmware PROM on
7 * Power Macintosh computers.
8 *

--- 145 unchanged lines hidden (view full) ---

154#define OV5_TYPE1_AFFINITY 0x0580 /* Type 1 NUMA affinity */
155#define OV5_PRRN 0x0540 /* Platform Resource Reassignment */
156#define OV5_HP_EVT 0x0604 /* Hot Plug Event support */
157#define OV5_RESIZE_HPT 0x0601 /* Hash Page Table resizing */
158#define OV5_PFO_HW_RNG 0x1180 /* PFO Random Number Generator */
159#define OV5_PFO_HW_842 0x1140 /* PFO Compression Accelerator */
160#define OV5_PFO_HW_ENCR 0x1120 /* PFO Encryption Accelerator */
161#define OV5_SUB_PROCESSORS 0x1501 /* 1,2,or 4 Sub-Processors supported */
162#define OV5_XIVE_EXPLOIT 0x1701 /* XIVE exploitation supported */
162#define OV5_XIVE_SUPPORT 0x17C0 /* XIVE Exploitation Support Mask */
163#define OV5_XIVE_LEGACY 0x1700 /* XIVE legacy mode Only */
164#define OV5_XIVE_EXPLOIT 0x1740 /* XIVE exploitation mode Only */
165#define OV5_XIVE_EITHER 0x1780 /* XIVE legacy or exploitation mode */
163/* MMU Base Architecture */
164#define OV5_MMU_SUPPORT 0x18C0 /* MMU Mode Support Mask */
165#define OV5_MMU_HASH 0x1800 /* Hash MMU Only */
166#define OV5_MMU_RADIX 0x1840 /* Radix MMU Only */
167#define OV5_MMU_EITHER 0x1880 /* Hash or Radix Supported */
168#define OV5_MMU_DYNAMIC 0x18C0 /* Hash or Radix Can Switch Later */
169#define OV5_NMMU 0x1820 /* Nest MMU Available */
170/* Hash Table Extensions */
171#define OV5_HASH_SEG_TBL 0x1980 /* In Memory Segment Tables Available */
172#define OV5_HASH_GTSE 0x1940 /* Guest Translation Shoot Down Avail */
173/* Radix Table Extensions */
174#define OV5_RADIX_GTSE 0x1A40 /* Guest Translation Shoot Down Avail */
175
176/* Option Vector 6: IBM PAPR hints */
177#define OV6_LINUX 0x02 /* Linux is our OS */
178
179#endif /* __KERNEL__ */
180#endif /* _POWERPC_PROM_H */
166/* MMU Base Architecture */
167#define OV5_MMU_SUPPORT 0x18C0 /* MMU Mode Support Mask */
168#define OV5_MMU_HASH 0x1800 /* Hash MMU Only */
169#define OV5_MMU_RADIX 0x1840 /* Radix MMU Only */
170#define OV5_MMU_EITHER 0x1880 /* Hash or Radix Supported */
171#define OV5_MMU_DYNAMIC 0x18C0 /* Hash or Radix Can Switch Later */
172#define OV5_NMMU 0x1820 /* Nest MMU Available */
173/* Hash Table Extensions */
174#define OV5_HASH_SEG_TBL 0x1980 /* In Memory Segment Tables Available */
175#define OV5_HASH_GTSE 0x1940 /* Guest Translation Shoot Down Avail */
176/* Radix Table Extensions */
177#define OV5_RADIX_GTSE 0x1A40 /* Guest Translation Shoot Down Avail */
178
179/* Option Vector 6: IBM PAPR hints */
180#define OV6_LINUX 0x02 /* Linux is our OS */
181
182#endif /* __KERNEL__ */
183#endif /* _POWERPC_PROM_H */