blob: 5f9c321271ec829c3def8c556f5111fc1421311f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
#pragma once
struct _psdata {
/* Description of the process, see setprogname.
* Assumed to be null terminated. */
char desc[1024];
/* Base offset where the executable was loaded. */
void *base;
};
/* First allocated in bootstrap.
* Freed on every exec(), just to be immediately reallocated by _start2(). */
static struct _psdata *const _psdata_loc = (void*)0x10000;
|