source: trunk/src/win32k/include/asmutils.h@ 847

Last change on this file since 847 was 847, checked in by bird, 26 years ago

Initial checkin of Win32k. (not tested & pe2lx not up-to-date!)

File size: 898 bytes
Line 
1/* $Id: asmutils.h,v 1.1 1999-09-06 02:19:57 bird Exp $
2 *
3 * Assembly utilities.
4 *
5 * Copyright (c) 1998-1999 knut st. osmundsen
6 *
7 */
8#ifndef _asmutils_h_
9#define _asmutils_h_
10
11#ifdef __cplusplus
12extern "C" {
13#endif
14
15extern unsigned short _System GetCS(void);
16extern unsigned short _System GetDS(void);
17extern unsigned short _System GetES(void);
18extern unsigned short _System GetFS(void);
19extern unsigned short _System GetGS(void);
20extern unsigned short _System GetSS(void);
21
22extern void _System DisableInterrupts(void); /* uniprocessor only */
23extern void _System EnableInterrupts(void); /* uniprocessor only */
24
25//extern void _System Int3(void);
26extern int _System Int3(void);
27
28//Negative offsets don't work yet?
29extern void __stdcall memmov(void *p, signed int off, unsigned int len);
30
31#ifdef _OS2Krnl_h_
32extern PMTE _System GetOS2KrnlMTE(void);
33#endif
34
35#ifdef __cplusplus
36}
37#endif
38#endif
39
Note: See TracBrowser for help on using the repository browser.