guile-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 6/6] add (find-mapped-elf-image) procedure to (system vm objc


From: Ludovic Courtès
Subject: Re: [PATCH 6/6] add (find-mapped-elf-image) procedure to (system vm objcode) module
Date: Wed, 22 May 2013 23:09:35 +0200
User-agent: Gnus/5.130007 (Ma Gnus v0.7) Emacs/24.3 (gnu/linux)

Andy Wingo <address@hidden> skribis:

> * libguile/objcodes.c (register_elf, scm_find_mapped_elf_image): New
>   interfaces that keep a list of all ELF mappings.  Exported from the
>   (system vm objcode) module.
>
> * module/system/vm/objcode.scm: Export find-mapped-elf-image.

OK.

> +static SCM
> +scm_find_mapped_elf_image (SCM ip)
> +{
> +  char *ptr = (char *) scm_to_unsigned_integer (ip, 0, SCM_T_UINTPTR_MAX);

scm_to_uintptr, which we should move from foreign.c to a public header.

Ludo’.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]