|
Last change
on this file since 9554 was 4164, checked in by bird, 25 years ago |
|
Merged in the Grace branch. New Win32k!
|
|
File size:
619 bytes
|
| Line | |
|---|
| 1 | /* $Id: devSegDf.h,v 1.2 2000-09-02 21:08:01 bird Exp $
|
|---|
| 2 | *
|
|---|
| 3 | * Segment stuff used in 16 and 32 bits C/C++.
|
|---|
| 4 | *
|
|---|
| 5 | * Copyright (c) 2000 knut st. osmundsen (knut.stange.osmundsen@mynd.no)
|
|---|
| 6 | *
|
|---|
| 7 | * Project Odin Software License can be found in LICENSE.TXT
|
|---|
| 8 | *
|
|---|
| 9 | */
|
|---|
| 10 |
|
|---|
| 11 |
|
|---|
| 12 | #ifndef _devSegDf_h
|
|---|
| 13 | #define _devSegDf_h
|
|---|
| 14 |
|
|---|
| 15 | #ifdef INCL_16
|
|---|
| 16 |
|
|---|
| 17 | /*
|
|---|
| 18 | * More segment stuff
|
|---|
| 19 | */
|
|---|
| 20 | #define DATA16_INIT _based(_segname("DATA16_INIT"))
|
|---|
| 21 | #define DATA16_GLOBAL _based(_segname("DATA16_GLOBAL"))
|
|---|
| 22 | #define DATA16 _based(_segname("DATA16"))
|
|---|
| 23 |
|
|---|
| 24 | #else
|
|---|
| 25 |
|
|---|
| 26 | /*
|
|---|
| 27 | * More segment stuff
|
|---|
| 28 | */
|
|---|
| 29 | #define DATA16_INIT
|
|---|
| 30 | #define DATA16_GLOBAL
|
|---|
| 31 | #define DATA16
|
|---|
| 32 |
|
|---|
| 33 | #endif
|
|---|
| 34 |
|
|---|
| 35 |
|
|---|
| 36 | #endif
|
|---|
| 37 |
|
|---|
| 38 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.