Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-cw
Commits
bf5f693f
Commit
bf5f693f
authored
Oct 11, 1998
by
Ulrich Weigand
Committed by
Alexandre Julliard
Oct 11, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Implemented HEAP_WINE_CODE16SEG SEGPTR heaps with 16-bit code segments.
parent
85a7ff40
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
2 deletions
+4
-2
winnt.h
include/winnt.h
+1
-0
heap.c
memory/heap.c
+3
-2
No files found.
include/winnt.h
View file @
bf5f693f
...
...
@@ -24,6 +24,7 @@
#define HEAP_CREATE_ENABLE_TRACING 0x00020000
#define HEAP_WINE_SEGPTR 0x01000000
/* Not a Win32 flag */
#define HEAP_WINE_CODESEG 0x02000000
/* Not a Win32 flag */
#define HEAP_WINE_CODE16SEG 0x04000000
/* Not a Win32 flag */
/* Processor feature flags. */
#define PF_FLOATING_POINT_PRECISION_ERRATA 0
...
...
memory/heap.c
View file @
bf5f693f
...
...
@@ -453,8 +453,9 @@ static BOOL32 HEAP_InitSubHeap( HEAP *heap, LPVOID address, DWORD flags,
if
(
flags
&
HEAP_WINE_SEGPTR
)
{
selector
=
SELECTOR_AllocBlock
(
address
,
totalSize
,
(
flags
&
HEAP_WINE_CODESEG
)
?
SEGMENT_CODE
:
SEGMENT_DATA
,
(
flags
&
HEAP_WINE_CODESEG
)
!=
0
,
FALSE
);
(
flags
&
(
HEAP_WINE_CODESEG
|
HEAP_WINE_CODE16SEG
))
?
SEGMENT_CODE
:
SEGMENT_DATA
,
(
flags
&
HEAP_WINE_CODESEG
)
!=
0
,
FALSE
);
if
(
!
selector
)
{
WARN
(
heap
,
"Could not allocate selector
\n
"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment