[POWERPC] pseries: phyp dump: Invalidate and print dump areas

This adds routines to
a. invalidate dump
b. calculate region that is reserved and needs to be freed.  This is
   exported through sysfs interface.

Unregister has been removed for now as it wasn't being used.

Signed-off-by: Manish Ahuja <mahuja@us.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>
This commit is contained in:
Manish Ahuja
2008-03-22 10:45:22 +11:00
committed by Paul Mackerras
parent 599c1aa54f
commit a9c508dae1
2 changed files with 80 additions and 6 deletions
+3
View File
@@ -30,6 +30,9 @@ struct phyp_dump {
/* store cpu & hpte size */
unsigned long cpu_state_size;
unsigned long hpte_region_size;
/* previous scratch area values */
unsigned long reserved_scratch_addr;
unsigned long reserved_scratch_size;
};
extern struct phyp_dump *phyp_dump_info;