qemu.h (0475f8fac5b576597a50104050451e4ce4fcfc20) | qemu.h (be04f210f954bed8663943a94ece50c2ca410231) |
---|---|
1/* 2 * qemu bsd user mode definition 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License as published by 6 * the Free Software Foundation; either version 2 of the License, or 7 * (at your option) any later version. 8 * --- 91 unchanged lines hidden (view full) --- 100 struct sigqueue *first_free; /* first free siginfo queue entry */ 101 int signal_pending; /* non zero if a signal may be pending */ 102 103 uint8_t stack[]; 104} __attribute__((aligned(16))) TaskState; 105 106void init_task_state(TaskState *ts); 107extern const char *qemu_uname_release; | 1/* 2 * qemu bsd user mode definition 3 * 4 * This program is free software; you can redistribute it and/or modify 5 * it under the terms of the GNU General Public License as published by 6 * the Free Software Foundation; either version 2 of the License, or 7 * (at your option) any later version. 8 * --- 91 unchanged lines hidden (view full) --- 100 struct sigqueue *first_free; /* first free siginfo queue entry */ 101 int signal_pending; /* non zero if a signal may be pending */ 102 103 uint8_t stack[]; 104} __attribute__((aligned(16))) TaskState; 105 106void init_task_state(TaskState *ts); 107extern const char *qemu_uname_release; |
108extern unsigned long mmap_min_addr; | |
109 110/* 111 * TARGET_ARG_MAX defines the number of bytes allocated for arguments 112 * and envelope for the new program. 256k should suffice for a reasonable 113 * maxiumum env+arg in 32-bit environments, bump it up to 512k for !ILP32 114 * platforms. 115 */ 116#if TARGET_ABI_BITS > 32 --- 93 unchanged lines hidden (view full) --- 210void signal_init(void); 211long do_sigreturn(CPUArchState *env); 212long do_rt_sigreturn(CPUArchState *env); 213abi_long do_sigaltstack(abi_ulong uss_addr, abi_ulong uoss_addr, abi_ulong sp); 214 215/* mmap.c */ 216int target_mprotect(abi_ulong start, abi_ulong len, int prot); 217abi_long target_mmap(abi_ulong start, abi_ulong len, int prot, | 108 109/* 110 * TARGET_ARG_MAX defines the number of bytes allocated for arguments 111 * and envelope for the new program. 256k should suffice for a reasonable 112 * maxiumum env+arg in 32-bit environments, bump it up to 512k for !ILP32 113 * platforms. 114 */ 115#if TARGET_ABI_BITS > 32 --- 93 unchanged lines hidden (view full) --- 209void signal_init(void); 210long do_sigreturn(CPUArchState *env); 211long do_rt_sigreturn(CPUArchState *env); 212abi_long do_sigaltstack(abi_ulong uss_addr, abi_ulong uoss_addr, abi_ulong sp); 213 214/* mmap.c */ 215int target_mprotect(abi_ulong start, abi_ulong len, int prot); 216abi_long target_mmap(abi_ulong start, abi_ulong len, int prot, |
218 int flags, int fd, abi_ulong offset); | 217 int flags, int fd, off_t offset); |
219int target_munmap(abi_ulong start, abi_ulong len); 220abi_long target_mremap(abi_ulong old_addr, abi_ulong old_size, 221 abi_ulong new_size, unsigned long flags, 222 abi_ulong new_addr); 223int target_msync(abi_ulong start, abi_ulong len, int flags); 224extern unsigned long last_brk; | 218int target_munmap(abi_ulong start, abi_ulong len); 219abi_long target_mremap(abi_ulong old_addr, abi_ulong old_size, 220 abi_ulong new_size, unsigned long flags, 221 abi_ulong new_addr); 222int target_msync(abi_ulong start, abi_ulong len, int flags); 223extern unsigned long last_brk; |
224extern abi_ulong mmap_next_start; 225abi_ulong mmap_find_vma(abi_ulong start, abi_ulong size); |
|
225void mmap_fork_start(void); 226void mmap_fork_end(int child); 227 228/* main.c */ 229extern char qemu_proc_pathname[]; 230extern unsigned long target_maxtsiz; 231extern unsigned long target_dfldsiz; 232extern unsigned long target_maxdsiz; --- 214 unchanged lines hidden --- | 226void mmap_fork_start(void); 227void mmap_fork_end(int child); 228 229/* main.c */ 230extern char qemu_proc_pathname[]; 231extern unsigned long target_maxtsiz; 232extern unsigned long target_dfldsiz; 233extern unsigned long target_maxdsiz; --- 214 unchanged lines hidden --- |