|
@@ -21,6 +21,15 @@
|
|
|
#define __page_aligned_data __section(.data.page_aligned) __aligned(PAGE_SIZE)
|
|
|
#define __page_aligned_bss __section(.bss.page_aligned) __aligned(PAGE_SIZE)
|
|
|
|
|
|
+/*
|
|
|
+ * For assembly routines.
|
|
|
+ *
|
|
|
+ * Note when using these that you must specify the appropriate
|
|
|
+ * alignment directives yourself
|
|
|
+ */
|
|
|
+#define __PAGE_ALIGNED_DATA .section ".data.page_aligned", "aw"
|
|
|
+#define __PAGE_ALIGNED_BSS .section ".bss.page_aligned", "aw"
|
|
|
+
|
|
|
/*
|
|
|
* This is used by architectures to keep arguments on the stack
|
|
|
* untouched by the compiler by keeping them live until the end.
|