Changeset 21797 for branches/gcc-kmk/src


Ignore:
Timestamp:
Nov 10, 2011, 8:33:23 PM (14 years ago)
Author:
dmik
Message:

Place shared segment to separate group to avoid combining.

If the segment combined with other segments, Watcom Linker will ignore
the shared attribute for it.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/gcc-kmk/src/kernel32/globaldata.asm

    r21796 r21797  
    88                NAME    globaldata
    99
    10 PAGE_SIZE               = 4096
    11 MAX_HEAPSIZE            = (2048*1024)
    12 MAX_HEAPPAGES           = (MAX_HEAPSIZE/PAGE_SIZE)
     10SHARED_DGROUP   GROUP SHARED_DATA
    1311
    1412_GLOBALDATA     SEGMENT DWORD PUBLIC USE32 'DATA'
     
    3028                PUBLIC _pageBitmap
    3129                PUBLIC _refCount
     30
     31PAGE_SIZE               = 4096
     32MAX_HEAPSIZE            = (2048*1024)
     33MAX_HEAPPAGES           = (MAX_HEAPSIZE/PAGE_SIZE)
    3234
    3335; extern Heap_t  sharedHeap; // = 0
Note: See TracChangeset for help on using the changeset viewer.