mirror of https://github.com/xemu-project/xemu.git
xbox: Disable clang-format for deliberately aligned reg defs
This commit is contained in:
parent
0fe76b531f
commit
a830cc4526
|
@ -22,6 +22,8 @@
|
|||
#ifndef MCPX_APU_REGS_H
|
||||
#define MCPX_APU_REGS_H
|
||||
|
||||
// clang-format off
|
||||
|
||||
#define NV_PAPU_ISTS 0x00001000
|
||||
# define NV_PAPU_ISTS_GINTSTS (1 << 0)
|
||||
# define NV_PAPU_ISTS_FETINTSTS (1 << 4)
|
||||
|
@ -343,4 +345,6 @@ enum MCPX_HW_NOTIFIER {
|
|||
#define NV1BA0_NOTIFICATION_STATUS_DONE_SUCCESS 0x01
|
||||
#define NV1BA0_NOTIFICATION_STATUS_IN_PROGRESS 0x80
|
||||
|
||||
// clang-format on
|
||||
|
||||
#endif
|
||||
|
|
|
@ -32,6 +32,8 @@
|
|||
(v) |= ((__val) << ctz32(__mask)) & (__mask); \
|
||||
})
|
||||
|
||||
// clang-format off
|
||||
|
||||
#define NV_NUM_BLOCKS 21
|
||||
#define NV_PMC 0 /* card master control */
|
||||
#define NV_PBUS 1 /* bus control */
|
||||
|
@ -1463,4 +1465,6 @@
|
|||
|
||||
#define NV2A_CUBEMAP_FACE_ALIGNMENT 128
|
||||
|
||||
// clang-format on
|
||||
|
||||
#endif
|
||||
|
|
|
@ -68,6 +68,8 @@
|
|||
#ifndef HW_NVNET_REGS_H
|
||||
#define HW_NVNET_REGS_H
|
||||
|
||||
// clang-format on
|
||||
|
||||
#define DEV_NEED_LASTPACKET1 0x0001
|
||||
#define DEV_IRQMASK_1 0x0002
|
||||
#define DEV_IRQMASK_2 0x0004
|
||||
|
@ -291,4 +293,6 @@ enum {
|
|||
#define LPA_LPACK 0x4000 /* Link partner acked us */
|
||||
#define LPA_NPAGE 0x8000 /* Next page bit */
|
||||
|
||||
// clang-format off
|
||||
|
||||
#endif /* HW_NVNET_REGS_H */
|
||||
|
|
Loading…
Reference in New Issue