Blame view
arch/blackfin/include/asm/l1layout.h
879 Bytes
1394f0322 blackfin architec... |
1 |
/* |
1394f0322 blackfin architec... |
2 |
* Defines a layout of L1 scratchpad memory that userspace can rely on. |
96f1050d3 Blackfin: mass cl... |
3 4 5 6 |
* * Copyright 2006-2008 Analog Devices Inc. * * Licensed under the GPL-2 or later. |
1394f0322 blackfin architec... |
7 8 9 10 11 12 |
*/ #ifndef _L1LAYOUT_H_ #define _L1LAYOUT_H_ #include <asm/blackfin.h> |
cc92b870a Blackfin arch: di... |
13 |
#ifndef CONFIG_SMP |
1394f0322 blackfin architec... |
14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
#ifndef __ASSEMBLY__ /* Data that is "mapped" into the process VM at the start of the L1 scratch memory, so that each process can access it at a fixed address. Used for stack checking. */ struct l1_scratch_task_info { /* Points to the start of the stack. */ void *stack_start; /* Not updated by the kernel; a user process can modify this to keep track of the lowest address of the stack pointer during its runtime. */ void *lowest_sp; }; /* A pointer to the structure in memory. */ |
6b3087c64 Blackfin arch: SM... |
30 31 |
#define L1_SCRATCH_TASK_INFO ((struct l1_scratch_task_info *)\ get_l1_scratch_start()) |
1394f0322 blackfin architec... |
32 33 |
#endif |
cc92b870a Blackfin arch: di... |
34 |
#endif |
1394f0322 blackfin architec... |
35 36 |
#endif |