The ROme OpTimistic Simulator  2.0.0
A General-Purpose Multithreaded Parallel/Distributed Simulation Platform
asm_defines.c File Reference

Assembly build support module. More...

Go to the source code of this file.

Detailed Description

Assembly build support module.

This file is not actually compiled into ROOT-Sim. This is used by the system to generate the asm_defines.h file in which several sizes offsets of structs are dynamically generated. In this way, the assembly which we generate does not have to carry hard-coded constants and nasty bugs are less likely to appear.

This file is not compiled in the runtime environment, but it is processed in order to generate the asm_defines.h one which is included by all assembly files.

This file is part of ROOT-Sim (ROme OpTimistic Simulator).

ROOT-Sim 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; only version 3 of the License applies.

ROOT-Sim 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 ROOT-Sim; if not, write to the Free Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA

Author
Alessandro Pellegrini

Definition in file asm_defines.c.