|
Last change
on this file since 1122 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
|
|---|
| 12 | extern "C" {
|
|---|
| 13 | #endif
|
|---|
| 14 |
|
|---|
| 15 | extern unsigned short _System GetCS(void);
|
|---|
| 16 | extern unsigned short _System GetDS(void);
|
|---|
| 17 | extern unsigned short _System GetES(void);
|
|---|
| 18 | extern unsigned short _System GetFS(void);
|
|---|
| 19 | extern unsigned short _System GetGS(void);
|
|---|
| 20 | extern unsigned short _System GetSS(void);
|
|---|
| 21 |
|
|---|
| 22 | extern void _System DisableInterrupts(void); /* uniprocessor only */
|
|---|
| 23 | extern void _System EnableInterrupts(void); /* uniprocessor only */
|
|---|
| 24 |
|
|---|
| 25 | //extern void _System Int3(void);
|
|---|
| 26 | extern int _System Int3(void);
|
|---|
| 27 |
|
|---|
| 28 | //Negative offsets don't work yet?
|
|---|
| 29 | extern void __stdcall memmov(void *p, signed int off, unsigned int len);
|
|---|
| 30 |
|
|---|
| 31 | #ifdef _OS2Krnl_h_
|
|---|
| 32 | extern 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.