|
Last change
on this file since 8642 was 8401, checked in by sandervl, 24 years ago |
|
hard disk access updates & fixes
|
|
File size:
729 bytes
|
| Line | |
|---|
| 1 | /* $Id: asmutil.h,v 1.1 2002-05-10 14:55:10 sandervl Exp $ */
|
|---|
| 2 |
|
|---|
| 3 | /*
|
|---|
| 4 | * Misc assembly functions for OS/2
|
|---|
| 5 | * Copyright 1998-2000 Sander van Leeuwen
|
|---|
| 6 | *
|
|---|
| 7 | * Project Odin Software License can be found in LICENSE.TXT
|
|---|
| 8 | */
|
|---|
| 9 | #ifndef __ASMUTIL_H__
|
|---|
| 10 | #define __ASMUTIL_H__
|
|---|
| 11 |
|
|---|
| 12 | #ifdef __cplusplus
|
|---|
| 13 | extern "C" {
|
|---|
| 14 | #endif
|
|---|
| 15 |
|
|---|
| 16 | ULONG getEAX();
|
|---|
| 17 | ULONG getEBX();
|
|---|
| 18 | ULONG getESP();
|
|---|
| 19 | USHORT getSS();
|
|---|
| 20 | USHORT getDS();
|
|---|
| 21 | USHORT getCS();
|
|---|
| 22 | USHORT getSS();
|
|---|
| 23 | USHORT getES();
|
|---|
| 24 | USHORT getFS();
|
|---|
| 25 | USHORT getGS();
|
|---|
| 26 |
|
|---|
| 27 | void CDECL Mul32x32to64(PVOID result, DWORD op1, DWORD op2);
|
|---|
| 28 | void CDECL Sub64(LARGE_INTEGER *a, LARGE_INTEGER *b, LARGE_INTEGER *result);
|
|---|
| 29 | void CDECL Add64(LARGE_INTEGER *a, LARGE_INTEGER *b, LARGE_INTEGER *result);
|
|---|
| 30 |
|
|---|
| 31 | #ifdef __cplusplus
|
|---|
| 32 | }
|
|---|
| 33 | #endif
|
|---|
| 34 |
|
|---|
| 35 | #endif //__ASMUTIL_H__
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.