import PULS_20160108
[GitHub/mt8127/android_kernel_alcatel_ttab.git] / arch / arm64 / include / uapi / asm / setup.h
index 9cf2e46fbbdfefbce75acfe232daf1c3eb03ca75..cc5d54fb4fd6e23c8fd3ad8b4eda3dd2fe8407b8 100644 (file)
 
 #define COMMAND_LINE_SIZE      2048
 
+/* general memory descriptor */
+typedef struct {
+    u64 start;
+    u64 size;
+} mem_desc_t;
+
+/* mblock is used by CPU */
+typedef struct {
+       u64 start;
+       u64 size;
+       u32 rank;       /* rank the mblock belongs to */
+} mblock_t;
+
+typedef struct {
+       u32 mblock_num;
+       mblock_t mblock[4];
+} mblock_info_t;
+
+typedef struct {
+       u32 rank_num;
+       mem_desc_t rank_info[4];
+} dram_info_t;
+
 #endif