From owner-freebsd-hackers Sun Oct 22 12:14:34 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from whizkidtech.net (r29.bfm.org [216.127.220.125]) by hub.freebsd.org (Postfix) with ESMTP id C7C3437B479 for ; Sun, 22 Oct 2000 12:14:30 -0700 (PDT) Received: (from adam@localhost) by whizkidtech.net (8.9.2/8.9.2) id OAA00279 for hackers@FreeBSD.org; Sun, 22 Oct 2000 14:13:22 -0500 (CDT) (envelope-from adam) Date: Sun, 22 Oct 2000 14:12:41 -0500 From: "G. Adam Stanislav" To: hackers@FreeBSD.org Subject: Dynamic memory allocation from non-C code Message-ID: <20001022141241.A263@whizkidtech.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 1.0.1i Organization: Whiz Kid Technomagic X-URL: http://www.whizkidtech.net/ X-Castle: http://www.redprince.net/ X-Special-Effects: http://www.FilmSFX.com/ X-Operating-System: FreeBSD whizkidtech.net 3.1-RELEASE FreeBSD 3.1-RELEASE Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is probably a stupid question, but I have not been able to figure it out on my own: How do I dynamically allocate/free memory from programs that do not use the C library (e.g., assembly language programs)? I looked through syscalls.master but could not find anything resembling malloc in it. Is there a system call for this? Or do I have to just create a huge .data section and hope I made it large enough for all possible cases? Any help will be appreciated. Thanks, Adam -- A billion dollars in the bank, without the experience of carefreeness and charity, is a state of poverty. -- Deepak Chopra To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message