/* Constants for accessing runtime registers. Copyright (C) 2011 Sergey Poznyakoff 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 3, 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, see . */ module '_register'. /* These constant must match exactly #defines in mfd/prog.c:316-321. * * See commits 637a6fe3 and ec58cdf5 for a proper way to define them. */ const REG_PC 0 const REG_TOS 1 const REG_TOH 2 const REG_BASE 3 const REG_REG 4 const REG_MATCHSTR 5