diff options
author | Geoff Levand <geoff@infradead.org> | 2012-03-31 18:13:36 -0700 |
---|---|---|
committer | Geoff Levand <geoff@infradead.org> | 2012-04-24 15:34:17 -0700 |
commit | 79f2a81bf117ffea757b0f298467333cf4e835a8 (patch) | |
tree | 3457e31d8f84cd62f1ec8f4a741b2c4e94c701da /arch/powerpc/platforms/ps3/platform.h | |
parent | 07c044c86e05818c2d5e99b8ff881e2e4543c6ad (diff) | |
download | linux-79f2a81bf117ffea757b0f298467333cf4e835a8.tar.gz linux-79f2a81bf117ffea757b0f298467333cf4e835a8.tar.bz2 linux-79f2a81bf117ffea757b0f298467333cf4e835a8.zip |
powerpc/ps3: Add highmem repository write routines
Add routines to allow Linux based bootloaders to create and/or
modify highmem region info in the PS3 system repository where
it can be retrived by later boot stages.
Signed-off-by: Geoff Levand <geoff@infradead.org>
Diffstat (limited to 'arch/powerpc/platforms/ps3/platform.h')
-rw-r--r-- | arch/powerpc/platforms/ps3/platform.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/arch/powerpc/platforms/ps3/platform.h b/arch/powerpc/platforms/ps3/platform.h index 1a633ed0fe98..4012a86515cd 100644 --- a/arch/powerpc/platforms/ps3/platform.h +++ b/arch/powerpc/platforms/ps3/platform.h @@ -189,6 +189,15 @@ int ps3_repository_read_region_total(u64 *region_total); int ps3_repository_read_mm_info(u64 *rm_base, u64 *rm_size, u64 *region_total); +int ps3_repository_write_highmem_region_count(unsigned int region_count); +int ps3_repository_write_highmem_base(unsigned int region_index, + u64 highmem_base); +int ps3_repository_write_highmem_size(unsigned int region_index, + u64 highmem_size); +int ps3_repository_write_highmem_info(unsigned int region_index, + u64 highmem_base, u64 highmem_size); +int ps3_repository_delete_highmem_info(unsigned int region_index); + /* repository pme info */ int ps3_repository_read_num_be(unsigned int *num_be); |