Changeset bc73be3 in mainline for uspace/lib/c/arch/arm64/src/tls.c


Ignore:
Timestamp:
2019-06-27T08:51:20Z (7 years ago)
Author:
Jaroslav Jindrak <dzejrou@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8add15e0
Parents:
ad40b74b (diff), aeba767 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

cpp: merge and resolve conflicts

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/arch/arm64/src/tls.c

    rad40b74b rbc73be3  
    11/*
    2  * Copyright (c) 2011 Martin Decky
    3  * Copyright (c) 2011 Petr Koupy
     2 * Copyright (c) 2015 Petr Pavlu
    43 * All rights reserved.
    54 *
     
    2827 */
    2928
    30 /** @addtogroup draw
    31  * @{
     29/** @addtogroup libcarm64
    3230 */
    33 /**
    34  * @file
     31/** @file
     32 * @brief Thread-local storage.
    3533 */
    3634
    37 #ifndef DRAW_CODEC_TGA_H_
    38 #define DRAW_CODEC_TGA_H_
     35#include <tls.h>
     36#include <stddef.h>
    3937
    40 #include <stddef.h>
    41 #include "../surface.h"
     38tcb_t *tls_alloc_arch(size_t size, size_t align)
     39{
     40        return tls_alloc_variant_1(size, align);
     41}
    4242
    43 extern surface_t *decode_tga(void *, size_t, surface_flags_t);
    44 extern bool encode_tga(surface_t *, void **, size_t *);
    45 
    46 #endif
     43void tls_free_arch(tcb_t *tcb, size_t size, size_t align)
     44{
     45        tls_free_variant_1(tcb, size, align);
     46}
    4747
    4848/** @}
Note: See TracChangeset for help on using the changeset viewer.