3 ;;; Mes --- Maxwell Equations of Software
4 ;;; Copyright © 2016,2017 Jan Nieuwenhuizen <janneke@gnu.org>
6 ;;; This file is part of Mes.
8 ;;; Mes is free software; you can redistribute it and/or modify it
9 ;;; under the terms of the GNU General Public License as published by
10 ;;; the Free Software Foundation; either version 3 of the License, or (at
11 ;;; your option) any later version.
13 ;;; Mes is distributed in the hope that it will be useful, but
14 ;;; WITHOUT ANY WARRANTY; without even the implied warranty of
15 ;;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 ;;; GNU General Public License for more details.
18 ;;; You should have received a copy of the GNU General Public License
19 ;;; along with Mes. If not, see <http://www.gnu.org/licenses/>.
23 ;;; libc-i386.mes defines C library routines
27 (define-module (mes libc-i386)
28 #:use-module (srfi srfi-1)
29 #:use-module (mes elf)
34 i386:accu->base-address
35 i386:accu->base-address+n
37 i386:accu->global-address
50 i386:base->accu-address
51 i386:byte-accu->base-address
56 i386:byte-base->accu-address
57 i386:byte-base->accu-address+n
58 i386:byte-base-mem->accu
59 i386:local-address->accu
70 i386:function-preamble
74 i386:global-address->accu
75 i386:global-address->base
90 i386:local-address->accu
93 i386:local-address->base
102 i386:push-global-address
104 i386:push-local-de-ref
105 i386:push-local-address
112 i386:value->accu-address
113 i386:value->accu-address+n
140 (use-modules (ice-9 syncase)))
143 (include-from-path "mes/libc-i386.mes")