HomeSort by: relevance | last modified time | path
    Searched refs:regs (Results 1 - 25 of 526) sorted by relevancy

1 2 3 4 5 6 7 8 91011>>

  /src/sys/arch/acorn32/podulebus/
sbicreg.h 316 #define sbic_read_reg(regs,regno,val) do { \
317 bus_space_write_1((regs)->sc_sbiciot, (regs)->sc_sbicioh, SBIC_ADDR, \
319 bus_space_barrier((regs)->sc_sbiciot, (regs)->sc_sbicioh, SBIC_ADDR, \
321 (val) = bus_space_read_1((regs)->sc_sbiciot, (regs)->sc_sbicioh, \
323 bus_space_barrier((regs)->sc_sbiciot, (regs)->sc_sbicioh, SBIC_ADDR, \
327 #define sbic_write_reg(regs,regno,val) do {
    [all...]
  /src/sys/arch/hppa/hppa/
process_machdep.c 49 process_read_regs(struct lwp *l, struct reg *regs)
53 regs->r_regs[ 0] = tf->tf_ipsw;
54 regs->r_regs[ 1] = tf->tf_r1;
55 regs->r_regs[ 2] = tf->tf_rp;
56 regs->r_regs[ 3] = tf->tf_r3;
57 regs->r_regs[ 4] = tf->tf_r4;
58 regs->r_regs[ 5] = tf->tf_r5;
59 regs->r_regs[ 6] = tf->tf_r6;
60 regs->r_regs[ 7] = tf->tf_r7;
61 regs->r_regs[ 8] = tf->tf_r8
    [all...]
  /src/sys/arch/arm/arm32/
kgdb_machdep.c 89 * Translate the values stored in the kernel regs struct to the format
93 kgdb_getregs(db_regs_t *regs, kgdb_reg_t *gdb_regs)
96 gdb_regs[KGDB_REGNUM_R0 + 0] = regs->tf_r0;
97 gdb_regs[KGDB_REGNUM_R0 + 1] = regs->tf_r1;
98 gdb_regs[KGDB_REGNUM_R0 + 2] = regs->tf_r2;
99 gdb_regs[KGDB_REGNUM_R0 + 3] = regs->tf_r3;
100 gdb_regs[KGDB_REGNUM_R0 + 4] = regs->tf_r4;
101 gdb_regs[KGDB_REGNUM_R0 + 5] = regs->tf_r5;
102 gdb_regs[KGDB_REGNUM_R0 + 6] = regs->tf_r6;
103 gdb_regs[KGDB_REGNUM_R0 + 7] = regs->tf_r7
    [all...]
  /src/sys/arch/amiga/dev/
sbicreg.h 315 #define sbic_read_reg(regs,regno,val) do { \
316 *((regs).sbic_address_p) = (regno); \
318 (val) = *((regs).sbic_value_p); \
322 #define sbic_write_reg(regs,regno,val) do { \
323 *((regs).sbic_address_p) = (regno); \
325 *((regs).sbic_value_p) = (val); \
329 #define SET_SBIC_myid(regs,val) sbic_write_reg(regs,SBIC_myid,val)
330 #define GET_SBIC_myid(regs,val) sbic_read_reg(regs,SBIC_myid,val
    [all...]
  /src/sys/arch/mvme68k/dev/
sbicreg.h 315 #define sbic_read_reg(regs,regno,val) \
317 (regs)->sbic_address = (regno); \
318 (val) = (regs)->sbic_value; \
321 #define sbic_write_reg(regs,regno,val) \
323 (regs)->sbic_address = (regno); \
324 (regs)->sbic_value = (val); \
327 #define SET_SBIC_myid(regs,val) sbic_write_reg(regs,SBIC_myid,val)
328 #define GET_SBIC_myid(regs,val) sbic_read_reg(regs,SBIC_myid,val
    [all...]
  /src/sys/arch/x86/x86/
kgdb_machdep.c 107 kgdb_entry_notice(int type, db_regs_t *regs)
159 * Translate the values stored in the kernel regs struct to the format
163 kgdb_getregs(db_regs_t *regs, kgdb_reg_t *gdb_regs)
166 gdb_regs[ 0] = regs->tf_rax;
167 gdb_regs[ 1] = regs->tf_rbx;
168 gdb_regs[ 2] = regs->tf_rcx;
169 gdb_regs[ 3] = regs->tf_rdx;
170 gdb_regs[ 4] = regs->tf_rsi;
171 gdb_regs[ 5] = regs->tf_rdi;
172 gdb_regs[ 6] = regs->tf_rbp
    [all...]
  /src/sys/arch/sh3/sh3/
process_machdep.c 113 process_read_regs(struct lwp *l, struct reg *regs)
117 regs->r_spc = tf->tf_spc;
118 regs->r_ssr = tf->tf_ssr;
119 regs->r_gbr = tf->tf_gbr;
120 regs->r_macl = tf->tf_macl;
121 regs->r_mach = tf->tf_mach;
122 regs->r_pr = tf->tf_pr;
123 regs->r_r14 = tf->tf_r14;
124 regs->r_r13 = tf->tf_r13;
125 regs->r_r12 = tf->tf_r12
    [all...]
kgdb_machdep.c 185 kgdb_getregs(db_regs_t *regs, kgdb_reg_t *gdb_regs)
190 gdb_regs[ 0] = regs->tf_r0;
191 gdb_regs[ 1] = regs->tf_r1;
192 gdb_regs[ 2] = regs->tf_r2;
193 gdb_regs[ 3] = regs->tf_r3;
194 gdb_regs[ 4] = regs->tf_r4;
195 gdb_regs[ 5] = regs->tf_r5;
196 gdb_regs[ 6] = regs->tf_r6;
197 gdb_regs[ 7] = regs->tf_r7;
198 gdb_regs[ 8] = regs->tf_r8
    [all...]
  /src/sys/arch/alpha/alpha/
kgdb_machdep.c 171 kgdb_getregs(db_regs_t *regs, kgdb_reg_t *gdb_regs)
176 gdb_regs[KGDB_REG_V0 ] = regs->tf_regs[FRAME_V0];
177 gdb_regs[KGDB_REG_T0 ] = regs->tf_regs[FRAME_T0];
178 gdb_regs[KGDB_REG_T1 ] = regs->tf_regs[FRAME_T1];
179 gdb_regs[KGDB_REG_T2 ] = regs->tf_regs[FRAME_T2];
180 gdb_regs[KGDB_REG_T3 ] = regs->tf_regs[FRAME_T3];
181 gdb_regs[KGDB_REG_T4 ] = regs->tf_regs[FRAME_T4];
182 gdb_regs[KGDB_REG_T5 ] = regs->tf_regs[FRAME_T5];
183 gdb_regs[KGDB_REG_T6 ] = regs->tf_regs[FRAME_T6];
184 gdb_regs[KGDB_REG_T7 ] = regs->tf_regs[FRAME_T7]
    [all...]
process_machdep.c 37 * process_read_regs(proc, regs)
39 * and copy it into the regs structure (<machine/reg.h>).
42 * process_write_regs(proc, regs)
43 * Update the current register set from the passed in regs
74 process_read_regs(struct lwp *l, struct reg *regs)
78 frametoreg(lwp_frame(l), regs);
79 regs->r_regs[R_ZERO] = lwp_frame(l)->tf_regs[FRAME_PC];
80 regs->r_regs[R_SP] = pcb->pcb_hw.apcb_usp;
85 process_write_regs(struct lwp *l, const struct reg *regs)
89 regtoframe(regs, lwp_frame(l))
    [all...]
  /src/sys/arch/sun3/dev/
sevar.h 41 void *regs; /* KVA of regs. */ member in struct:sebuf_attach_args
  /src/lib/libc/rpc/
pmap_prot.c 65 xdr_pmap(XDR *xdrs, struct pmap *regs)
69 _DIAGASSERT(regs != NULL);
71 if (xdr_u_long(xdrs, &regs->pm_prog) &&
72 xdr_u_long(xdrs, &regs->pm_vers) &&
73 xdr_u_long(xdrs, &regs->pm_prot))
74 return (xdr_u_long(xdrs, &regs->pm_port));
  /src/sys/arch/arm/arm/
process_machdep.c 113 * process_read_regs(proc, regs)
115 * and copy it into the regs structure (<machine/reg.h>).
118 * process_write_regs(proc, regs)
119 * Update the current register set from the passed in regs
152 process_read_regs(struct lwp *l, struct reg *regs)
157 memcpy((void *)regs->r, (void *)&tf->tf_r0, sizeof(regs->r));
158 regs->r_sp = tf->tf_usr_sp;
159 regs->r_lr = tf->tf_usr_lr;
160 regs->r_pc = tf->tf_pc
    [all...]
  /src/tests/lib/libc/sys/
t_ptrace_amd64_wait.h 72 DPRINTF("RAX=%#" PRIxREGISTER "\n", r.regs[_REG_RAX]);
73 DPRINTF("RBX=%#" PRIxREGISTER "\n", r.regs[_REG_RBX]);
74 DPRINTF("RCX=%#" PRIxREGISTER "\n", r.regs[_REG_RCX]);
75 DPRINTF("RDX=%#" PRIxREGISTER "\n", r.regs[_REG_RDX]);
77 DPRINTF("RDI=%#" PRIxREGISTER "\n", r.regs[_REG_RDI]);
78 DPRINTF("RSI=%#" PRIxREGISTER "\n", r.regs[_REG_RSI]);
80 DPRINTF("GS=%#" PRIxREGISTER "\n", r.regs[_REG_GS]);
81 DPRINTF("FS=%#" PRIxREGISTER "\n", r.regs[_REG_FS]);
82 DPRINTF("ES=%#" PRIxREGISTER "\n", r.regs[_REG_ES]);
83 DPRINTF("DS=%#" PRIxREGISTER "\n", r.regs[_REG_DS])
    [all...]
  /src/sys/arch/usermode/include/
reg.h 36 __gregset_t regs; member in struct:reg
  /src/sys/arch/m68k/m68k/
process_machdep.c 37 * process_read_regs(proc, regs)
39 * and copy it into the regs structure (<machine/reg.h>).
42 * process_write_regs(proc, regs)
43 * Update the current register set from the passed in regs
87 process_read_regs(struct lwp *l, struct reg *regs)
91 memcpy(regs->r_regs, frame->f_regs, sizeof(frame->f_regs));
92 regs->r_sr = frame->f_sr;
93 regs->r_pc = frame->f_pc;
99 process_read_fpregs(struct lwp *l, struct fpreg *regs, size_t *sz)
103 memcpy(regs->r_regs, frame->fpf_regs, sizeof(frame->fpf_regs))
    [all...]
kgdb_m68k.c 117 * Translate the values stored in the kernel regs struct to/from
123 * (always zero). We must skip this when copying to/from gdb regs.
127 kgdb_getregs(db_regs_t *regs, kgdb_reg_t *gdb_regs)
132 gdb_regs[i] = regs->tf_regs[i];
133 gdb_regs[GDB_SR] = regs->tf_sr;
134 gdb_regs[GDB_PC] = regs->tf_pc;
138 kgdb_setregs(db_regs_t *regs, kgdb_reg_t *gdb_regs)
143 regs->tf_regs[i] = gdb_regs[i];
144 regs->tf_sr = gdb_regs[GDB_SR] | (regs->tf_sr & PSL_T)
    [all...]
  /src/sys/arch/i386/i386/
process_machdep.c 36 * process_read_regs(proc, regs)
38 * and copy it into the regs structure (<machine/reg.h>).
41 * process_write_regs(proc, regs)
42 * Update the current register set from the passed in regs
47 * process_read_fpregs(proc, regs, sz)
49 * and copy it into the regs structure (<machine/reg.h>).
52 * process_write_fpregs(proc, regs, sz)
53 * Update the current register set from the passed in regs
58 * process_read_dbregs(proc, regs)
60 * and copy it into the regs structure (<machine/reg.h>)
    [all...]
  /src/sys/arch/mips/mips/
kgdb_machdep.c 178 kgdb_getregs(db_regs_t *regs, kgdb_reg_t *gdb_regs)
181 gdb_regs[ 1] = regs->r_regs[_R_AST]; /* AT */
182 gdb_regs[ 2] = regs->r_regs[_R_V0]; /* V0 */
183 gdb_regs[ 3] = regs->r_regs[_R_V1]; /* V1 */
184 gdb_regs[ 4] = regs->r_regs[_R_A0]; /* A0 */
185 gdb_regs[ 5] = regs->r_regs[_R_A1]; /* A1 */
186 gdb_regs[ 6] = regs->r_regs[_R_A2]; /* A2 */
187 gdb_regs[ 7] = regs->r_regs[_R_A3]; /* A3 */
189 gdb_regs[ 8] = regs->r_regs[_R_A4]; /* A4 */
190 gdb_regs[ 9] = regs->r_regs[_R_A5]; /* A5 *
    [all...]
  /src/sys/arch/amd64/amd64/
process_machdep.c 36 * process_read_regs(proc, regs)
38 * and copy it into the regs structure (<machine/reg.h>).
41 * process_write_regs(proc, regs)
42 * Update the current register set from the passed in regs
47 * process_read_fpregs(proc, regs, sz)
49 * and copy it into the regs structure (<machine/reg.h>).
52 * process_write_fpregs(proc, regs, sz)
53 * Update the current register set from the passed in regs
58 * process_read_dbregs(proc, regs, sz)
60 * and copy it into the regs structure (<machine/reg.h>)
115 long *regs = regp->regs; local in function:process_read_regs
181 const long *regs = regp->regs; local in function:process_write_regs
    [all...]
  /src/lib/libc/arch/hppa/gen/
__longjmp14.c 53 __register_t *regs = (void *)(sc + 1); local in function:__longjmp14
64 /* Copy callee-saved regs */
65 regs -= 3;
66 uc.uc_mcontext.__gregs[3] = regs[3];
67 uc.uc_mcontext.__gregs[4] = regs[4];
68 uc.uc_mcontext.__gregs[5] = regs[5];
69 uc.uc_mcontext.__gregs[6] = regs[6];
70 uc.uc_mcontext.__gregs[7] = regs[7];
71 uc.uc_mcontext.__gregs[8] = regs[8];
72 uc.uc_mcontext.__gregs[9] = regs[9]
    [all...]
  /src/sys/arch/sparc/sparc/
process_machdep.c 79 * process_read_regs(proc, regs)
81 * and copy it into the regs structure (<machine/reg.h>).
84 * process_write_regs(proc, regs)
85 * Update the current register set from the passed in regs
114 process_read_regs(struct lwp *l, struct reg *regs)
118 memcpy(regs, l->l_md.md_tf, sizeof(*regs));
123 process_write_regs(struct lwp *l, const struct reg *regs)
127 if (((regs->r_pc | regs->r_npc) & 0x03) != 0
    [all...]
  /src/sys/arch/sgimips/dev/
dsclock.c 122 ds1286_todregs regs; local in function:dsclock_gettime_ymdhms
126 DS1286_GETTOD(sc, &regs)
129 dt->dt_sec = bcdtobin(regs[DS1286_SEC]);
130 dt->dt_min = bcdtobin(regs[DS1286_MIN]);
132 if (regs[DS1286_HOUR] & DS1286_HOUR_12MODE) {
134 bcdtobin(regs[DS1286_HOUR] & DS1286_HOUR_12HR_MASK)
135 + ((regs[DS1286_HOUR] & DS1286_HOUR_12HR_PM) ? 12 : 0);
146 bcdtobin(regs[DS1286_HOUR] & DS1286_HOUR_24HR_MASK);
149 dt->dt_wday = bcdtobin(regs[DS1286_DOW]);
150 dt->dt_day = bcdtobin(regs[DS1286_DOM])
164 ds1286_todregs regs; local in function:dsclock_settime_ymdhms
    [all...]
  /src/sys/arch/hp300/dev/
hyperreg.h 43 struct diofbreg regs; member in struct:hyboxfb
  /src/lib/libc/arch/sparc/gen/
sparc_longjmp.h 45 struct __jmp_buf_regs_t regs; member in struct:__jmp_buf

Completed in 19 milliseconds

1 2 3 4 5 6 7 8 91011>>