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

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

Heapchanges: Heap is splitted into a swappable and a resident. The heaps
are dynamically growable.

File size: 980 bytes
Line 
1/* $Id: asmutils.h,v 1.4 2000-01-24 18:18:59 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#if 0
28 //extern void _System Int3(void);
29 extern int _System Int3(void);
30#else
31 #include <builtin.h>
32 #define Int3() __interrupt(3)
33#endif
34
35//Negative offsets don't work yet?
36extern void __stdcall memmov(void *p, signed int off, unsigned int len);
37
38#ifdef __cplusplus
39}
40#endif
41#endif
42
Note: See TracBrowser for help on using the repository browser.