dtrace_subr.c (328386) | dtrace_subr.c (332566) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License, Version 1.0 only 6 * (the "License"). You may not use this file except in compliance 7 * with the License. 8 * --- 5 unchanged lines hidden (view full) --- 14 * When distributing Covered Code, include this CDDL HEADER in each 15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16 * If applicable, add the following below this CDDL HEADER, with the 17 * fields enclosed by brackets "[]" replaced with your own identifying 18 * information: Portions Copyright [yyyy] [name of copyright owner] 19 * 20 * CDDL HEADER END 21 * | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License, Version 1.0 only 6 * (the "License"). You may not use this file except in compliance 7 * with the License. 8 * --- 5 unchanged lines hidden (view full) --- 14 * When distributing Covered Code, include this CDDL HEADER in each 15 * file and include the License file at usr/src/OPENSOLARIS.LICENSE. 16 * If applicable, add the following below this CDDL HEADER, with the 17 * fields enclosed by brackets "[]" replaced with your own identifying 18 * information: Portions Copyright [yyyy] [name of copyright owner] 19 * 20 * CDDL HEADER END 21 * |
22 * $FreeBSD: stable/11/sys/cddl/dev/dtrace/mips/dtrace_subr.c 328386 2018-01-25 02:45:21Z pkelsey $ | 22 * $FreeBSD: stable/11/sys/cddl/dev/dtrace/mips/dtrace_subr.c 332566 2018-04-16 14:39:04Z lidl $ |
23 * 24 */ 25/* 26 * Copyright 2005 Sun Microsystems, Inc. All rights reserved. 27 * Use is subject to license terms. 28 */ 29 30#include <sys/cdefs.h> | 23 * 24 */ 25/* 26 * Copyright 2005 Sun Microsystems, Inc. All rights reserved. 27 * Use is subject to license terms. 28 */ 29 30#include <sys/cdefs.h> |
31__FBSDID("$FreeBSD: stable/11/sys/cddl/dev/dtrace/mips/dtrace_subr.c 328386 2018-01-25 02:45:21Z pkelsey $"); | 31__FBSDID("$FreeBSD: stable/11/sys/cddl/dev/dtrace/mips/dtrace_subr.c 332566 2018-04-16 14:39:04Z lidl $"); |
32 33#include <sys/param.h> 34#include <sys/systm.h> 35#include <sys/types.h> 36#include <sys/kernel.h> 37#include <sys/malloc.h> 38#include <sys/kmem.h> 39#include <sys/smp.h> --- 5 unchanged lines hidden (view full) --- 45#include <vm/pmap.h> 46 47#define DELAYBRANCH(x) ((int)(x) < 0) 48 49extern int (*dtrace_invop_jump_addr)(struct trapframe *); 50extern dtrace_id_t dtrace_probeid_error; 51 52int dtrace_invop(uintptr_t, struct trapframe *, uintptr_t); | 32 33#include <sys/param.h> 34#include <sys/systm.h> 35#include <sys/types.h> 36#include <sys/kernel.h> 37#include <sys/malloc.h> 38#include <sys/kmem.h> 39#include <sys/smp.h> --- 5 unchanged lines hidden (view full) --- 45#include <vm/pmap.h> 46 47#define DELAYBRANCH(x) ((int)(x) < 0) 48 49extern int (*dtrace_invop_jump_addr)(struct trapframe *); 50extern dtrace_id_t dtrace_probeid_error; 51 52int dtrace_invop(uintptr_t, struct trapframe *, uintptr_t); |
53void dtrace_invop_init(void); 54void dtrace_invop_uninit(void); |
|
53 54typedef struct dtrace_invop_hdlr { 55 int (*dtih_func)(uintptr_t, struct trapframe *, uintptr_t); 56 struct dtrace_invop_hdlr *dtih_next; 57} dtrace_invop_hdlr_t; 58 59dtrace_invop_hdlr_t *dtrace_invop_hdlr; 60 --- 224 unchanged lines hidden --- | 55 56typedef struct dtrace_invop_hdlr { 57 int (*dtih_func)(uintptr_t, struct trapframe *, uintptr_t); 58 struct dtrace_invop_hdlr *dtih_next; 59} dtrace_invop_hdlr_t; 60 61dtrace_invop_hdlr_t *dtrace_invop_hdlr; 62 --- 224 unchanged lines hidden --- |