Changeset 8e7c9fe in mainline for uspace/lib/c/arch/ia32/include/libarch/fibril_context.ag
- Timestamp:
- 2014-09-12T03:45:25Z (11 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- c53b58e
- Parents:
- 3eb0c85 (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. - File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/arch/ia32/include/libarch/fibril_context.ag
r3eb0c85 r8e7c9fe 1 # 2 # Copyright (c) 2011 Jiri Zarevucky 1 # Copyright (c) 2014 Jakub Jermar 3 2 # All rights reserved. 4 3 # … … 27 26 # 28 27 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, 36 30 37 POSIX_COMPAT = y 31 includes : [ 32 { 33 include : <sys/types.h> 34 } 35 ], 38 36 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 # 41 42 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 }, 43 51 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 }, 48 68 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.