Home
last modified time | relevance | path

Searched refs:mstatus (Results 1 – 25 of 608) sorted by relevance

12345678910>>...25

/dports/emulators/qemu-guest-agent/qemu-5.0.1/target/riscv/
H A Dop_helper.c92 mstatus = env->mstatus; in helper_sret()
103 mstatus = set_field(mstatus, MSTATUS_SPP, in helper_sret()
107 mstatus = set_field(mstatus, SSTATUS_SIE, in helper_sret()
111 env->mstatus = mstatus; in helper_sret()
122 mstatus = set_field(mstatus, in helper_sret()
128 env->mstatus = mstatus; in helper_sret()
147 target_ulong mstatus = env->mstatus; in helper_mret() local
150 mstatus = set_field(mstatus, in helper_mret()
154 mstatus = set_field(mstatus, MSTATUS_MPIE, 1); in helper_mret()
159 mstatus = set_field(mstatus, MSTATUS_MPV, 0); in helper_mret()
[all …]
/dports/emulators/qemu5/qemu-5.2.0/target/riscv/
H A Dop_helper.c102 mstatus = env->mstatus; in helper_sret()
112 mstatus = set_field(mstatus, MSTATUS_SPP, 0); in helper_sret()
113 mstatus = set_field(mstatus, SSTATUS_SIE, in helper_sret()
117 env->mstatus = mstatus; in helper_sret()
128 mstatus = set_field(mstatus, MSTATUS_SIE, in helper_sret()
132 env->mstatus = mstatus; in helper_sret()
151 uint64_t mstatus = env->mstatus; in helper_mret() local
154 mstatus = set_field(mstatus, MSTATUS_MIE, in helper_mret()
156 mstatus = set_field(mstatus, MSTATUS_MPIE, 1); in helper_mret()
158 mstatus = set_field(mstatus, MSTATUS_MPV, 0); in helper_mret()
[all …]
/dports/emulators/qemu60/qemu-6.0.0/target/riscv/
H A Dop_helper.c102 mstatus = env->mstatus; in helper_sret()
112 mstatus = set_field(mstatus, MSTATUS_SPP, 0); in helper_sret()
113 mstatus = set_field(mstatus, SSTATUS_SIE, in helper_sret()
117 env->mstatus = mstatus; in helper_sret()
128 mstatus = set_field(mstatus, MSTATUS_SIE, in helper_sret()
132 env->mstatus = mstatus; in helper_sret()
151 uint64_t mstatus = env->mstatus; in helper_mret() local
159 mstatus = set_field(mstatus, MSTATUS_MIE, in helper_mret()
161 mstatus = set_field(mstatus, MSTATUS_MPIE, 1); in helper_mret()
163 mstatus = set_field(mstatus, MSTATUS_MPV, 0); in helper_mret()
[all …]
/dports/emulators/qemu-devel/qemu-de8ed1055c2ce18c95f597eb10df360dcb534f99/target/riscv/
H A Dop_helper.c97 mstatus = env->mstatus; in helper_sret()
107 mstatus = set_field(mstatus, MSTATUS_SPP, 0); in helper_sret()
108 mstatus = set_field(mstatus, SSTATUS_SIE, in helper_sret()
112 env->mstatus = mstatus; in helper_sret()
123 mstatus = set_field(mstatus, MSTATUS_SIE, in helper_sret()
127 env->mstatus = mstatus; in helper_sret()
146 uint64_t mstatus = env->mstatus; in helper_mret() local
154 mstatus = set_field(mstatus, MSTATUS_MIE, in helper_mret()
156 mstatus = set_field(mstatus, MSTATUS_MPIE, 1); in helper_mret()
158 mstatus = set_field(mstatus, MSTATUS_MPV, 0); in helper_mret()
[all …]
/dports/emulators/qemu/qemu-6.2.0/target/riscv/
H A Dop_helper.c97 mstatus = env->mstatus; in helper_sret()
107 mstatus = set_field(mstatus, MSTATUS_SPP, 0); in helper_sret()
108 mstatus = set_field(mstatus, SSTATUS_SIE, in helper_sret()
112 env->mstatus = mstatus; in helper_sret()
123 mstatus = set_field(mstatus, MSTATUS_SIE, in helper_sret()
127 env->mstatus = mstatus; in helper_sret()
146 uint64_t mstatus = env->mstatus; in helper_mret() local
154 mstatus = set_field(mstatus, MSTATUS_MIE, in helper_mret()
156 mstatus = set_field(mstatus, MSTATUS_MPIE, 1); in helper_mret()
158 mstatus = set_field(mstatus, MSTATUS_MPV, 0); in helper_mret()
[all …]
/dports/comms/mlan3/mlan3-1.00/common/
H A Dthermo21.c738 mstatus->sample_rate = mstatus->status_raw[0x0D]; in InterpretStatus()
744 mstatus->start_delay = (mstatus->status_raw[0x13] << 8) | in InterpretStatus()
753 mstatus->mission_samples = (mstatus->status_raw[0x1C] << 16) | in InterpretStatus()
766 mstatus->samples_total = (mstatus->status_raw[0x1F] << 16) | in InterpretStatus()
772 mstatus->high_threshold = mstatus->status_raw[0x0C]; in InterpretStatus()
773 mstatus->low_threshold = mstatus->status_raw[0x0B]; in InterpretStatus()
922 mstatus->status_raw[0x0B] = mstatus->low_threshold; in FormatMission()
924 mstatus->status_raw[0x0C] = mstatus->high_threshold; in FormatMission()
926 mstatus->status_raw[0x0D] = mstatus->sample_rate; in FormatMission()
932 mstatus->status_raw[0x12] = mstatus->start_delay & 0xFF; in FormatMission()
[all …]
/dports/misc/digitemp/digitemp-3.7.2/userial/
H A Dthermo21.c738 mstatus->sample_rate = mstatus->status_raw[0x0D]; in InterpretStatus()
744 mstatus->start_delay = (mstatus->status_raw[0x13] << 8) | in InterpretStatus()
753 mstatus->mission_samples = (mstatus->status_raw[0x1C] << 16) | in InterpretStatus()
766 mstatus->samples_total = (mstatus->status_raw[0x1F] << 16) | in InterpretStatus()
772 mstatus->high_threshold = mstatus->status_raw[0x0C]; in InterpretStatus()
773 mstatus->low_threshold = mstatus->status_raw[0x0B]; in InterpretStatus()
922 mstatus->status_raw[0x0B] = mstatus->low_threshold; in FormatMission()
924 mstatus->status_raw[0x0C] = mstatus->high_threshold; in FormatMission()
926 mstatus->status_raw[0x0D] = mstatus->sample_rate; in FormatMission()
932 mstatus->status_raw[0x12] = mstatus->start_delay & 0xFF; in FormatMission()
[all …]
/dports/emulators/qemu-cheri/qemu-0a323821042c36e21ea80e58b9545dfc3b0cb8ef/target/riscv/
H A Dop_helper.c149 mstatus = env->mstatus; in helper_sret()
160 mstatus = set_field(mstatus, MSTATUS_SPP, in helper_sret()
164 mstatus = set_field(mstatus, SSTATUS_SIE, in helper_sret()
168 env->mstatus = mstatus; in helper_sret()
179 mstatus = set_field(mstatus, in helper_sret()
185 env->mstatus = mstatus; in helper_sret()
210 target_ulong mstatus = env->mstatus; in helper_mret() local
213 mstatus = set_field(mstatus, in helper_mret()
217 mstatus = set_field(mstatus, MSTATUS_MPIE, 1); in helper_mret()
222 mstatus = set_field(mstatus, MSTATUS_MPV, 0); in helper_mret()
[all …]
/dports/emulators/qemu-utils/qemu-4.2.1/target/riscv/
H A Dop_helper.c90 target_ulong mstatus = env->mstatus; in helper_sret() local
92 mstatus = set_field(mstatus, in helper_sret()
95 get_field(mstatus, MSTATUS_SPIE)); in helper_sret()
96 mstatus = set_field(mstatus, MSTATUS_SPIE, 1); in helper_sret()
97 mstatus = set_field(mstatus, MSTATUS_SPP, PRV_U); in helper_sret()
99 env->mstatus = mstatus; in helper_sret()
115 target_ulong mstatus = env->mstatus; in helper_mret() local
117 mstatus = set_field(mstatus, in helper_mret()
121 mstatus = set_field(mstatus, MSTATUS_MPIE, 1); in helper_mret()
122 mstatus = set_field(mstatus, MSTATUS_MPP, PRV_U); in helper_mret()
[all …]
/dports/emulators/qemu42/qemu-4.2.1/target/riscv/
H A Dop_helper.c90 target_ulong mstatus = env->mstatus; in helper_sret() local
92 mstatus = set_field(mstatus, in helper_sret()
95 get_field(mstatus, MSTATUS_SPIE)); in helper_sret()
96 mstatus = set_field(mstatus, MSTATUS_SPIE, 1); in helper_sret()
97 mstatus = set_field(mstatus, MSTATUS_SPP, PRV_U); in helper_sret()
99 env->mstatus = mstatus; in helper_sret()
115 target_ulong mstatus = env->mstatus; in helper_mret() local
117 mstatus = set_field(mstatus, in helper_mret()
121 mstatus = set_field(mstatus, MSTATUS_MPIE, 1); in helper_mret()
122 mstatus = set_field(mstatus, MSTATUS_MPP, PRV_U); in helper_mret()
[all …]
/dports/graphics/tgif/tgif-QPL-4.2.5/rmcast/src/
H A Drmwinmask.c98 int window_mask_sn_within_window(int *window_mask, int sn, MEMBER_STATUS *mstatus) in window_mask_sn_within_window() argument
101 if ( sn > ( (mstatus->last_seq_rcv) + MAX_WINDOW_SIZE ) || sn < (mstatus->last_seq_rcv + 1) ) in window_mask_sn_within_window()
112 int window_mask_get_bit(int *window_mask, int sn, MEMBER_STATUS *mstatus) in window_mask_get_bit() argument
124 if( (mstatus!=NULL) && (out_retval=window_mask_sn_within_window(window_mask, sn, mstatus))) in window_mask_get_bit()
127 aux_position= ( mstatus->window_ini + ( sn - (mstatus->last_seq_rcv +1))) % MAX_WINDOW_SIZE; in window_mask_get_bit()
131 retval=window_mask_get_bit2 ( mstatus->window_mask,aux_position ); in window_mask_get_bit()
169 int window_mask_set_bit(int *window_mask, int sn, MEMBER_STATUS *mstatus, int value) in window_mask_set_bit() argument
177 window_mask_array2numbers(window_mask,&h,&l,mstatus->window_ini); in window_mask_set_bit()
181 if (window_mask_sn_within_window(window_mask, sn, mstatus)) in window_mask_set_bit()
184 … ( mstatus->window_ini + ( sn - (mstatus->last_seq_rcv + 1 )) ) % MAX_WINDOW_SIZE, in window_mask_set_bit()
[all …]
/dports/emulators/qemu-powernv/qemu-powernv-3.0.50/target/riscv/
H A Dop_helper.c113 target_ulong mstatus = env->mstatus; in csr_write_helper() local
162 mstatus = set_field(mstatus, MSTATUS_SD, dirty); in csr_write_helper()
163 env->mstatus = mstatus; in csr_write_helper()
695 target_ulong mstatus = env->mstatus; in helper_sret() local
697 mstatus = set_field(mstatus, in helper_sret()
701 mstatus = set_field(mstatus, MSTATUS_SPIE, 0); in helper_sret()
702 mstatus = set_field(mstatus, MSTATUS_SPP, PRV_U); in helper_sret()
720 target_ulong mstatus = env->mstatus; in helper_mret() local
722 mstatus = set_field(mstatus, in helper_mret()
726 mstatus = set_field(mstatus, MSTATUS_MPIE, 0); in helper_mret()
[all …]
/dports/emulators/qemu-utils/qemu-4.2.1/roms/opensbi/lib/sbi/
H A Dsbi_trap.c31 __func__, hartid, regs->mepc, regs->mstatus); in sbi_trap_error()
117 regs->mstatus &= ~MSTATUS_MPV; in sbi_trap_redirect()
119 regs->mstatus &= ~MSTATUS_MTL; in sbi_trap_redirect()
148 regs->mstatus &= ~MSTATUS_MPP; in sbi_trap_redirect()
149 regs->mstatus |= (PRV_S << MSTATUS_MPP_SHIFT); in sbi_trap_redirect()
179 regs->mstatus &= ~MSTATUS_MPP; in sbi_trap_redirect()
183 regs->mstatus &= ~MSTATUS_SPP; in sbi_trap_redirect()
185 regs->mstatus |= (1UL << MSTATUS_SPP_SHIFT); in sbi_trap_redirect()
188 regs->mstatus &= ~MSTATUS_SPIE; in sbi_trap_redirect()
189 if (regs->mstatus & MSTATUS_SIE) in sbi_trap_redirect()
[all …]
/dports/emulators/qemu42/qemu-4.2.1/roms/opensbi/lib/sbi/
H A Dsbi_trap.c31 __func__, hartid, regs->mepc, regs->mstatus); in sbi_trap_error()
117 regs->mstatus &= ~MSTATUS_MPV; in sbi_trap_redirect()
119 regs->mstatus &= ~MSTATUS_MTL; in sbi_trap_redirect()
148 regs->mstatus &= ~MSTATUS_MPP; in sbi_trap_redirect()
149 regs->mstatus |= (PRV_S << MSTATUS_MPP_SHIFT); in sbi_trap_redirect()
179 regs->mstatus &= ~MSTATUS_MPP; in sbi_trap_redirect()
183 regs->mstatus &= ~MSTATUS_SPP; in sbi_trap_redirect()
185 regs->mstatus |= (1UL << MSTATUS_SPP_SHIFT); in sbi_trap_redirect()
188 regs->mstatus &= ~MSTATUS_SPIE; in sbi_trap_redirect()
189 if (regs->mstatus & MSTATUS_SIE) in sbi_trap_redirect()
[all …]
/dports/news/husky-areafix/husky-areafix-1.9.20191207/msged/
H A Dibmscrn.c330 ox = mstatus.x = mousex; in collect_events()
331 oy = mstatus.y = mousey; in collect_events()
338 mstatus.lbutton = 1; in collect_events()
339 mstatus.lrelease = 0; in collect_events()
347 mstatus.lbutton = 0; in collect_events()
348 mstatus.lrelease = 1; in collect_events()
359 mstatus.rbutton = 1; in collect_events()
360 mstatus.rrelease = 0; in collect_events()
368 mstatus.rbutton = 0; in collect_events()
369 mstatus.rrelease = 1; in collect_events()
[all …]
H A Dos2scr.c376 if (mstatus.lbutton || mstatus.rbutton) in collect_events()
419 mstatus.lbutton = 1; in collect_events()
420 mstatus.lrelease = 0; in collect_events()
428 mstatus.lbutton = 0; in collect_events()
429 mstatus.lrelease = 1; in collect_events()
442 mstatus.rbutton = 1; in collect_events()
443 mstatus.rrelease = 0; in collect_events()
451 mstatus.rbutton = 0; in collect_events()
462 if ((moved && evt) || ((mstatus.rbutton || mstatus.lbutton) && moved)) in collect_events()
571 *x = mstatus.x; in GetMouInfo()
[all …]
/dports/news/husky/husky-1.9.20191207/msged/
H A Dibmscrn.c330 ox = mstatus.x = mousex; in collect_events()
331 oy = mstatus.y = mousey; in collect_events()
338 mstatus.lbutton = 1; in collect_events()
339 mstatus.lrelease = 0; in collect_events()
347 mstatus.lbutton = 0; in collect_events()
348 mstatus.lrelease = 1; in collect_events()
359 mstatus.rbutton = 1; in collect_events()
360 mstatus.rrelease = 0; in collect_events()
368 mstatus.rbutton = 0; in collect_events()
369 mstatus.rrelease = 1; in collect_events()
[all …]
/dports/news/husky-fidoconf/husky-fidoconf-1.9.20191207/msged/
H A Dibmscrn.c330 ox = mstatus.x = mousex; in collect_events()
331 oy = mstatus.y = mousey; in collect_events()
338 mstatus.lbutton = 1; in collect_events()
339 mstatus.lrelease = 0; in collect_events()
347 mstatus.lbutton = 0; in collect_events()
348 mstatus.lrelease = 1; in collect_events()
359 mstatus.rbutton = 1; in collect_events()
360 mstatus.rrelease = 0; in collect_events()
368 mstatus.rbutton = 0; in collect_events()
369 mstatus.rrelease = 1; in collect_events()
[all …]
/dports/news/husky-hpt/husky-hpt-1.9.20191207/msged/
H A Dibmscrn.c330 ox = mstatus.x = mousex; in collect_events()
331 oy = mstatus.y = mousey; in collect_events()
338 mstatus.lbutton = 1; in collect_events()
339 mstatus.lrelease = 0; in collect_events()
347 mstatus.lbutton = 0; in collect_events()
348 mstatus.lrelease = 1; in collect_events()
359 mstatus.rbutton = 1; in collect_events()
360 mstatus.rrelease = 0; in collect_events()
368 mstatus.rbutton = 0; in collect_events()
369 mstatus.rrelease = 1; in collect_events()
[all …]
/dports/news/husky-sqpack/husky-sqpack-1.9.20191207/msged/
H A Dibmscrn.c330 ox = mstatus.x = mousex; in collect_events()
331 oy = mstatus.y = mousey; in collect_events()
338 mstatus.lbutton = 1; in collect_events()
339 mstatus.lrelease = 0; in collect_events()
347 mstatus.lbutton = 0; in collect_events()
348 mstatus.lrelease = 1; in collect_events()
359 mstatus.rbutton = 1; in collect_events()
360 mstatus.rrelease = 0; in collect_events()
368 mstatus.rbutton = 0; in collect_events()
369 mstatus.rrelease = 1; in collect_events()
[all …]
/dports/news/husky-huskylib/husky-huskylib-1.9.20191207/msged/
H A Dibmscrn.c330 ox = mstatus.x = mousex; in collect_events()
331 oy = mstatus.y = mousey; in collect_events()
338 mstatus.lbutton = 1; in collect_events()
339 mstatus.lrelease = 0; in collect_events()
347 mstatus.lbutton = 0; in collect_events()
348 mstatus.lrelease = 1; in collect_events()
359 mstatus.rbutton = 1; in collect_events()
360 mstatus.rrelease = 0; in collect_events()
368 mstatus.rbutton = 0; in collect_events()
369 mstatus.rrelease = 1; in collect_events()
[all …]
/dports/news/husky-smapi/husky-smapi-1.9.20191207,1/msged/
H A Dibmscrn.c330 ox = mstatus.x = mousex; in collect_events()
331 oy = mstatus.y = mousey; in collect_events()
338 mstatus.lbutton = 1; in collect_events()
339 mstatus.lrelease = 0; in collect_events()
347 mstatus.lbutton = 0; in collect_events()
348 mstatus.lrelease = 1; in collect_events()
359 mstatus.rbutton = 1; in collect_events()
360 mstatus.rrelease = 0; in collect_events()
368 mstatus.rbutton = 0; in collect_events()
369 mstatus.rrelease = 1; in collect_events()
[all …]
/dports/news/husky-htick/husky-htick-1.9.20191207/msged/
H A Dibmscrn.c330 ox = mstatus.x = mousex; in collect_events()
331 oy = mstatus.y = mousey; in collect_events()
338 mstatus.lbutton = 1; in collect_events()
339 mstatus.lrelease = 0; in collect_events()
347 mstatus.lbutton = 0; in collect_events()
348 mstatus.lrelease = 1; in collect_events()
359 mstatus.rbutton = 1; in collect_events()
360 mstatus.rrelease = 0; in collect_events()
368 mstatus.rbutton = 0; in collect_events()
369 mstatus.rrelease = 1; in collect_events()
[all …]
/dports/emulators/qemu5/qemu-5.2.0/roms/opensbi/lib/sbi/
H A Dsbi_trap.c37 __func__, hartid, regs->mepc, regs->mstatus); in sbi_trap_error()
117 regs->mstatus &= ~MSTATUS_MPV; in sbi_trap_redirect()
145 regs->mstatus &= ~MSTATUS_MPP; in sbi_trap_redirect()
146 regs->mstatus |= (PRV_S << MSTATUS_MPP_SHIFT); in sbi_trap_redirect()
176 regs->mstatus &= ~MSTATUS_MPP; in sbi_trap_redirect()
177 regs->mstatus |= (PRV_S << MSTATUS_MPP_SHIFT); in sbi_trap_redirect()
180 regs->mstatus &= ~MSTATUS_SPP; in sbi_trap_redirect()
182 regs->mstatus |= (1UL << MSTATUS_SPP_SHIFT); in sbi_trap_redirect()
185 regs->mstatus &= ~MSTATUS_SPIE; in sbi_trap_redirect()
186 if (regs->mstatus & MSTATUS_SIE) in sbi_trap_redirect()
[all …]
/dports/x11/xscreensaver/xscreensaver-5.44/driver/
H A Dtest-grab.c41 int kstatus, mstatus; in main() local
62 mstatus = XGrabPointer (dpy, w, True, ALL_POINTER_EVENTS, in main()
67 (mstatus == GrabSuccess ? "GrabSuccess" : in main()
68 mstatus == AlreadyGrabbed ? "AlreadyGrabbed" : in main()
69 mstatus == GrabInvalidTime ? "GrabInvalidTime" : in main()
70 mstatus == GrabNotViewable ? "GrabNotViewable" : in main()
71 mstatus == GrabFrozen ? "GrabFrozen" : in main()
76 if (kstatus == GrabSuccess || mstatus == GrabSuccess) in main()

12345678910>>...25