source: trunk/src/kernel32/asmutil.h@ 9752

Last change on this file since 9752 was 8401, checked in by sandervl, 23 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
13extern "C" {
14#endif
15
16ULONG getEAX();
17ULONG getEBX();
18ULONG getESP();
19USHORT getSS();
20USHORT getDS();
21USHORT getCS();
22USHORT getSS();
23USHORT getES();
24USHORT getFS();
25USHORT getGS();
26
27void CDECL Mul32x32to64(PVOID result, DWORD op1, DWORD op2);
28void CDECL Sub64(LARGE_INTEGER *a, LARGE_INTEGER *b, LARGE_INTEGER *result);
29void 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.