Changes in / [542e819:bd29f9c9] in mainline


Ignore:
Files:
32 edited

Legend:

Unmodified
Added
Removed
  • TabularUnified boot/arch/mips32/Makefile.inc

    r542e819 rbd29f9c9  
    2929BFD_ARCH = mips
    3030BITS = 32
    31 EXTRA_CFLAGS = -msoft-float -mno-abicalls -G 0 -fno-zero-initialized-in-bss -mips3 -mabi=32
     31EXTRA_CFLAGS = -mno-abicalls -G 0 -fno-zero-initialized-in-bss -mips3 -mabi=32
    3232
    3333RD_SRVS_NON_ESSENTIAL += \
     
    4848        BFD_OUTPUT = binary
    4949        ENDIANESS = LE
     50        EXTRA_GCC_CFLAGS = -mhard-float
    5051endif
    5152
  • TabularUnified boot/arch/mips64/Makefile.inc

    r542e819 rbd29f9c9  
    2929BFD_ARCH = mips:4000
    3030BITS = 64
    31 EXTRA_CFLAGS = -msoft-float -mno-abicalls -G 0 -fno-zero-initialized-in-bss -mips3 -mabi=64
     31EXTRA_CFLAGS = -mno-abicalls -G 0 -fno-zero-initialized-in-bss -mips3 -mabi=64
    3232
    3333ifeq ($(MACHINE),msim)
     
    3535        BFD_OUTPUT = binary
    3636        ENDIANESS = LE
     37        EXTRA_GCC_CFLAGS = -mhard-float
    3738endif
    3839
  • TabularUnified boot/generic/src/str.c

    r542e819 rbd29f9c9  
    357357 * and both strings consist of the same sequence of characters.
    358358 *
    359  * A string S1 is less than another string S2 if it has a character with
    360  * lower value at the first character position where the strings differ.
    361  * If the strings differ in length, the shorter one is treated as if
    362  * padded by characters with a value of zero.
     359 * A string is smaller than another string iff it is shorter or
     360 * has a character with lower value at the first position where
     361 * the strings differ.
    363362 *
    364363 * @param s1 First string to compare.
    365364 * @param s2 Second string to compare.
    366365 *
    367  * @return 0 if the strings are equal, -1 if the first is less than the second,
    368  *         1 if the second is less than the first.
     366 * @return 0 if the strings are equal, -1 if first is smaller,
     367 *         1 if second smaller.
    369368 *
    370369 */
  • TabularUnified contrib/arch/HelenOS.adl

    r542e819 rbd29f9c9  
    1 system architecture HelenOS version 0.5.0 {
     1system architecture HelenOS version 0.4.1 {
    22        /* SPARTAN kernel */
    33        inst kernel kernel;
  • TabularUnified contrib/bazaar/bzreml/__init__.py

    r542e819 rbd29f9c9  
    102102        return ""
    103103
    104 def iter_reverse_revision_history(repository, revision_id):
    105         """Iterate backwards through revision ids in the lefthand history"""
    106        
    107         graph = repository.get_graph()
    108         stop_revisions = (None, _mod_revision.NULL_REVISION)
    109         return graph.iter_lefthand_ancestry(revision_id, stop_revisions)
    110 
    111104def revision_sequence(branch, revision_old_id, revision_new_id):
    112105        """Calculate a sequence of revisions"""
    113106       
    114         for revision_ac_id in iter_reverse_revision_history(branch.repository, revision_new_id):
     107        for revision_ac_id in branch.repository.iter_reverse_revision_history(revision_new_id):
    115108                if (revision_ac_id == revision_old_id):
    116109                        break
  • TabularUnified contrib/bazaar/mbprotect/__init__.py

    r542e819 rbd29f9c9  
    4545from bzrlib.errors import TipChangeRejected
    4646
    47 def iter_reverse_revision_history(repository, revision_id):
    48         """Iterate backwards through revision ids in the lefthand history"""
    49        
    50         graph = repository.get_graph()
    51         stop_revisions = (None, _mod_revision.NULL_REVISION)
    52         return graph.iter_lefthand_ancestry(revision_id, stop_revisions)
    53 
    5447def pre_change_branch_tip(params):
    5548        repo = params.branch.repository
     
    6154        # First permitted case is appending changesets to main branch.Look for
    6255        # old tip in new main branch.
    63         for revision_id in iter_reverse_revision_history(repo, params.new_revid):
     56        for revision_id in repo.iter_reverse_revision_history(params.new_revid):
    6457                if revision_id == params.old_revid:
    6558                        return  # Found old tip
     
    6760        # Another permitted case is backing out changesets. Look for new tip
    6861        # in old branch.
    69         for revision_id in iter_reverse_revision_history(repo, params.old_revid):
     62        for revision_id in repo.iter_reverse_revision_history(params.old_revid):
    7063                if revision_id == params.new_revid:
    7164                        return  # Found new tip
  • TabularUnified contrib/conf/mips32-gx.sh

    r542e819 rbd29f9c9  
    88fi
    99
    10 if [ "$1" == "-E" ] && [ -n "$2" ]; then
    11         MACHINE="$2"
    12         shift 2
    13 else
    14         MACHINE="oldtestmips"
    15 fi
    16 
    17 gxemul $@ -E "$MACHINE" -C R4000 -X image.boot -d d0:"$DISK_IMG"
     10gxemul $@ -E oldtestmips -C R4000 -X image.boot -d d0:"$DISK_IMG"
  • TabularUnified defaults/mips32/Makefile.config

    r542e819 rbd29f9c9  
    4747CONFIG_MOUNT_DATA = n
    4848
    49 # Barebone build with essential binaries only
    50 CONFIG_BAREBONE = y
  • TabularUnified defaults/sparc64/ultra/Makefile.config

    r542e819 rbd29f9c9  
    44# CPU type
    55PROCESSOR = us
    6 
    7 # Barebone build with essential binaries only
    8 CONFIG_BAREBONE = y
  • TabularUnified kernel/arch/mips32/Makefile.inc

    r542e819 rbd29f9c9  
    2929BFD_ARCH = mips
    3030BFD = binary
    31 GCC_CFLAGS += -msoft-float -mno-abicalls -G 0 -fno-zero-initialized-in-bss -mips3 -mabi=32
     31GCC_CFLAGS += -mno-abicalls -G 0 -fno-zero-initialized-in-bss -mips3 -mabi=32
    3232
    3333BITS = 32
     
    4848        BFD_NAME = elf32-tradlittlemips
    4949        ENDIANESS = LE
     50        GCC_CFLAGS += -mhard-float
    5051endif
    5152
  • TabularUnified kernel/arch/mips64/Makefile.inc

    r542e819 rbd29f9c9  
    2929BFD_ARCH = mips:4000
    3030BFD = binary
    31 GCC_CFLAGS += -msoft-float -mno-abicalls -G 0 -fno-zero-initialized-in-bss -mips3 -mabi=64
     31GCC_CFLAGS += -mno-abicalls -G 0 -fno-zero-initialized-in-bss -mips3 -mabi=64
    3232AFLAGS = -64
    3333
     
    4040        BFD_NAME = elf64-tradlittlemips
    4141        ENDIANESS = LE
     42        GCC_CFLAGS += -mhard-float
    4243endif
    4344
  • TabularUnified kernel/generic/src/lib/str.c

    r542e819 rbd29f9c9  
    459459 * and both strings consist of the same sequence of characters.
    460460 *
    461  * A string S1 is less than another string S2 if it has a character with
    462  * lower value at the first character position where the strings differ.
    463  * If the strings differ in length, the shorter one is treated as if
    464  * padded by characters with a value of zero.
     461 * A string is smaller than another string iff it is shorter or
     462 * has a character with lower value at the first position where
     463 * the strings differ.
    465464 *
    466465 * @param s1 First string to compare.
    467466 * @param s2 Second string to compare.
    468467 *
    469  * @return 0 if the strings are equal, -1 if the first is less than the second,
    470  *         1 if the second is less than the first.
     468 * @return 0 if the strings are equal, -1 if first is smaller,
     469 *         1 if second smaller.
    471470 *
    472471 */
     
    504503 * up to max_len characters.
    505504 *
    506  * A string S1 is less than another string S2 if it has a character with
    507  * lower value at the first character position where the strings differ.
    508  * If the strings differ in length, the shorter one is treated as if
    509  * padded by characters with a value of zero. Only the first max_len
    510  * characters are considered.
     505 * A string is smaller than another string iff it is shorter or
     506 * has a character with lower value at the first position where
     507 * the strings differ, considering only first max_len characters.
    511508 *
    512509 * @param s1      First string to compare.
     
    514511 * @param max_len Maximum number of characters to consider.
    515512 *
    516  * @return 0 if the strings are equal, -1 if the first is less than the second,
    517  *         1 if the second is less than the first.
     513 * @return 0 if the strings are equal, -1 if first is smaller,
     514 *         1 if second smaller.
    518515 *
    519516 */
  • TabularUnified release/Makefile

    r542e819 rbd29f9c9  
    3333
    3434PROFILES = amd64 arm32/GXemul arm32/integratorcp arm32/gta02 ia32 \
    35     ia64/i460GX ia64/ski mips32/GXemul mips32/msim ppc32 \
     35    ia64/i460GX ia64/ski mips32/GXemul mips32/msim sparc64/niagara \
    3636    sparc64/ultra
    3737
     
    7171release: src_rel
    7272        for profile in $(PROFILES); do \
    73                 $(MAKE) -C $(EXPORT_DIR) distclean ; \
     73                $(MAKE) -C $(EXPORT_DIR) clean ; \
    7474                $(MAKE) -C $(EXPORT_DIR) PROFILE=$$profile ; \
    7575                $(MAKE) PROFILE=$$profile releasefile ; \
     
    7979        rm -rf $(EXPORT_DIR)
    8080        mkdir -p $(EXPORT_DIR)
    81         $(BZR) export $(EXPORT_DIR) ../
     81        $(BZR) export $(EXPORT_DIR)
    8282
    8383src_rel $(SRC_ARCHIVE): export
  • TabularUnified uspace/lib/c/arch/abs32le/_link.ld.in

    r542e819 rbd29f9c9  
    2222        . = 0x1000 + SIZEOF_HEADERS;
    2323#endif
    24        
    25         /* Make sure the code is aligned reasonably */
    26         . = ALIGN(., 16);
    2724       
    2825        .text : {
  • TabularUnified uspace/lib/c/arch/amd64/_link.ld.in

    r542e819 rbd29f9c9  
    2323        . = 0x1000 + SIZEOF_HEADERS;
    2424#endif
    25        
    26         /* Make sure the code is aligned reasonably */
    27         . = ALIGN(., 16);
    2825       
    2926        .init : {
  • TabularUnified uspace/lib/c/arch/amd64/include/elf_linux.h

    r542e819 rbd29f9c9  
    6666        uint64_t rsp;
    6767        uint64_t ss;
    68 
    69         /*
    70          * The following registers need to be part of elf_regs_t.
    71          * Unfortunately, we don't have any information about them in our
    72          * istate_t.
    73          */
    74         uint64_t unused_fs_base;
    75         uint64_t unused_gs_base;
    76         uint64_t unused_ds;
    77         uint64_t unused_es;
    78         uint64_t unused_fs;
    79         uint64_t unused_gs;
    8068} elf_regs_t;
    8169
     
    10391        elf_regs->rsp = istate->rsp;
    10492        elf_regs->ss = istate->ss;
    105 
    106         /*
    107          * Reset the registers for which there is not enough info in istate_t.
    108          */
    109         elf_regs->unused_fs_base = 0;
    110         elf_regs->unused_gs_base = 0;
    111         elf_regs->unused_ds = 0;
    112         elf_regs->unused_es = 0;
    113         elf_regs->unused_fs = 0;
    114         elf_regs->unused_gs = 0;
    11593}
    11694
  • TabularUnified uspace/lib/c/arch/arm32/_link.ld.in

    r542e819 rbd29f9c9  
    2222        . = 0x1000 + SIZEOF_HEADERS;
    2323#endif
    24        
    25         /* Make sure the code is aligned reasonably */
    26         . = ALIGN(., 8);
    2724       
    2825        .init : {
  • TabularUnified uspace/lib/c/arch/arm32/src/fibril.S

    r542e819 rbd29f9c9  
    3535        stmia r0!, {sp, lr}
    3636        stmia r0!, {r4-r11}
    37        
     37
    3838        # return 1
    3939        mov r0, #1
     
    4343        ldmia r0!, {sp, lr}
    4444        ldmia r0!, {r4-r11}
    45        
    46         # return 0
     45
     46        #return 0
    4747        mov r0, #0
    4848        mov pc, lr
  • TabularUnified uspace/lib/c/arch/arm32/src/stacktrace_asm.S

    r542e819 rbd29f9c9  
    4141
    4242stacktrace_pc_get:
    43         mov r0, lr
     43        mov r0, lr 
    4444        mov pc, lr
  • TabularUnified uspace/lib/c/arch/arm32/src/thread_entry.s

    r542e819 rbd29f9c9  
    4242        push {fp, ip, lr, pc}
    4343        sub fp, ip, #4
    44        
    45         b __thread_main
     44
     45        b __thread_main
  • TabularUnified uspace/lib/c/arch/ia32/_link.ld.in

    r542e819 rbd29f9c9  
    3131#endif
    3232       
    33         /* Make sure the code is aligned reasonably */
    34         . = ALIGN(., 16);
    35        
    3633        .init : {
    3734                *(.init);
     
    4239                *(.rodata .rodata.*);
    4340        } :text
    44        
     41
    4542#if defined(SHLIB) || defined(DLEXE)
    4643        .rel.plt : {
     
    8582#if defined(SHLIB) || defined(DLEXE)
    8683        .data.rel : {
    87                 *(.data.rel .data.rel.*);
     84                *(.data.rel .data.rel.*);
    8885        } :data
    89        
     86
    9087        .got : {
    91                 *(.got);
     88                *(.got);
    9289        } :data
    93        
    9490        .got.plt : {
    95                 *(.got.plt);
     91                *(.got.plt);
    9692        } :data
    9793#endif
  • TabularUnified uspace/lib/c/arch/ia64/_link.ld.in

    r542e819 rbd29f9c9  
    2323#endif
    2424       
    25         /* Make sure the code is aligned reasonably */
     25        /*
     26         * XXX This is just a work around. Problem: .init section does not
     27         * have the proper alignment.
     28         */
    2629        . = ALIGN(., 16);
    2730       
  • TabularUnified uspace/lib/c/arch/mips32/Makefile.common

    r542e819 rbd29f9c9  
    2727#
    2828
    29 GCC_CFLAGS += -msoft-float -mips3 -mabi=32
     29GCC_CFLAGS += -mips3 -mabi=32
    3030
    3131ENDIANESS = LE
  • TabularUnified uspace/lib/c/arch/mips32/_link.ld.in

    r542e819 rbd29f9c9  
    2222        . = 0x4000 + SIZEOF_HEADERS;
    2323#endif
    24        
    25         /* Make sure the code is aligned reasonably */
    26         . = ALIGN(., 16);
    2724       
    2825        .init : {
  • TabularUnified uspace/lib/c/arch/mips32eb/Makefile.common

    r542e819 rbd29f9c9  
    2727#
    2828
    29 GCC_CFLAGS += -msoft-float -mips3 -mabi=32
     29GCC_CFLAGS += -mips3 -mabi=32
    3030
    3131ENDIANESS = BE
  • TabularUnified uspace/lib/c/arch/mips64/Makefile.common

    r542e819 rbd29f9c9  
    2727#
    2828
    29 GCC_CFLAGS += -msoft-float -mips3 -mabi=64
     29GCC_CFLAGS += -mips3 -mabi=64
    3030AFLAGS = -64
    3131
  • TabularUnified uspace/lib/c/arch/mips64/_link.ld.in

    r542e819 rbd29f9c9  
    2323        . = 0x4000 + SIZEOF_HEADERS;
    2424#endif
    25        
    26         /* Make sure the code is aligned reasonably */
    27         . = ALIGN(., 16);
    2825       
    2926        .init : {
  • TabularUnified uspace/lib/c/arch/ppc32/_link.ld.in

    r542e819 rbd29f9c9  
    2323        . = 0x1000 + SIZEOF_HEADERS;
    2424#endif
    25        
    26         /* Make sure the code is aligned reasonably */
    27         . = ALIGN(., 4);
    2825       
    2926        .init : {
  • TabularUnified uspace/lib/c/arch/sparc64/_link.ld.in

    r542e819 rbd29f9c9  
    2222        . = 0x4000 + SIZEOF_HEADERS;
    2323#endif
    24        
    25         /* Make sure the code is aligned reasonably */
    26         . = ALIGN(., 16);
    2724       
    2825        .init : {
  • TabularUnified uspace/lib/c/generic/str.c

    r542e819 rbd29f9c9  
    431431 * and both strings consist of the same sequence of characters.
    432432 *
    433  * A string S1 is less than another string S2 if it has a character with
    434  * lower value at the first character position where the strings differ.
    435  * If the strings differ in length, the shorter one is treated as if
    436  * padded by characters with a value of zero.
     433 * A string is smaller than another string iff it is shorter or
     434 * has a character with lower value at the first position where
     435 * the strings differ.
    437436 *
    438437 * @param s1 First string to compare.
    439438 * @param s2 Second string to compare.
    440439 *
    441  * @return 0 if the strings are equal, -1 if the first is less than the second,
    442  *         1 if the second is less than the first.
     440 * @return 0 if the strings are equal, -1 if first is smaller,
     441 *         1 if second smaller.
    443442 *
    444443 */
     
    476475 * up to max_len characters.
    477476 *
    478  * A string S1 is less than another string S2 if it has a character with
    479  * lower value at the first character position where the strings differ.
    480  * If the strings differ in length, the shorter one is treated as if
    481  * padded by characters with a value of zero. Only the first max_len
    482  * characters are considered.
     477 * A string is smaller than another string iff it is shorter or
     478 * has a character with lower value at the first position where
     479 * the strings differ, considering only first max_len characters.
    483480 *
    484481 * @param s1      First string to compare.
     
    486483 * @param max_len Maximum number of characters to consider.
    487484 *
    488  * @return 0 if the strings are equal, -1 if the first is less than the second,
    489  *         1 if the second is less than the first.
     485 * @return 0 if the strings are equal, -1 if first is smaller,
     486 *         1 if second smaller.
    490487 *
    491488 */
  • TabularUnified uspace/srv/net/tcp/sock.c

    r542e819 rbd29f9c9  
    779779        }
    780780
    781         /* Grab recv_buffer_lock because of CV wait in tcp_sock_recv_fibril() */
    782         fibril_mutex_lock(&socket->recv_buffer_lock);
    783         socket->sock_core = NULL;
    784         fibril_mutex_unlock(&socket->recv_buffer_lock);
    785 
    786781        rc = socket_destroy(NULL, socket_id, &client->sockets, &gsock,
    787782            tcp_free_sock_data);
     
    844839        log_msg(LVL_DEBUG, "tcp_sock_recv_fibril()");
    845840
    846         fibril_mutex_lock(&sock->recv_buffer_lock);
    847 
    848841        while (true) {
    849842                log_msg(LVL_DEBUG, "call tcp_uc_receive()");
    850                 while (sock->recv_buffer_used != 0 && sock->sock_core != NULL)
     843                fibril_mutex_lock(&sock->recv_buffer_lock);
     844                while (sock->recv_buffer_used != 0)
    851845                        fibril_condvar_wait(&sock->recv_buffer_cv,
    852846                            &sock->recv_buffer_lock);
     
    858852                        sock->recv_error = trc;
    859853                        fibril_condvar_broadcast(&sock->recv_buffer_cv);
    860                         if (sock->sock_core != NULL)
    861                                 tcp_sock_notify_data(sock->sock_core);
     854                        fibril_mutex_unlock(&sock->recv_buffer_lock);
     855                        tcp_sock_notify_data(sock->sock_core);
    862856                        break;
    863857                }
     
    867861                sock->recv_buffer_used = data_len;
    868862                fibril_condvar_broadcast(&sock->recv_buffer_cv);
    869                 if (sock->sock_core != NULL)
    870                         tcp_sock_notify_data(sock->sock_core);
    871         }
    872 
    873         fibril_mutex_unlock(&sock->recv_buffer_lock);
     863                fibril_mutex_unlock(&sock->recv_buffer_lock);
     864                tcp_sock_notify_data(sock->sock_core);
     865        }
    874866
    875867        tcp_uc_delete(sock->conn);
  • TabularUnified version

    r542e819 rbd29f9c9  
    3636
    3737VERSION = 0
    38 PATCHLEVEL = 5
    39 SUBLEVEL = 0
     38PATCHLEVEL = 4
     39SUBLEVEL = 3
    4040
    4141ifdef EXTRAVERSION
     
    4545endif
    4646
    47 NAME = Fajtl
     47NAME = Sashimi
    4848COPYRIGHT = Copyright (c) 2001-2012 HelenOS project
Note: See TracChangeset for help on using the changeset viewer.