Lines Matching +full:supervisor +full:- +full:mode
3 |M68000 Hi-Performance Microprocessor Division
5 |Production Release P1.00 -- October 10, 1994
32 | - example "Call-Out"s required by both the ISP and FPSP.
38 | EXAMPLE CALL-OUTS #
58 | or supervisor application space. The examples below use simple "move"
59 | instructions for supervisor mode applications and call _copyin()/_copyout()
60 | for user mode applications.
76 | Writes to data memory while in supervisor mode.
79 | a0 - supervisor source address
80 | a1 - user destination address
81 | d0 - number of bytes to write
82 | 0x4(%a6),bit5 - 1 = supervisor mode, 0 = user mode
84 | d1 - 0 = success, !0 = failure
89 btst #0x5,0x4(%a6) | check for supervisor state
93 dbra %d0,super_write | quit if --ctr < 0
100 dbra %d0,user_write | quit if --ctr < 0
107 | Reads from data/instruction memory while in supervisor mode.
110 | a0 - user source address
111 | a1 - supervisor destination address
112 | d0 - number of bytes to read
113 | 0x4(%a6),bit5 - 1 = supervisor mode, 0 = user mode
115 | d1 - 0 = success, !0 = failure
122 btst #0x5,0x4(%a6) | check for supervisor state
126 dbra %d0,super_read | quit if --ctr < 0
133 dbra %d0,user_read | quit if --ctr < 0
143 | a0 - user source address
144 | 0x4(%a6),bit5 - 1 = supervisor mode, 0 = user mode
146 | d0 - data byte in d0
147 | d1 - 0 = success, !0 = failure
153 btst #0x5,0x4(%a6) | check for supervisor state
154 bnes dmrbs | supervisor
166 | a0 - user source address
167 | 0x4(%a6),bit5 - 1 = supervisor mode, 0 = user mode
169 | d0 - data word in d0
170 | d1 - 0 = success, !0 = failure
177 | a0 - user source address
178 | 0x4(%a6),bit5 - 1 = supervisor mode, 0 = user mode
180 | d0 - instruction word in d0
181 | d1 - 0 = success, !0 = failure
189 btst #0x5,0x4(%a6) | check for supervisor state
190 bnes dmrws | supervisor
202 | a0 - user source address
203 | 0x4(%a6),bit5 - 1 = supervisor mode, 0 = user mode
205 | d0 - data longword in d0
206 | d1 - 0 = success, !0 = failure
213 | a0 - user source address
214 | 0x4(%a6),bit5 - 1 = supervisor mode, 0 = user mode
216 | d0 - instruction longword in d0
217 | d1 - 0 = success, !0 = failure
224 btst #0x5,0x4(%a6) | check for supervisor state
225 bnes dmrls | supervisor
237 | a0 - user destination address
238 | d0 - data byte in d0
239 | 0x4(%a6),bit5 - 1 = supervisor mode, 0 = user mode
241 | d1 - 0 = success, !0 = failure
246 btst #0x5,0x4(%a6) | check for supervisor state
247 bnes dmwbs | supervisor
259 | a0 - user destination address
260 | d0 - data word in d0
261 | 0x4(%a6),bit5 - 1 = supervisor mode, 0 = user mode
263 | d1 - 0 = success, !0 = failure
268 btst #0x5,0x4(%a6) | check for supervisor state
269 bnes dmwws | supervisor
283 | a0 - user destination address
284 | d0 - data longword in d0
285 | 0x4(%a6),bit5 - 1 = supervisor mode, 0 = user mode
287 | d1 - 0 = success, !0 = failure
292 btst #0x5,0x4(%a6) | check for supervisor state
293 bnes dmwls | supervisor
308 | Linux/68k: These are basically non-inlined versions of
309 | memcpy_{to,from}fs, but without long-transfer optimization
323 move.b (%a0)+,%d1 | fetch supervisor byte
342 move.b %d1,(%a1)+ | write supervisor byte
369 | 8-word access error frame.
384 1: moveq #-1,%d1