diff options
Diffstat (limited to 'usr/src/uts/intel/ia32/os/sundep.c')
| -rw-r--r-- | usr/src/uts/intel/ia32/os/sundep.c | 18 |
1 files changed, 17 insertions, 1 deletions
diff --git a/usr/src/uts/intel/ia32/os/sundep.c b/usr/src/uts/intel/ia32/os/sundep.c index 9aca9f4ea1..13f04658aa 100644 --- a/usr/src/uts/intel/ia32/os/sundep.c +++ b/usr/src/uts/intel/ia32/os/sundep.c @@ -115,9 +115,10 @@ check_boot_version(int boots_version) * 1) the pfn of the highest installed physical page, * 2) the number of pages installed * 3) the number of distinct contiguous regions these pages fall into. + * 4) the number of contiguous memory ranges */ void -installed_top_size( +installed_top_size_ex( struct memlist *list, /* pointer to start of installed list */ pfn_t *high_pfn, /* return ptr for top value */ pgcnt_t *pgcnt, /* return ptr for sum of installed pages */ @@ -141,6 +142,21 @@ installed_top_size( *ranges = cnt; } +void +installed_top_size( + struct memlist *list, /* pointer to start of installed list */ + pfn_t *high_pfn, /* return ptr for top value */ + pgcnt_t *pgcnt) /* return ptr for sum of installed pages */ +{ + int ranges; + + installed_top_size_ex(list, high_pfn, pgcnt, &ranges); +} + +void +phys_install_has_changed(void) +{} + /* * Copy in a memory list from boot to kernel, with a filter function * to remove pages. The filter function can increase the address and/or |
