]> git.sur5r.net Git - u-boot/blobdiff - arch/x86/include/asm/coreboot_tables.h
x86: Prepare configuration tables in dedicated high memory region
[u-boot] / arch / x86 / include / asm / coreboot_tables.h
index 15ccf9be6c07e608390ea0b9c40a4077f7ef2b80..e036f744f679b1b9b5c06a7f0457f845b83e445f 100644 (file)
@@ -294,6 +294,25 @@ struct cbmem_entry {
 #define CBMEM_ID_CONSOLE               0x434f4e53
 #define CBMEM_ID_NONE                  0x00000000
 
+/**
+ * high_table_reserve() - reserve configuration table in high memory
+ *
+ * This reserves configuration table in high memory.
+ *
+ * @return:    always 0
+ */
+int high_table_reserve(void);
+
+/**
+ * high_table_malloc() - allocate configuration table in high memory
+ *
+ * This allocates configuration table in high memory.
+ *
+ * @bytes:     size of configuration table to be allocated
+ * @return:    pointer to configuration table in high memory
+ */
+void *high_table_malloc(size_t bytes);
+
 /**
  * write_coreboot_table() - write coreboot table
  *