From owner-freebsd-ia64@FreeBSD.ORG Fri Apr 25 17:25:10 2014 Return-Path: Delivered-To: ia64@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 58C3FC63 for ; Fri, 25 Apr 2014 17:25:10 +0000 (UTC) Received: from mail-ee0-x229.google.com (mail-ee0-x229.google.com [IPv6:2a00:1450:4013:c00::229]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id E7B161E77 for ; Fri, 25 Apr 2014 17:25:09 +0000 (UTC) Received: by mail-ee0-f41.google.com with SMTP id t10so3041879eei.0 for ; Fri, 25 Apr 2014 10:25:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding; bh=CMbI+TaK5FsJwfZvUOErlANkniAo7NaISCo3PlEoI5s=; b=qzargmskAk5m8q29ElHSmXnYUclAoZH2NHKBDseNWF40X1HLRsp4d8btPvVo6yCM7u b8gQJaTf0hNDrJ7A4noO4dYKLtSJ/riKAnMnAMZbJ2B/Ly2AIHwULvIBhiprufpaNB3i aOfhNqaRLpd8dhdasdpg7LbEDnHuvdPF04fXyR9k9X9ZG8OGw00CZzP8sRxZ57e/8kMe /3gmP3mRQ2By02ylv2A3XH5XGSCp3bnBfHjXBgAIvzxN2je6ZgzVJpiWRoTL9oQOZzQ6 41EVA9vcbDQAN6HvQb37Cj1LFDkUlUMIUXL3bdHmH6sTgNF7iggact69IOBKfgDHDxHb dBrw== X-Received: by 10.15.36.6 with SMTP id h6mr5917639eev.54.1398446708258; Fri, 25 Apr 2014 10:25:08 -0700 (PDT) Received: from [172.16.0.2] (tx97.net. [85.198.160.156]) by mx.google.com with ESMTPSA id x45sm26382744eeu.23.2014.04.25.10.25.07 for (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Fri, 25 Apr 2014 10:25:07 -0700 (PDT) Message-ID: <535A99FE.4030905@gmail.com> Date: Fri, 25 Apr 2014 20:23:10 +0300 From: Vitaly Magerya User-Agent: Thunderbird MIME-Version: 1.0 To: ia64@freebsd.org Subject: What's the process memory layout on FreeBSD/ia64? Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-ia64@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the IA-64 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Apr 2014 17:25:10 -0000 Hi, folks. I want to port devel/boehm-gc to ia64, and for this I need to know the layout of process memory on ia64. Hope you can help me with this. In short, devel/boehm-gc is a conservative garbage collector; to trace garbage it needs to know all the possible addresses where pointers can be located, which are: data segment, stack, and the backing store. Now, on other FreeBSD architectures the position of the data segment are taken from 'etext', 'edata' and 'end' addresses. The position of the stack is taken from 'kern.usrstack' sysctl. Where should one get the position of the backing store on ia64 though?