OSDN Git Service

mkostemp: fix implementation
[uclinux-h8/uClibc.git] / libc / sysdeps / linux / bfin / bfin_l1layout.h
1 #define L1_SCRATCH_START        0xFFB00000
2
3 /* Data that is "mapped" into the process VM at the start of the L1 scratch
4    memory, so that each process can access it at a fixed address.  Used for
5    stack checking.  */
6 struct l1_scratch_task_info
7 {
8         /* Points to the start of the stack.  */
9         void *stack_start;
10         /* Not updated by the kernel; a user process can modify this to
11            keep track of the lowest address of the stack pointer during its
12            runtime.  */
13         void *lowest_sp;
14 };
15
16 /* A pointer to the structure in memory.  */
17 #define L1_SCRATCH_TASK_INFO ((struct l1_scratch_task_info *)L1_SCRATCH_START)