Searched defs:regs (Results 1 - 25 of 248) sorted by relevance

12345678910

/freebsd-head/contrib/gdb/gdb/
H A Damd64bsd-nat.c47 struct reg regs;
50 (PTRACE_ARG3_TYPE) &regs, 0) == -1)
53 amd64_supply_native_gregset (current_regcache, &regs, -1);
78 struct reg regs;
81 (PTRACE_ARG3_TYPE) &regs, 0) == -1)
84 amd64_collect_native_gregset (current_regcache, &regs, regnum);
87 (PTRACE_ARG3_TYPE) &regs, 0) == -1)
46 struct reg regs; local
77 struct reg regs; local
H A Dalphabsd-tdep.c30 alphabsd_supply_reg (char *regs, int regno) argument
33 alpha_supply_int_regs (regno, regs, regs + 31*8, NULL);
37 alphabsd_fill_reg (char *regs, int regno) argument
40 alpha_fill_int_regs (regno, regs, regs + 31*8, NULL);
H A Dmipsfbsd-nat.c50 struct reg regs; local
53 (PTRACE_ARG3_TYPE) &regs, 0) == -1)
56 mipsfbsd_supply_reg ((char *) &regs, regno);
78 struct reg regs; local
81 (PTRACE_ARG3_TYPE) &regs, 0) == -1)
84 mipsfbsd_fill_reg ((char *) &regs, regno);
87 (PTRACE_ARG3_TYPE) &regs, 0) == -1)
H A Dmipsnbsd-nat.c43 struct reg regs; local
46 (PTRACE_ARG3_TYPE) &regs, 0) == -1)
49 mipsnbsd_supply_reg ((char *) &regs, regno);
71 struct reg regs; local
74 (PTRACE_ARG3_TYPE) &regs, 0) == -1)
77 mipsnbsd_fill_reg ((char *) &regs, regno);
80 (PTRACE_ARG3_TYPE) &regs, 0) == -1)
H A Dppcnbsd-nat.c61 struct reg regs; local
64 (PTRACE_ARG3_TYPE) &regs, 0) == -1)
67 ppcnbsd_supply_reg ((char *) &regs, regno);
91 struct reg regs; local
94 (PTRACE_ARG3_TYPE) &regs, 0) == -1)
97 ppcnbsd_fill_reg ((char *) &regs, regno);
100 (PTRACE_ARG3_TYPE) &regs, 0) == -1)
H A Dppcfbsd-nat.c77 struct reg regs; local
80 (PTRACE_ARG3_TYPE) &regs, 0) == -1)
83 ppcfbsd_supply_reg ((char *) &regs, regno);
107 struct reg regs; local
110 (PTRACE_ARG3_TYPE) &regs, 0) == -1)
113 ppcfbsd_fill_reg ((char *) &regs, regno);
116 (PTRACE_ARG3_TYPE) &regs, 0) == -1)
140 fill_gregset (char *regs, int regnum) argument
142 ppcfbsd_fill_reg (regs, regnum);
146 supply_gregset (char *regs) argument
[all...]
H A Dsun3-nat.c36 struct regs inferior_registers;
69 struct regs inferior_registers;
113 struct regs *regs = (struct regs *) core_reg_sect; local
117 if (core_reg_size < sizeof (struct regs))
120 memcpy (&deprecated_registers, (char *) regs, 16 * 4);
121 supply_register (PS_REGNUM, (char *) &regs->r_ps);
122 supply_register (PC_REGNUM, (char *) &regs->r_pc);
145 "Couldn't read float regs fro
[all...]
H A Damd64-nat.c95 const char *regs = gregs; local
113 regcache_raw_supply (regcache, i, regs + offset);
126 char *regs = gregs; local
140 memset (regs + amd64_native_gregset_reg_offset (i), 0, 8);
146 memset (regs + amd64_native_gregset_reg_offset (i), 0, 8);
160 regcache_raw_collect (regcache, i, regs + offset);
H A Dia64-fbsd-nat.c58 } regs; local
63 (PTRACE_ARG3_TYPE)&regs.r, 0) == -1)
65 supply_gregset (&regs.r);
71 (PTRACE_ARG3_TYPE)&regs.fpr, 0) == -1)
73 supply_fpregset (&regs.fpr);
83 } regs; local
88 (PTRACE_ARG3_TYPE)&regs.r, 0) == -1)
90 fill_gregset (&regs.r, regno);
92 (PTRACE_ARG3_TYPE)&regs.r, 0) == -1)
101 (PTRACE_ARG3_TYPE)&regs
[all...]
H A Dppc-tdep.h93 const struct reg *regs; /* from current variant */ member in struct:gdbarch_tdep
/freebsd-head/lib/libc/rpc/
H A Dpmap_prot.c57 xdr_pmap(XDR *xdrs, struct pmap *regs) argument
61 assert(regs != NULL);
63 if (xdr_u_long(xdrs, &regs->pm_prog) &&
64 xdr_u_long(xdrs, &regs->pm_vers) &&
65 xdr_u_long(xdrs, &regs->pm_prot))
66 return (xdr_u_long(xdrs, &regs->pm_port));
/freebsd-head/lib/libproc/
H A Dproc_regs.c49 struct reg regs; local
56 memset(&regs, 0, sizeof(regs));
57 if (ptrace(PT_GETREGS, proc_getpid(phdl), (caddr_t)&regs, 0) < 0)
62 *regvalue = regs.elr;
64 *regvalue = regs.r_rip;
66 *regvalue = regs.r_pc;
68 *regvalue = regs.r_eip;
70 *regvalue = regs.r_regs[PC];
72 *regvalue = regs
105 struct reg regs; local
[all...]
/freebsd-head/stand/libsa/x86/
H A Dhypervisor.c42 u_int regs[4]; member in union:__anon10
46 do_cpuid(1, u.regs);
47 if ((u.regs[2] & CPUID2_HV) == 0)
50 do_cpuid(0x40000000, u.regs);
/freebsd-head/sys/amd64/vmm/
H A Dvmm_util.c58 unsigned int regs[4]; local
66 do_cpuid(0x80000001, regs);
67 if (regs[3] & (1 << 26))
/freebsd-head/contrib/gcc/
H A Dresource.h29 CLEAR_HARD_REG_SET ((RES)->regs); } while (0)
38 HARD_REG_SET regs; /* Which registers are set or needed. */ member in struct:resources
/freebsd-head/sys/dev/aic7xxx/
H A Dahc_pci.c141 struct resource *regs; local
146 regs = NULL;
171 regs = bus_alloc_resource_any(ahc->dev_softc, regs_type,
173 if (regs != NULL) {
174 ahc->tag = rman_get_bustag(regs);
175 ahc->bsh = rman_get_bushandle(regs);
189 regs_id, regs);
190 regs = NULL;
195 if (regs == NULL) {
198 regs
[all...]
H A Dahd_pci.c144 struct resource *regs; local
151 regs = NULL;
171 regs = bus_alloc_resource_any(ahd->dev_softc, regs_type,
173 if (regs != NULL) {
176 ahd->tags[0] = rman_get_bustag(regs);
177 ahd->bshs[0] = rman_get_bushandle(regs);
196 regs_id, regs);
197 regs = NULL;
202 if (regs == NULL) {
205 regs
[all...]
/freebsd-head/sys/contrib/alpine-hal/
H A Dal_hal_udma_iofic.c117 int al_udma_iofic_config(struct unit_regs __iomem *regs, enum al_iofic_mode mode, argument
125 rc = al_udma_main_iofic_config(&regs->gen.interrupt_regs.main_iofic, mode);
129 al_iofic_unmask(&regs->gen.interrupt_regs.secondary_iofic_ctrl, AL_INT_GROUP_A, ~m2s_errors_disable);
130 al_iofic_abort_mask(&regs->gen.interrupt_regs.secondary_iofic_ctrl, AL_INT_GROUP_A, m2s_aborts_disable);
132 al_iofic_unmask(&regs->gen.interrupt_regs.secondary_iofic_ctrl, AL_INT_GROUP_B, ~s2m_errors_disable);
133 al_iofic_abort_mask(&regs->gen.interrupt_regs.secondary_iofic_ctrl, AL_INT_GROUP_B, s2m_aborts_disable);
135 al_dbg("%s base.%p mode %d\n", __func__, regs, mode);
143 struct unit_regs __iomem *regs,
148 return al_iofic_unmask_offset_get(al_udma_iofic_reg_base_get(regs, level), group);
142 al_udma_iofic_unmask_offset_get( struct unit_regs __iomem *regs, enum al_udma_iofic_level level, int group) argument
/freebsd-head/sys/contrib/ncsw/Peripherals/FM/MAC/
H A Dfman_dtsec_mii_acc.c81 void fman_dtsec_mii_reset(struct dtsec_mii_reg *regs) argument
84 iowrite32be(ioread32be(&regs->miimcfg) | MIIMCFG_RESET_MGMT,
85 &regs->miimcfg);
86 iowrite32be(ioread32be(&regs->miimcfg) & ~MIIMCFG_RESET_MGMT,
87 &regs->miimcfg);
91 int fman_dtsec_mii_write_reg(struct dtsec_mii_reg *regs, uint8_t addr, argument
97 iowrite32be((uint32_t)dtsec_mii_get_div(dtsec_freq), &regs->miimcfg);
101 iowrite32be(0, &regs->miimcom);
103 tmp = ioread32be(&regs->miimcom);
108 iowrite32be(tmp, &regs
125 fman_dtsec_mii_read_reg(struct dtsec_mii_reg *regs, uint8_t addr, uint8_t reg, uint16_t *data, uint16_t dtsec_freq) argument
[all...]
/freebsd-head/sys/rpc/
H A Drpcb_prot.c61 xdr_portmap(XDR *xdrs, struct portmap *regs) argument
64 if (xdr_u_long(xdrs, &regs->pm_prog) &&
65 xdr_u_long(xdrs, &regs->pm_vers) &&
66 xdr_u_long(xdrs, &regs->pm_prot))
67 return (xdr_u_long(xdrs, &regs->pm_port));
/freebsd-head/sys/arm/arm/
H A Dmachdep_kdb.c97 fill_regs(struct thread *td, struct reg *regs) argument
100 bcopy(&tf->tf_r0, regs->r, sizeof(regs->r));
101 regs->r_sp = tf->tf_usr_sp;
102 regs->r_lr = tf->tf_usr_lr;
103 regs->r_pc = tf->tf_pc;
104 regs->r_cpsr = tf->tf_spsr;
109 fill_fpregs(struct thread *td, struct fpreg *regs) argument
111 bzero(regs, sizeof(*regs));
116 set_regs(struct thread *td, struct reg *regs) argument
130 set_fpregs(struct thread *td, struct fpreg *regs) argument
136 fill_dbregs(struct thread *td, struct dbreg *regs) argument
144 set_dbregs(struct thread *td, struct dbreg *regs) argument
[all...]
/freebsd-head/sys/dev/imcsmb/
H A Dimcsmb_var.h101 struct imcsmb_reg_set *regs; /* The registers this controller uses */ member in struct:imcsmb_softc
/freebsd-head/sys/arm/cloudabi32/
H A Dcloudabi32_sysvec.c54 struct trapframe *regs; local
63 regs = td->td_frame;
64 regs->tf_r0 =
/freebsd-head/sys/amd64/amd64/
H A Dinitcpu.c187 u_int regs[4], val; local
194 do_cpuid(0xc0000000, regs);
195 if (regs[0] >= 0xc0000001) {
196 do_cpuid(0xc0000001, regs);
197 val = regs[3];
/freebsd-head/usr.sbin/bhyve/
H A Dxmsr.c216 u_int regs[4]; local
219 do_cpuid(0, regs);
220 ((u_int *)&cpu_vendor)[0] = regs[1];
221 ((u_int *)&cpu_vendor)[1] = regs[3];
222 ((u_int *)&cpu_vendor)[2] = regs[2];

Completed in 402 milliseconds

12345678910