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

Lines Matching defs:savearea

60 	addr64_t		save_prev;					/* The address of the previous (or next) savearea */
61 addr64_t sac_next; /* Points to next savearea page that has a free slot - real */
62 addr64_t sac_prev; /* Points to previous savearea page that has a free slot - real */
87 * This type of savearea contains all of the general context.
91 typedef struct savearea {
173 * This type of savearea contains all of the floating point context.
239 * This type of savearea contains all of the vector context.
300 * Note that the first 24 bytes must be the same format as a savearea header.
303 unsigned int savelock; /* 000 Lock word for savearea free list manipulation */
319 extern struct Saveanchor saveanchor; /* Aliged savearea anchor */
321 #define sac_cnt (4096 / sizeof(struct savearea)) /* Number of saveareas per page */
326 #define LocalSaveTarget (((8 + sac_cnt - 1) / sac_cnt) * sac_cnt) /* Target for size of local savearea free list */
327 #define LocalSaveMin (LocalSaveTarget / 2) /* Min size of local savearea free list before we grow */
328 #define LocalSaveMax (LocalSaveTarget * 2) /* Max size of local savearea free list before we trim */
335 #define InitialSaveBloks (InitialSaveAreas + sac_cnt - 1) / sac_cnt /* The number of savearea blocks to allocate at boot */
338 void save_queue(ppnum_t); /* Add a new savearea block to the free list */
339 addr64_t save_get_init(void); /* special savearea-get for cpu initialization (returns physical address) */
340 struct savearea *save_get(void); /* Obtains a savearea from the free list (returns virtual address) */
341 reg64_t save_get_phys_32(void); /* Obtains a savearea from the free list (returns phys addr in r3) */
342 reg64_t save_get_phys_64(void); /* Obtains a savearea from the free list (returns phys addr in r3) */
343 struct savearea *save_alloc(void); /* Obtains a savearea and allocates blocks if needed */
344 struct savearea *save_cpv(addr64_t); /* Converts a physical savearea address to virtual */
345 void save_ret(struct savearea *); /* Returns a savearea to the free list by virtual address */
346 void save_ret_wMSR(struct savearea *, reg64_t); /* returns a savearea and restores an MSR */
347 void save_ret_phys(reg64_t); /* Returns a savearea to the free list by physical address */
349 struct savearea_comm *save_trim_free(void); /* Remove free pages from savearea pool */
351 void savearea_init(vm_offset_t addr); /* Boot-time savearea initialization */
353 void save_fake_zone_info( /* report savearea usage statistics as fake zone info */
364 void save_release(struct savearea *);
373 #define SAVsyscall 0x00020000 /* Indicates that the savearea is associated with a syscall */
382 #define SAVtype 0x0000FF00 /* Shows type of savearea */