genode/repos/ports/src/lib/gdbserver_platform/i386.h

38 lines
707 B
C
Raw Normal View History

2011-12-22 16:19:25 +01:00
/*
* \brief Genode backend for GDB server (x86_32-specific code)
* \author Christian Prochaska
* \date 2011-07-07
*/
/*
2013-01-10 21:44:47 +01:00
* Copyright (C) 2011-2013 Genode Labs GmbH
2011-12-22 16:19:25 +01:00
*
* This file is part of the Genode OS framework, which is distributed
* under the terms of the GNU General Public License version 2.
*/
#ifndef I386_LINUX_H
#define I386_LINUX_H
/* indices from 'regs_i386' array in i386.c */
enum reg_index {
EAX = 0,
ECX = 1,
EDX = 2,
EBX = 3,
UESP = 4,
EBP = 5,
ESI = 6,
EDI = 7,
EIP = 8,
EFL = 9,
CS = 10,
SS = 11,
DS = 12,
ES = 13,
FS = 14,
GS = 15,
};
#endif /* I386_LINUX_H */