X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/a3d08fcd5120d2aa8303b6349ca8b14e3f284af3..91447636331957f3d9b5ca5b508f07c526b0074d:/osfmk/ppc/savearea.c diff --git a/osfmk/ppc/savearea.c b/osfmk/ppc/savearea.c index bf9b4e80b..fcda2ab4c 100644 --- a/osfmk/ppc/savearea.c +++ b/osfmk/ppc/savearea.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2000 Apple Computer, Inc. All rights reserved. + * Copyright (c) 2000-2004 Apple Computer, Inc. All rights reserved. * * @APPLE_LICENSE_HEADER_START@ * @@ -24,7 +24,6 @@ * */ -#include #include #include #include @@ -204,7 +203,7 @@ void savearea_init(vm_offset_t addr) { /* * This will populate the local list and get the first one for the system */ - per_proc_info[0].next_savearea = (vm_offset_t)save_get(); + getPerProc()->next_savearea = (vm_offset_t)save_get(); /* * The system is now able to take interruptions @@ -309,7 +308,7 @@ void save_adjust(void) { /* * Fake up information to make the saveareas look like a zone */ - +void save_fake_zone_info(int *count, vm_size_t *cur_size, vm_size_t *max_size, vm_size_t *elem_size, vm_size_t *alloc_size, int *collectable, int *exhaustable) {