| Last change
 on this file since 1581 was             1467, checked in by bird, 26 years ago | 
        
          | 
Corrections to make win32k work.(And now it does work, at least at my test machine...)
 
 | 
        
          | File size:
            830 bytes | 
      
      
| Line |  | 
|---|
| 1 | /* $Id: asmutils.h,v 1.2 1999-10-27 02:02:55 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 __cplusplus | 
|---|
| 32 | } | 
|---|
| 33 | #endif | 
|---|
| 34 | #endif | 
|---|
| 35 |  | 
|---|
       
      
  Note:
 See   
TracBrowser
 for help on using the repository browser.