Skip to content
Snippets Groups Projects
Commit a06c22d7 authored by Claudio Fontana's avatar Claudio Fontana Committed by Pekka Enberg
Browse files

loader: move x64-specific stuff from premain


move the arch-specific stuff in premain to
arch/x64/arch-setup.cc.

Introduce arch_init_premain() and arch_setup_tls().

arch_init_premain() is supposed to perform arch-specific
initialization before the common premain code is run.

arch_setup_tls() is run _after_ the common setup_tls code.

Reviewed-by: default avatarGlauber Costa <glommer@cloudius-systems.com>
Signed-off-by: default avatarClaudio Fontana <claudio.fontana@huawei.com>
Signed-off-by: default avatarPekka Enberg <penberg@cloudius-systems.com>
parent 16086d77
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment