Ignore:
Timestamp:
2014-09-12T13:22:33Z (10 years ago)
Author:
Vojtech Horky <vojtechhorky@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
9b20126
Parents:
8db09e4 (diff), 105d8d6 (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:

Merge mainline changes

File:
1 moved

Legend:

Unmodified
Added
Removed
  • uspace/lib/c/arch/ia32/include/libarch/fibril_context.ag

    r8db09e4 r15d0046  
    1 #
    2 # Copyright (c) 2011 Jiri Zarevucky
     1# Copyright (c) 2014 Jakub Jermar
    32# All rights reserved.
    43#
     
    2726#
    2827
    29 USPACE_PREFIX = ../../../../..
    30 MIPDIR = ../../../mip
    31 MDIR = ../../../arch/$(PLATFORM)
    32 OSDIR = ../../../os/helenos
    33 EXTRA_CFLAGS = -I$(MIPDIR) -I$(MDIR) -I$(OSDIR) -I. -w
    34 DEFS = -DGCC_COMPAT -DPCC_DEBUG -DMKEXT -Dmach_$(PLATFORM) -D__helenos__
    35 BINARY = cc_mkext
     28{
     29        name : context,
    3630
    37 POSIX_COMPAT = y
     31        includes : [
     32                {
     33                        include : <sys/types.h>
     34                }
     35        ],
    3836
    39 PRE_DEPEND = mkext.c table.c common.c
    40 EXTRA_CLEAN = mkext.c table.c common.c
     37        members : [
     38                #
     39                # We include only registers that must be preserved
     40                # during function call.
     41                #
    4142
    42 # FIXME: external.{c,h} must be generated for each target system
     43                {
     44                        name : sp,
     45                        type : uint32_t
     46                },
     47                {
     48                        name : pc,
     49                        type : uint32_t
     50                },
    4351
    44 SOURCES = \
    45         mkext.c \
    46         table.c \
    47         common.c
     52                {
     53                        name : ebx,
     54                        type : uint32_t
     55                },
     56                {
     57                        name : esi,
     58                        type : uint32_t
     59                },
     60                {
     61                        name : edi,
     62                        type : uint32_t
     63                },
     64                {
     65                        name : ebp,
     66                        type : uint32_t
     67                },
    4868
    49 include $(USPACE_PREFIX)/Makefile.common
    50 
    51 mkext.c: $(MIPDIR)/mkext.c
    52         ln -s -f $^ $@
    53 
    54 table.c: $(MDIR)/table.c
    55         ln -s -f $^ $@
    56 
    57 common.c: $(MIPDIR)/common.c
    58         ln -s -f $^ $@
    59 
     69                {
     70                        name : tls,
     71                        type : uint32_t
     72                }
     73        ]
     74}
Note: See TracChangeset for help on using the changeset viewer.