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
4e7b8f4a
Commit
4e7b8f4a
authored
Dec 12, 2005
by
Eric Pouech
Committed by
Alexandre Julliard
Dec 12, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kernel32: Get rid of DOSMEM_AllocSelector.
parent
4b418d6f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
3 additions
and
23 deletions
+3
-23
dosmem.c
dlls/kernel/dosmem.c
+0
-16
kernel32.spec
dlls/kernel/kernel32.spec
+0
-5
kernel_private.h
dlls/kernel/kernel_private.h
+0
-1
int31.c
dlls/winedos/int31.c
+3
-1
No files found.
dlls/kernel/dosmem.c
View file @
4e7b8f4a
...
...
@@ -254,19 +254,3 @@ LPVOID DOSMEM_MapRealToLinear(DWORD x)
TRACE_
(
selector
)(
"(0x%08lx) returns %p.
\n
"
,
x
,
lin
);
return
lin
;
}
/***********************************************************************
* DOSMEM_AllocSelector
*
* Allocates a protected mode selector for a realmode segment.
*/
WORD
DOSMEM_AllocSelector
(
WORD
realsel
)
{
HMODULE16
hModule
=
GetModuleHandle16
(
"KERNEL"
);
WORD
sel
;
sel
=
GLOBAL_CreateBlock
(
GMEM_FIXED
,
DOSMEM_dosmem
+
realsel
*
16
,
DOSMEM_64KB
,
hModule
,
WINE_LDT_FLAGS_DATA
);
TRACE_
(
selector
)(
"(0x%04x) returns 0x%04x.
\n
"
,
realsel
,
sel
);
return
sel
;
}
dlls/kernel/kernel32.spec
View file @
4e7b8f4a
...
...
@@ -1255,8 +1255,3 @@
# Init code
@ cdecl __wine_kernel_init()
################################################################
# Wine dll separation hacks, these will go away, don't use them
#
@ cdecl DOSMEM_AllocSelector(long)
dlls/kernel/kernel_private.h
View file @
4e7b8f4a
...
...
@@ -110,7 +110,6 @@ extern WORD DOSMEM_BiosSysSeg;
/* dosmem.c */
extern
BOOL
DOSMEM_Init
(
void
);
extern
WORD
DOSMEM_AllocSelector
(
WORD
);
extern
LPVOID
DOSMEM_MapRealToLinear
(
DWORD
);
/* real-mode to linear */
extern
LPVOID
DOSMEM_MapDosToLinear
(
UINT
);
/* linear DOS to Wine */
extern
UINT
DOSMEM_MapLinearToDos
(
LPVOID
);
/* linear Wine to DOS */
...
...
dlls/winedos/int31.c
View file @
4e7b8f4a
...
...
@@ -913,7 +913,9 @@ void WINAPI DOSVM_Int31Handler( CONTEXT86 *context )
case
0xe000
:
entryPoint
=
190
;
break
;
/* __E000H */
case
0xf000
:
entryPoint
=
194
;
break
;
/* __F000H */
default
:
SET_AX
(
context
,
DOSMEM_AllocSelector
(
BX_reg
(
context
))
);
FIXME
(
"Real mode segment (%x) to descriptor: no longer supported
\n
"
,
BX_reg
(
context
));
SET_CFLAG
(
context
);
break
;
}
if
(
entryPoint
)
...
...
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