Searched refs:save (Results 1 - 25 of 34) sorted by relevance

12

/macosx-10.5.8/xnu-1228.15.4/libsa/
H A Dstrrchr.c73 char *save; local
76 for (save = (char *) 0; (c = *cp); cp++) {
78 save = (char *) cp;
81 return save;
/macosx-10.5.8/xnu-1228.15.4/bsd/libkern/
H A Drindex.c76 register char *save; local
78 for (save = NULL;; ++p) {
80 save = (char *)p;
82 return(save);
/macosx-10.5.8/xnu-1228.15.4/osfmk/ppc/
H A DDiagnostics.c85 int diagCall(struct savearea *save) { argument
106 switch(save->save_r3) { /* Select the routine */
114 adj.tb[1] = save->save_r4; /* Set low order */
142 save->save_r3 = pmap_find_phys(current_thread()->map->pmap, save->save_r4); /* Get read address */
153 src = (save->save_r4 << 32) | (0x00000000FFFFFFFFULL & save->save_r5); /* Merge into 64-bit */
154 snk = (save->save_r6 << 32) | (0x00000000FFFFFFFFULL & save->save_r7); /* Merge into 64-bit */
155 save
[all...]
H A Dsavearea.c29 * This file is used to maintain the exception save areas
64 * These routines keep track of exception save areas and keeps the count within specific limits. If there are
126 * Allocate our initial context save areas. As soon as we do this,
138 vm_offset_t save; local
150 save = addr; /* Point to the whole block of blocks */
159 savec = (savearea_comm *)save; /* Get the control area for this one */
166 save += PAGE_SIZE; /* Jump up to the next one now */
187 savec = (savearea_comm *)save; /* Get the control area for this one */
194 save += PAGE_SIZE; /* Jump up to the next one now */
227 struct savearea *save_alloc(void) { /* Reserve a save are
243 save_release(struct savearea *save) argument
[all...]
H A Ddb_low_trace.c668 struct savearea *save; local
681 save = (struct savearea *)act->machine.pcb; /* Set the start of the normal chain */
688 while(save) { /* Do them all */
690 db_printf(" Norm %08X: %016llX %016llX - tot = %d\n", save, save->save_srr0, save->save_srr1, totsaves);
691 save = (struct savearea *)save->save_hdr.save_prev; /* Next one */
693 db_printf(" Chain terminated by count (%d) before %08X\n", chainmax, save);
698 save
[all...]
H A DPseudoKernel.c360 * save->r3 = taskID
361 * save->r4 = TWI_TableStart
362 * save->r5 = Desc_TableStart
365 int bb_enable_bluebox( struct savearea *save )
370 CAST_DOWN(unsigned, save->save_r3),
371 CAST_DOWN(unsigned, save->save_r4),
372 CAST_DOWN(unsigned, save->save_r5));
373 save->save_r3 = rc;
381 int bb_disable_bluebox( struct savearea *save )
386 save
[all...]
H A DpmsCPU.c307 int pmsCntrl(struct savearea *save) { argument
308 save->save_r3 = pmsControl(save->save_r3, (user_addr_t)(uintptr_t)save->save_r4, save->save_r5);
H A DPPCcalls.h41 typedef int (*PPCcallEnt)(struct savearea *save);
H A Dhw_perfmon.h88 extern int perfmon_control(struct savearea *save);
H A Dvmachmon.c382 int vmm_get_version(struct savearea *save) argument
384 save->save_r3 = kVmmCurrentVersion; /* Return the version */
404 int vmm_get_features(struct savearea *save) argument
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) argument
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
897 struct savearea *save; local
1883 vmm_stop_vm(struct savearea *save) argument
[all...]
H A DDiagnostics.h50 int diagCall(struct savearea *save);
H A Dcswtch.s82 * we do not need to save callee save registers.
103 * See if a continuation is supplied, and skip state save if so.
294 xor r3,r11,r8 /* Get the physical address of the new context save area */
336 * saver4 = old thread in switcher's save
337 * saver5 = new SRR0 in switcher's save
338 * saver6 = new SRR1 in switcher's save
376 * Note that there are some oddities here when we save a context we are using.
424 bne-- fsret ; Nobody owns the FPU, no save required...
431 ; It looks like we need to save thi
[all...]
H A Dsavearea_asm.s81 ld r5,SVfree(0) ; Get free save area list anchor
115 lwz r5,SVfree+4(0) ; Get free save area list anchor
257 bl savelock ; Go lock the save anchor
259 ld r7,SVfree(0) ; Get the free save area list anchor
286 bl savelock ; Go lock the save anchor
288 lwz r7,SVfree+4(0) ; Get the free save area list anchor
362 std r5,tempr0(r10) ; save r0 in per-proc across call to saveGet64
372 stw r5,tempr0+4(r10) ; save r0 in per-proc across call to saveGet32
497 mflr r7 ; save return adress
502 ld r8,SVfree(0) ; Get the head of the save are
[all...]
H A Dhw_exception.s36 * handler since the state save routine is different for each. The
115 stw r8,SAVprev+4(r4) ; Queue the new save area in the front
148 beq++ tvecoff ; Vector off, do not save vrsave...
159 stw r3,FM_LR_SAVE(r1) ; save old instr ptr as LR value
335 beq++ svecoff ; Vector off, do not save vrsave...
372 stw r14,SAVprev+4(r4) ; Queue the new save area in the front
564 addi r3,r30,saver3 ; Pointer to args from save area
605 mr r3,r31 ; save it
629 addi r3,r30,saver3 ; Pointer to args from save area
672 * which has already been stored back into the save are
[all...]
H A Datomic_switch.s90 * state registers intact. R1/PC are saved in a per thread save area, the base of
134 bne .L_CallFromAlternateContext ; No, then do not save CR2 bits
H A Dvmachmon.h484 extern int vmm_stop_vm(struct savearea *save);
/macosx-10.5.8/xnu-1228.15.4/libsa/i386/
H A Dsetjmp.s81 movl %ebp,12(%ecx) # save frame pointer of caller
83 movl %esp,16(%ecx) # save stack pointer of caller
84 movl %edx,20(%ecx) # save pc of caller
/macosx-10.5.8/xnu-1228.15.4/osfmk/i386/
H A D_setjmp.s78 movl %ebp,12(%ecx) # save frame pointer of caller
80 movl %esp,16(%ecx) # save stack pointer of caller
81 movl %edx,20(%ecx) # save pc of caller
/macosx-10.5.8/xnu-1228.15.4/osfmk/kern/
H A Dtimer.c92 uint64_t *save)
94 uint64_t new, old = *save;
96 *save = new = timer_grab(timer);
90 timer_delta( timer_t timer, uint64_t *save) argument
H A Dtimer.h142 uint64_t *save);
H A Dpms.h164 extern int pmsCntrl(struct savearea *save);
/macosx-10.5.8/xnu-1228.15.4/pexpert/ppc/
H A Dpe_clock_speed_asm.s70 mftb r10 ; save starting value of the time base
85 mftb r5 ; save the raw time base value
111 stw r6, 4(r3) ; save via ticks
114 stw r5, 8(r3) ; save time base ticks
/macosx-10.5.8/xnu-1228.15.4/osfmk/console/
H A Dvideo_console.c1423 unsigned long val = *theChar++, save = val; local
1425 if (lastpixel && !(save & 0xFF000000))
1427 if ((save & 0xFFFF0000) == 0xFF000000)
1429 if ((save & 0x00FFFF00) == 0x00FF0000)
1431 if ((save & 0x0000FFFF) == 0x0000FF00)
1439 lastpixel = save & 0xff;
1480 unsigned long val = *theChar++, save = val; local
1482 if (save == 0xFFFF0000) val |= 0xFFFF;
1483 else if (lastpixel && !(save & 0xFFFF0000))
1492 lastpixel = save
1545 unsigned long val = *theChar++, save = val; local
1816 vc_blit_rect( int x, int y, int width, int height, const unsigned char * dataPtr, const unsigned char * alphaPtr, void * backBuffer, boolean_t save, boolean_t static_alpha ) argument
1841 vc_blit_rect_8(int x, int y, int width, int height, const unsigned char * dataPtr, const unsigned char * alphaPtr, __unused unsigned char * backPtr, __unused boolean_t save, __unused boolean_t static_alpha) argument
1880 vc_blit_rect_16( int x, int y, int width, int height, const unsigned char * dataPtr, const unsigned char * alphaPtr, unsigned short * backPtr, boolean_t save, boolean_t static_alpha ) argument
1955 vc_blit_rect_32( int x, int y, int width, int height, const unsigned char * dataPtr, const unsigned char * alphaPtr, unsigned int * backPtr, boolean_t save, boolean_t static_alpha ) argument
[all...]
/macosx-10.5.8/xnu-1228.15.4/bsd/dev/dtrace/
H A Dblist.c265 blist_t save = *pbl; local
268 if (count > save->bl_blocks)
269 count = save->bl_blocks;
270 blst_copy(save->bl_root, 0, save->bl_radix, save->bl_skip, newbl, count);
277 blist_destroy(save);
/macosx-10.5.8/xnu-1228.15.4/bsd/crypto/aes/i386/
H A Daes_x86_v2.s163 #define save(r1) \ define
340 save(ebp); \
355 save(ebp); \
809 save(ebp); \
824 save(ebp); \
839 save(ebp); \
854 save(ebp); \

Completed in 95 milliseconds

12