Subversion Repositories HelenOS-historic

Rev

Rev 1129 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1129 Rev 1656
Line 24... Line 24...
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
24
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
25
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
26
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
27
 */
27
 */
28
 
28
 
-
 
29
 /** @addtogroup libcamd64 amd64
-
 
30
  * @addtogroup libcia32
-
 
31
 * @ingroup lc
-
 
32
 * @{
-
 
33
 */
-
 
34
/** @file
-
 
35
 */
-
 
36
 
29
#include <thread.h>
37
#include <thread.h>
30
#include <malloc.h>
38
#include <malloc.h>
31
 
39
 
32
/** Allocate TLS & TCB for initial module threads
40
/** Allocate TLS & TCB for initial module threads
33
 *
41
 *
Line 49... Line 57...
49
void __free_tls_arch(tcb_t *tcb, size_t size)
57
void __free_tls_arch(tcb_t *tcb, size_t size)
50
{
58
{
51
    void *start = ((void *)tcb) - size;
59
    void *start = ((void *)tcb) - size;
52
    free(start);
60
    free(start);
53
}
61
}
-
 
62
 
-
 
63
 
-
 
64
 /** @}
-
 
65
 */
-
 
66
 
-
 
67