• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/

Lines Matching refs:of

6  * This file contains Original Code and/or Modifications of Original Code
10 * may not be used to create, or enable the creation or redistribution of,
11 * unlawful or unlicensed copies of an Apple operating system, or to
12 * circumvent, violate, or enable the circumvention or violation of, any
13 * terms of an Apple operating system software license agreement.
15 * Please obtain a copy of the License at
48 * of hw_exceptions.
61 /* Don't change the order of these routines in the table. It's */
64 .long EXT(vmm_get_version_sel) ; Get the version of the VMM interface
66 .long EXT(vmm_get_features_sel) ; Get the features of the VMM interface
100 .long EXT(vmm_map_list32) ; Maps a list of pages - supports 32-bit
102 .long EXT(vmm_unmap_list32) ; Unmaps a list of pages - supports 32-bit
120 .long EXT(vmm_get_page_mapping) ; Get host address of a guest page - supports 64-bit
132 .long EXT(vmm_map_list64) ; Map a list of pages into guest address spaces - supports 64-bit
134 .long EXT(vmm_unmap_list64) ; Unmap a list of pages from guest address spaces - supports 64-bit
153 mr r3,r4 ; All of our functions want the activation as the first parm
154 lis r10,hi16(EXT(vmm_dispatch_table)) ; Get top half of table
157 ori r10,r10,lo16(EXT(vmm_dispatch_table)) ; Get low half of table
165 lwz r13,0(r12) ; Get address of routine
172 lwz r5,saver5+4(r30) ; Get 2nd parameter after selector - note that some of these parameters may actually be long longs
179 ; NOTE: some of the above parameters are actually long longs. We have glue code that transforms
186 stw r0,saver3(r30) ; Make sure top of RC is clear
188 stw r0,saver4(r30) ; Make sure bottom of RC is clear (just in case)
206 LEXT(vmm_get_version_sel) ; Selector based version of get version
216 LEXT(vmm_get_features_sel) ; Selector based version of get features
226 LEXT(vmm_init_context_sel) ; Selector based version of init context
245 mr r8,r6 ; Move guest address to low half of long long
246 li r7,0 ; Clear high half of guest address
247 mr r6,r5 ; Move host address to low half of long long
248 li r5,0 ; Clear high half of host address
255 mr r6,r5 ; Move guest address to low half of long long
256 li r5,0 ; Clear high half of guest address
265 mr r6,r5 ; Move guest address to low half of long long
266 li r5,0 ; Clear high half of guest address
274 mr r6,r5 ; Move guest address to low half of long long
275 li r5,0 ; Clear high half of guest address
283 mr r6,r5 ; Move guest address to low half of long long
284 li r5,0 ; Clear high half of guest address
292 mr r8,r6 ; Move guest address to low half of long long
293 li r7,0 ; Clear high half of guest address
294 mr r6,r5 ; Move host address to low half of long long
295 li r5,0 ; Clear high half of host address
303 mr r6,r5 ; Move guest address to low half of long long
304 li r5,0 ; Clear high half of guest address
343 * of a context switch.
405 ; two of these are a timer pop and and external stop. We will not dispatch if
443 ; We will bulk do a wholesale swap of the registers in the context area (the VMs)
493 ; This little bit of hoopala here (triggered by vmmMapDone) is
518 stb r0,vmmGFlags+3(r28) ; Show that the redrive has been taken care of
525 stw r15,spcFlags(r10) ; Set per_proc copy of the special flags
566 srawi r3,r3,31 ; Get a 0 if equal or -1 of not
572 dcbt r14,r17 ; Touch in first line of new stuff
603 stw r11,spcFlags(r10) ; Set per_proc copy of the special flags
634 srawi r3,r3,31 ; Get a 0 if equal or -1 of not
640 dcbt r14,r17 ; Touch in first line of new stuff
674 stw r11,spcFlags(r10) ; Set per_proc copy of the special flags
754 ; Here is where we exit from vmm mode. We do this on any kind of exception.
757 ; This will happen in response to a timer pop and some kinds of ASTs.
778 rlwimi r11,r19,vmmSpfSaveb,floatCngbit,vectorCngbit ; Restore the saved part of the spf
787 lwz r18,spcFlags(r10) ; Get per_proc copy of the special flags
796 stw r11,spcFlags(r10) ; Set per_proc copy of the special flags
816 ; part of termination and is used to insure that we are not executing
843 rlwimi r11,r19,vmmSpfSaveb,floatCngbit,vectorCngbit ; Restore the saved part of the spf
853 lwz r18,spcFlags(r10) ; Get per_proc copy of the special flags
863 stw r9,spcFlags(r10) ; Set per_proc copy of the special flags
907 dcbt 0,r6 ; Touch in the first line of the context area
913 cmplwi cr1,r14,T_SYSTEM_CALL ; Are we switching because of a system call?
921 dcbt 0,r6 ; Touch second line of context area
923 lwz r15,vmmppcpc(r5) ; First line of context
926 ori r22,r22,lo16(MSR_IMPORT_BITS) ; Get the rest of the MSR bits that are controllable by user
937 dcbt 0,r6 ; Touch third line of context area
949 ; Save the first 3 parameters if we are an SC (we will take care of the last later)
1167 cmplwi cr1,r7,T_INSTRUCTION_ACCESS ; Exiting because of an ISI?
1171 cmplwi cr1,r7,T_SYSTEM_CALL ; Exiting because of an system call?
1215 cmplwi cr1,r14,T_SYSTEM_CALL ; Are we switching because of a system call?
1225 dcbt 0,r6 ; Touch second line of context area
1229 lwz r15,vmmppcpc(r5) ; First line of context
1232 ori r22,r22,lo16(MSR_IMPORT_BITS) ; Get the rest of the MSR bits that are controllable by user
1243 dcbt 0,r6 ; Touch third line of context area
1255 ; Save the first 3 parameters if we are an SC (we will take care of the last later)
1263 sw64x1: ld r15,vmmppcXpc(r5) ; First line of context
1268 ori r22,r22,lo16(MSR_IMPORT_BITS) ; Get the rest of the MSR bits that are controllable by user
1280 dcbt 0,r6 ; Touch third line of context area
1292 ; Save the first 3 parameters if we are an SC (we will take care of the last later)
1598 cmplwi cr1,r7,T_INSTRUCTION_ACCESS ; Exiting because of an ISI?
1602 cmplwi cr1,r7,T_SYSTEM_CALL ; Exiting because of an system call?
1689 stb r0,vmmGFlags+3(r28) ; Show that the redrive has been taken care of
1695 ori r6,r6,lo16(MSR_IMPORT_BITS) ; Get the rest of the MSR bits that are controllable by user
1732 stb r0,vmmGFlags+3(r28) ; Show that the redrive has been taken care of
1738 ori r6,r6,lo16(MSR_IMPORT_BITS) ; Get the rest of the MSR bits that are controllable by user
1782 cmplwi cr1,r11,T_PROGRAM ; Exiting because of an PRG?
1860 cmplwi cr1,r11,T_PROGRAM ; Exiting because of an PRG?
2087 ori r1,r1,lo16(MSR_IMPORT_BITS) ; Get the rest of the MSR bits that are controllable by user
2165 sth r2,ppInvSeg(r5) ; Force a reload of the SRs
2272 ori r1,r1,lo16(MSR_IMPORT_BITS) ; Get the rest of the MSR bits that are controllable by user
2319 sth r2,ppInvSeg(r5) ; Force a reload of the SRs