]> rtime.felk.cvut.cz Git - l4.git/blob - l4/pkg/libloader/include/ARCH-x86/adjust_stack
update
[l4.git] / l4 / pkg / libloader / include / ARCH-x86 / adjust_stack
1 // vi:ft=cpp
2 /*
3  * (c) 2010 Adam Lackorzynski <adam@os.inf.tu-dresden.de>
4  *     economic rights: Technische Universität Dresden (Germany)
5  * This file is part of TUD:OS and distributed under the terms of the
6  * GNU Lesser General Public License 2.1.
7  * Please see the COPYING-LGPL-2.1 file for details.
8  */
9 #pragma once
10
11 namespace Ldr {
12
13 inline
14 char *adjust_sp(char *old_sp, l4_umword_t *offs = 0)
15 {
16   if (offs)
17     *offs = 0;
18   return old_sp;
19 }
20
21 }