Subversion Repositories HelenOS-historic

Rev

Rev 1400 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 1400 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 libcppc64 
-
 
30
 * @{
-
 
31
 */
-
 
32
/** @file
-
 
33
 */
-
 
34
 
29
#include <thread.h>
35
#include <thread.h>
30
#include <malloc.h>
36
#include <malloc.h>
31
 
37
 
32
/** Allocate TLS & TCB for initial module threads
38
/** Allocate TLS & TCB for initial module threads
33
 *
39
 *
Line 47... Line 53...
47
void __free_tls_arch(tcb_t *tcb, size_t size)
53
void __free_tls_arch(tcb_t *tcb, size_t size)
48
{
54
{
49
    void *start = ((void *) tcb) - size;
55
    void *start = ((void *) tcb) - size;
50
    free(start);
56
    free(start);
51
}
57
}
-
 
58
 
-
 
59
 /** @}
-
 
60
 */
-
 
61