Subversion Repositories HelenOS

Compare Revisions

Regard whitespace Rev 3879 → Rev 3880

/trunk/kernel/arch/amd64/src/amd64.c
226,5 → 226,19
i8042_release();
}
 
/** Construct function pointer
*
* @param fptr function pointer structure
* @param addr function address
* @param caller calling function address
*
* @return address of the function pointer
*
*/
void *arch_construct_function(fncptr_t *fptr, void *addr, void *caller)
{
return addr;
}
 
/** @}
*/
/trunk/kernel/arch/amd64/src/debugger.c
210,7 → 210,7
return curidx;
}
 
#ifdef amd64
#ifdef __64_BITS__
# define getip(x) ((x)->rip)
#else
# define getip(x) ((x)->eip)
276,7 → 276,7
int i;
/* Set RF to restart the instruction */
#ifdef amd64
#ifdef __64_BITS__
istate->rflags |= RFLAGS_RF;
#else
istate->eflags |= EFLAGS_RF;