summaryrefslogtreecommitdiffhomepage
path: root/src/internal/pe_entry_point.c
blob: 188df13e21dde355a1a31574991f8d158c961297 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#include <psxtypes/psxtypes.h>
#include <psxtypes/section/freestd.h>

__attr_section_decl__(".freestd")
static const void * const pe_affiliation
	__attr_section__(".freestd")
	= 0;

#ifdef  PE_LDSO
#define pe_entry_point __ldso_entry_point
#endif

int __stdcall __attr_protected__ pe_entry_point(
	void *   hinstance,
	uint32_t reason,
	void *   reserved)
{
	(void)pe_affiliation;
	(void)hinstance;
	(void)reason;
	(void)reserved;

	return 1;
}