mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
QEMU i486 port is code complete
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3342 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
@@ -62,19 +62,25 @@
|
||||
#define REG_EDI (1) /* Saved by pusha */
|
||||
#define REG_ESI (2) /* " " "" " " */
|
||||
#define REG_EBP (3) /* " " "" " " */
|
||||
#define REG_ESP (4) /* " " "" " " */
|
||||
#define REG_ESP (4) /* " " "" " " (NOTE 1)*/
|
||||
#define REG_EBX (5) /* " " "" " " */
|
||||
#define REG_EDX (6) /* " " "" " " */
|
||||
#define REG_ECX (7) /* " " "" " " */
|
||||
#define REG_EAX (8) /* " " "" " " */
|
||||
#define REG_IRQNO (9) /* Interrupt number */
|
||||
#define REG_ERRCODE (10) /* Error code */
|
||||
#define REG_IRQNO (9) /* Interrupt number (NOTE 2) */
|
||||
#define REG_ERRCODE (10) /* Error code (NOTE 2) */
|
||||
#define REG_EIP (11) /* Pushed by process on interrupt processing */
|
||||
#define REG_CS (12) /* " " "" " " "" " " " " */
|
||||
#define REG_EFLAGS (13) /* " " "" " " "" " " " " */
|
||||
#define REG_SP (14) /* " " "" " " "" " " " " */
|
||||
#define REG_SS (15) /* " " "" " " "" " " " " */
|
||||
|
||||
/* NOTE 1: Two versions of the ESP are saved: One from the interrupt
|
||||
* processing and one from pusha. Only the interrupt ESP (REG_SP) is used.
|
||||
* NOTE 2: This is not really state data. Rather, this is just a convenient
|
||||
* way to pass parameters from the interrupt handler to C cod.
|
||||
*/
|
||||
|
||||
#define XCPTCONTEXT_REGS (16)
|
||||
#define XCPTCONTEXT_SIZE (4 * XCPTCONTEXT_REGS)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user