commit | 46000f5608a0ed1156463218f49d33044c4df843 | [log] [tgz] |
---|---|---|
author | Kevin O'Connor <kevin@koconnor.net> | Tue Oct 21 02:23:02 2014 -0400 |
committer | Kevin O'Connor <kevin@koconnor.net> | Mon Oct 27 10:56:54 2014 -0400 |
tree | 886d7bfe45bb2bccad9580c4b1e4f081f78f36a5 | |
parent | 283ae1f07949c463cbba0b8cd20f703a8c1389b6 [diff] |
Create assembler macros for saving and restoring 'struct bregs' Create macros SAVEBREGS_POP_DSEAX and RESTOREBREGS_DSEAX for saving and restoring the cpu state. These are similar to the existing PUSHBREGS and POPBREGS macros. This also fixes a bug in __farcall16 which inadvertently restored %ds in %es and vice-versa. Signed-off-by: Kevin O'Connor <kevin@koconnor.net>