mirror of
				https://github.com/hedge-dev/XenonRecomp.git
				synced 2025-11-04 06:47:09 +00:00 
			
		
		
		
	Different function type
This commit is contained in:
		@@ -162,7 +162,7 @@ struct _XLIST_ENTRY;
 | 
				
			|||||||
typedef _XLIST_ENTRY XLIST_ENTRY;
 | 
					typedef _XLIST_ENTRY XLIST_ENTRY;
 | 
				
			||||||
typedef xpointer<XLIST_ENTRY> PXLIST_ENTRY;
 | 
					typedef xpointer<XLIST_ENTRY> PXLIST_ENTRY;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
typedef struct _X_RUNTIME_FUNCTION
 | 
					typedef struct _IMAGE_CE_RUNTIME_FUNCTION
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
    DWORD BeginAddress;
 | 
					    DWORD BeginAddress;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
@@ -171,14 +171,15 @@ typedef struct _X_RUNTIME_FUNCTION
 | 
				
			|||||||
        DWORD Data;
 | 
					        DWORD Data;
 | 
				
			||||||
        struct
 | 
					        struct
 | 
				
			||||||
        {
 | 
					        {
 | 
				
			||||||
            DWORD FunctionType : 2;
 | 
					 | 
				
			||||||
            DWORD FunctionLength : 22;
 | 
					 | 
				
			||||||
            DWORD PrologLength : 8;
 | 
					            DWORD PrologLength : 8;
 | 
				
			||||||
 | 
					            DWORD FunctionLength : 22;
 | 
				
			||||||
 | 
					            DWORD ThirtyTwoBit : 1;
 | 
				
			||||||
 | 
					            DWORD ExceptionFlag : 1;
 | 
				
			||||||
        };
 | 
					        };
 | 
				
			||||||
    };
 | 
					    };
 | 
				
			||||||
} X_RUNTIME_FUNCTION;
 | 
					} IMAGE_CE_RUNTIME_FUNCTION;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static_assert(sizeof(X_RUNTIME_FUNCTION) == 8);
 | 
					static_assert(sizeof(IMAGE_CE_RUNTIME_FUNCTION) == 8);
 | 
				
			||||||
 | 
					
 | 
				
			||||||
typedef struct _XLIST_ENTRY
 | 
					typedef struct _XLIST_ENTRY
 | 
				
			||||||
{
 | 
					{
 | 
				
			||||||
 
 | 
				
			|||||||
							
								
								
									
										2
									
								
								tests/PowerAnalyse/private/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								tests/PowerAnalyse/private/.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
				
			|||||||
 | 
					*
 | 
				
			||||||
 | 
					!.gitignore
 | 
				
			||||||
							
								
								
									
										3
									
								
								thirdparty/disasm/ppc.h
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										3
									
								
								thirdparty/disasm/ppc.h
									
									
									
									
										vendored
									
									
								
							@@ -19,6 +19,9 @@
 | 
				
			|||||||
/* A macro to extract whether the branch is a link. */
 | 
					/* A macro to extract whether the branch is a link. */
 | 
				
			||||||
#define PPC_BL(i) (!!((i) & 1))
 | 
					#define PPC_BL(i) (!!((i) & 1))
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					/* A macro to extract the branch operation of an instruction. */
 | 
				
			||||||
 | 
					#define PPC_BO(i) (((i) >> 21) & 0x1F)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#define PPC_OP_TDI 2
 | 
					#define PPC_OP_TDI 2
 | 
				
			||||||
#define PPC_OP_TWI 3
 | 
					#define PPC_OP_TWI 3
 | 
				
			||||||
#define PPC_OP_MULLI 7
 | 
					#define PPC_OP_MULLI 7
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user