X-Git-Url: http://gitweb.hugovil.com/?a=blobdiff_plain;f=src%2Fmemory.c;h=23885ce0f38e53eae8f775cfa0f462f015926497;hb=6a65dca9d597772744524b909f2d89b479b8bf77;hp=6c854c2e0e63a9d067ea4ffe644860e7fd27a4e0;hpb=4c305c73f8110d03b99cec045b3c5741867fd46b;p=emu8051.git diff --git a/src/memory.c b/src/memory.c index 6c854c2..23885ce 100644 --- a/src/memory.c +++ b/src/memory.c @@ -1,5 +1,23 @@ -/* memory.c */ - +/* + * memory.c + * + * Copyright (C) 1999 Jonathan St-André + * Copyright (C) 1999 Hugo Villeneuve + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. + */ #include "memory.h" @@ -10,10 +28,10 @@ #define EXT_MEM_SIZE 65536 -u_int8_t sfr_mem[SFR_MEM_SIZE]; -u_int8_t pgm_mem[PGM_MEM_SIZE]; -u_int8_t int_mem[INT_MEM_SIZE]; -u_int8_t ext_mem[EXT_MEM_SIZE]; +static u_int8_t sfr_mem[SFR_MEM_SIZE]; +static u_int8_t pgm_mem[PGM_MEM_SIZE]; +static u_int8_t int_mem[INT_MEM_SIZE]; +static u_int8_t ext_mem[EXT_MEM_SIZE]; void