Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
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-winehq
Commits
64295971
Commit
64295971
authored
Dec 26, 2001
by
Andreas Mohr
Committed by
Alexandre Julliard
Dec 26, 2001
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Got rid of WINE_PACKED.
parent
b4c60f25
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
48 additions
and
43 deletions
+48
-43
msdos.h
include/msdos.h
+48
-43
No files found.
include/msdos.h
View file @
64295971
...
@@ -3,6 +3,8 @@
...
@@ -3,6 +3,8 @@
#include "winnt.h"
#include "winnt.h"
#include "pshpack1.h"
struct
fcb
{
struct
fcb
{
BYTE
drive
;
BYTE
drive
;
char
name
[
8
];
char
name
[
8
];
...
@@ -18,17 +20,17 @@ struct fcb {
...
@@ -18,17 +20,17 @@ struct fcb {
/* DTA layout for FindFirst/FindNext */
/* DTA layout for FindFirst/FindNext */
typedef
struct
typedef
struct
{
{
BYTE
drive
;
/* 00 drive letter */
BYTE
drive
;
/* 00 drive letter */
char
mask
[
11
];
/* 01 search template */
char
mask
[
11
];
/* 01 search template */
BYTE
search_attr
;
/* 0c search attributes */
BYTE
search_attr
;
/* 0c search attributes */
WORD
count
WINE_PACKED
;
/* 0d entry count within directory */
WORD
count
;
/* 0d entry count within directory */
WORD
cluster
WINE_PACKED
;
/* 0f cluster of parent directory */
WORD
cluster
;
/* 0f cluster of parent directory */
char
*
unixPath
WINE_PACKED
;
/* 11 unix path (was: reserved) */
char
*
unixPath
;
/* 11 unix path (was: reserved) */
BYTE
fileattr
;
/* 15 file attributes */
BYTE
fileattr
;
/* 15 file attributes */
WORD
filetime
;
/* 16 file time */
WORD
filetime
;
/* 16 file time */
WORD
filedate
;
/* 18 file date */
WORD
filedate
;
/* 18 file date */
DWORD
filesize
WINE_PACKED
;
/* 1a file size */
DWORD
filesize
;
/* 1a file size */
char
filename
[
13
];
/* 1e file name + extension */
char
filename
[
13
];
/* 1e file name + extension */
}
FINDFILE_DTA
;
}
FINDFILE_DTA
;
/* FCB layout for FindFirstFCB/FindNextFCB */
/* FCB layout for FindFirstFCB/FindNextFCB */
...
@@ -61,42 +63,45 @@ typedef struct
...
@@ -61,42 +63,45 @@ typedef struct
char
name
[
8
];
char
name
[
8
];
}
DOS_DEVICE_HEADER
;
}
DOS_DEVICE_HEADER
;
/* Warning: need to return LOL ptr w/ offset 0 (&ptr_first_DPB) to programs ! */
typedef
struct
_DOS_LISTOFLISTS
typedef
struct
_DOS_LISTOFLISTS
{
{
WORD
CX_Int21_5e01
;
/* contents of CX from INT 21/AX=5E01h */
WORD
CX_Int21_5e01
;
/*
-24d
contents of CX from INT 21/AX=5E01h */
WORD
LRU_count_FCB_cache
;
WORD
LRU_count_FCB_cache
;
/* -22d */
WORD
LRU_count_FCB_open
;
WORD
LRU_count_FCB_open
;
/* -20d */
DWORD
OEM_func_handler
WINE_PACKED
;
/*
OEM function of INT 21/AH=F8h */
DWORD
OEM_func_handler
;
/* -18d
OEM function of INT 21/AH=F8h */
WORD
INT21_offset
;
/*
offset in DOS CS of code to return from INT 21 call */
WORD
INT21_offset
;
/* -14d
offset in DOS CS of code to return from INT 21 call */
WORD
sharing_retry_count
;
WORD
sharing_retry_count
;
/* -12d */
WORD
sharing_retry_delay
;
WORD
sharing_retry_delay
;
/* -10d */
DWORD
ptr_disk_buf
;
/* ptr to current disk buf */
DWORD
ptr_disk_buf
;
/*
-8d
ptr to current disk buf */
WORD
offs_unread_CON
;
/* pointer in DOS data segment of unread CON input */
WORD
offs_unread_CON
;
/*
-4d
pointer in DOS data segment of unread CON input */
WORD
seg_first_MCB
;
WORD
seg_first_MCB
;
/* -2d */
DWORD
ptr_first_DPB
;
DWORD
ptr_first_DPB
;
/* 00 */
DWORD
ptr_first_SysFileTable
;
DWORD
ptr_first_SysFileTable
;
/* 04 */
DWORD
ptr_clock_dev_hdr
;
DWORD
ptr_clock_dev_hdr
;
/* 08 */
DWORD
ptr_CON_dev_hdr
;
DWORD
ptr_CON_dev_hdr
;
/* 0C */
WORD
max_byte_per_sec
;
/*
maximum bytes per sector of any block device */
WORD
max_byte_per_sec
;
/* 10
maximum bytes per sector of any block device */
DWORD
ptr_disk_buf_info
WINE_PACKED
;
DWORD
ptr_disk_buf_info
;
/* 12 */
DWORD
ptr_array_CDS
WINE_PACKED
;
/*
current directory structure */
DWORD
ptr_array_CDS
;
/* 16
current directory structure */
DWORD
ptr_sys_FCB
WINE_PACKED
;
DWORD
ptr_sys_FCB
;
/* 1A */
WORD
nr_protect_FCB
;
WORD
nr_protect_FCB
;
/* 1E */
BYTE
nr_block_dev
;
BYTE
nr_block_dev
;
/* 20 */
BYTE
nr_avail_drive_letters
;
BYTE
nr_avail_drive_letters
;
/* 21 */
DOS_DEVICE_HEADER
NUL_dev
WINE_PACKED
;
DOS_DEVICE_HEADER
NUL_dev
;
/* 22 */
BYTE
nr_drives_JOINed
;
BYTE
nr_drives_JOINed
;
/* 34 */
WORD
ptr_spec_prg_names
WINE_PACKED
;
WORD
ptr_spec_prg_names
;
/* 35 */
DWORD
ptr_SETVER_prg_list
WINE_PACKED
;
DWORD
ptr_SETVER_prg_list
;
/* 37 */
WORD
DOS_HIGH_A20_func_offs
WINE_PACKED
;
WORD
DOS_HIGH_A20_func_offs
;
/* 3B */
WORD
PSP_last_exec
WINE_PACKED
;
/*
if DOS in HMA: PSP of program executed last; if DOS low: 0000h */
WORD
PSP_last_exec
;
/* 3D
if DOS in HMA: PSP of program executed last; if DOS low: 0000h */
WORD
BUFFERS_val
WINE_PACKED
;
WORD
BUFFERS_val
;
/* 3F */
WORD
BUFFERS_nr_lookahead
WINE_PACKED
;
WORD
BUFFERS_nr_lookahead
;
/* 41 */
BYTE
boot_drive
WINE_PACKED
;
BYTE
boot_drive
;
/* 43 */
BYTE
flag_DWORD_moves
WINE_PACKED
;
/*
01h for 386+, 00h otherwise */
BYTE
flag_DWORD_moves
;
/* 44
01h for 386+, 00h otherwise */
WORD
size_extended_mem
WINE_PACKED
;
/*
size of extended mem in KB */
WORD
size_extended_mem
;
/* 45
size of extended mem in KB */
}
DOS_LISTOFLISTS
;
}
DOS_LISTOFLISTS
;
#include "poppack.h"
#define MAX_DOS_DRIVES 26
#define MAX_DOS_DRIVES 26
#define setword(a,b) do { *(BYTE*)(a) = (b) & 0xff; \
#define setword(a,b) do { *(BYTE*)(a) = (b) & 0xff; \
...
...
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