Browse Source

Blackfin: add L2_SRAM flag for alloc func

Mike Frysinger 15 năm trước cách đây
mục cha
commit
607d5a5fec
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      libc/sysdeps/linux/bfin/bfin_sram.h

+ 1 - 0
libc/sysdeps/linux/bfin/bfin_sram.h

@@ -18,6 +18,7 @@ __BEGIN_DECLS
 #define L1_DATA_A_SRAM          0x00000002
 #define L1_DATA_B_SRAM          0x00000004
 #define L1_DATA_SRAM            0x00000006
+#define L2_SRAM			0x00000008
 
 extern void *sram_alloc(size_t size, unsigned long flags)
 	__attribute_malloc__ __attribute_warn_unused_result__;