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

Lines Matching refs:save

382 int vmm_get_version(struct savearea *save)
384 save->save_r3 = kVmmCurrentVersion; /* Return the version */
404 int vmm_get_features(struct savearea *save)
406 save->save_r3 = kVmmCurrentFeatures; /* Return the features */
408 save->save_r3 &= ~kVmmFeature_LittleEndian; /* No little endian here */
409 save->save_r3 |= kVmmFeature_SixtyFourBit; /* Set that we can do 64-bit */
482 int vmm_init_context(struct savearea *save)
499 vmm_user_state = CAST_DOWN(vmm_state_page_t *, save->save_r4); /* Get the user address of the comm area */
501 save->save_r3 = KERN_FAILURE; /* Return failure */
506 version = save->save_r3; /* Pick up passed in version */
508 save->save_r3 = KERN_FAILURE; /* Return failure */
513 save->save_r3 = KERN_FAILURE; /* Return failure */
549 save->save_r3 = KERN_FAILURE; /* We must play alone... */
562 save->save_r3 = KERN_RESOURCE_SHORTAGE; /* No storage... */
576 save->save_r3 = KERN_RESOURCE_SHORTAGE; /* No empty slots... */
651 save->save_r3 = KERN_SUCCESS; /* Hip, hip, horay... */
658 save->save_r3 = ret; /* Pass back return code... */
897 struct savearea *save;
901 save = find_user_regs(act); /* Find the user state context */
902 if(!save) { /* Did we find it? */
907 save->save_exception = kVmmBogusContext*4; /* Indicate that this context is bogus now */
909 vmm_force_exit(act, save); /* Force and exit from VM state */
1883 int vmm_stop_vm(struct savearea *save)
1932 if(!(vmmask = save->save_r3)) { /* Get the stop mask and check if all zeros */
1936 save->save_r3 = KERN_SUCCESS; /* Set success */
1951 save->save_r3 = KERN_SUCCESS; /* Say we did it... */
1960 save->save_r3 = KERN_RESOURCE_SHORTAGE; /* No storage... */
1978 save->save_r3 = KERN_SUCCESS; /* Hip, hip, horay... */