1 /* SPDX-License-Identifier: GPL-2.0 */ 1 2 #ifndef _ALPHA_USER_H 3 #define _ALPHA_USER_H 4 5 #include <linux/sched.h> 6 #include <linux/ptrace.h> 7 8 #include <asm/page.h> 9 #include <asm/reg.h> 10 11 /* 12 * Core file format: The core file is written 13 * can understand it and provide useful inform 14 * linux we use the `trad-core' bfd, NOT the o 15 * are as follows: 16 * 17 * upage: 1 page consisting of a user struct 18 * what is present in the file. Directly 19 * copy of the task_struct, which is curr 20 * but it may come in handy at some point 21 * are stored as part of the upage. The 22 * only one page long. 23 * data: The data segment follows next. We u 24 * current->brk to pick up all of the use 25 * that may have been sbrk'ed. No attemp 26 * page is demand-zero or if a page is to 27 * the entire range. All of the addresse 28 * that an integral number of pages is wr 29 * stack: We need the stack information in or 30 * backtrace. We need to write the data 31 * current->start_stack, so we round each 32 * to write an integer number of pages. 33 */ 34 struct user { 35 unsigned long regs[EF_SIZE/8+32]; 36 size_t u_tsize; 37 size_t u_dsize; 38 size_t u_ssize; 39 unsigned long start_code; 40 unsigned long start_data; 41 unsigned long start_stack; 42 long int signal; 43 unsigned long u_ar0; 44 unsigned long magic; 45 char u_comm[32]; 46 }; 47 48 #endif /* _ALPHA_USER_H */ 49
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.