Changeset View
Changeset View
Standalone View
Standalone View
head/sys/mips/cavium/octeon_cop2.S
Show All 23 Lines | |||||
* SUCH DAMAGE. | * SUCH DAMAGE. | ||||
* | * | ||||
* $FreeBSD$ | * $FreeBSD$ | ||||
*/ | */ | ||||
#include <machine/asm.h> | #include <machine/asm.h> | ||||
#include <mips/cavium/octeon_cop2.h> | #include <mips/cavium/octeon_cop2.h> | ||||
#include "assym.s" | #include "assym.inc" | ||||
.set noreorder | .set noreorder | ||||
#define SAVE_COP2_REGISTER(reg) \ | #define SAVE_COP2_REGISTER(reg) \ | ||||
dmfc2 t1, reg; sd t1, reg##_OFFSET(a0) | dmfc2 t1, reg; sd t1, reg##_OFFSET(a0) | ||||
#define RESTORE_COP2_REGISTER(reg) \ | #define RESTORE_COP2_REGISTER(reg) \ | ||||
▲ Show 20 Lines • Show All 185 Lines • Show Last 20 Lines |