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

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

Some bugsfixes - Yield is disabled.
Added parameters.
Correcte moduleheaders.
Introduced a new base class for virtual lx modules + some elf sketches.

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