OS2.org Site Index - Feedback - Impressum
Sprachauswahl / Choose your Language News Software Hardware Projekte Forum Tipps Links Verschiedenes
Editorial Diskussion HelpDesk Umfrage
[Forum]
in nach (Erweiterte Suche)
[Forum]
( Archiv ) ( Neues Thema )
18.10.2000
Virtual Address Space Management (von: GA, 16:18:22) « ^ »
At initialization, each VDM has a linear address space of 4MB, because a single page table is assigned for each VDM. The page table itself is a single
4KB page, and can hold a maximum of 1024 page table entries. Each of these entries is a doubleword and points to a page with a size of 4KB, hence
the 4MB size of the initial address space. The size of the address space can be expanded beyond 4MB if required; for instance, an application
running in the VDM may request the allocation of a large amount of expanded memory, in which case the VDMM will allocate the memory as needed.

Note that when memory is allocated OS/2 V2.0 merely reserves a linear address range. The range is not backed by physical memory until the memory
is committed. Memory may not actually be committed until a later time, and it may be committed in portions. Allocation without commitment does not
use any physical memory and therefore does not waste resources.

A typical VDM address space map is shown in Figure "Typical VDM Address Space Map".

Each VDM task executes in the first megabyte of the linear address space, thereby allowing the physical addresses used within the DOS applications
to be mapped directly to the process address space of the VDM. DOS system areas such as the ROM BIOS area and the Interrupt Vector table, are
mapped from physical memory into the VDM's address space by the virtual device driver VBIOS.SYS.

Page 0 contains, for example, the ROM BIOS area, the Interrupt Vector table, and the DOS communication area. ROM areas used by hardware devices
are mapped by the virtual device drivers into the linear address space of the VDM. The same applies to other linear memory objects, such as EMS
objects and display memory.

A virtual device driver uses the VDHQueryFreePages() device helper service to find a region where no memory in the linear address space has been
allocated or mapped. If a free region is found, the VDHReservePages() service is used to reserve the memory region. Mapping cannot take place where
memory has already been allocated. On the other hand, memory may not be allocated where mappings already exist. The operating system's memory
manager takes care of this. Page faults are generated if a process attempts to access memory which has previously been invalidated because it was
unmapped, or if the page has been swapped out to disk.

The 64KB memory area above 1MB (also known as the high memory area) must be treated in a special way. This is described in further detail in A20
Line Service (64KB Wraparound) and in High Memory Area (HMA).


[ Leser: 101 ]

Datum Thema
07.01.2017 *

*

Name: * eMail: Benachrichtigung

Mit * markierte Felder müssen ausgefüllt werden !

( Zeige alle Einträge ) ( Zur Startübersicht )
Thema von: Leser Datum Zeit
 Technical Compendium v2.0: DOS and Windows Environmenmt(Vol. 2)
GA26918.10.200015:43
 C Programm zum Starten einer DOS-Session von OS/2
GA11518.10.200015:45
 C Source Code to Get the DOS Environment size (ENVIRONMENT.EXE)
GA10718.10.200015:48
 Basic Program zum Ausführen des INT 19h in einer OS/2 Umgebung
GA10418.10.200015:50
 Basic Programm zum Ausdrucken eines VDM Ciipborad Inhalts
GA10418.10.200015:52
 Basic Programm: Access the speaker system in a VDM Environment
GA10618.10.200015:55
 Veröffentlichungen, die zu diesem Thema gehören
GA10918.10.200016:00
 Überblick zu OS/2 V2.0
GA10718.10.200016:02
 Memory and Task Management
GA10318.10.200016:03
 User Interface
GA10618.10.200016:04
 Multiple Virtual DOS Maschines
GA10218.10.200016:06
 MVDM Architecture
GA10318.10.200016:07
 Virtual Device Drivers
GA10618.10.200016:08
 Expanded and Extended Memory Support
GA10418.10.200016:09
 DOS Settings and Windows Application Support
GA11018.10.200016:12
 MVDM Architecture: Introduction
GA10318.10.200016:15
 Virtual DOS Machine Manager(VDMM)
GA10118.10.200016:17
 Virtual Address Space Management
GA10118.10.200016:18
 The Creation of a VDM
GA9818.10.200016:19
 A VDM Termination and its 8086 Emulation
GA10018.10.200016:22
 Die DOS Emulation (allgemeine Aussagen)
GA10118.10.200016:24
 Virtual Device Drivers
GA10918.10.200016:25
 VDM Page Faults, VDM Window and Virtual Display Management
GA9618.10.200016:30
 Virtual Keyboard and Mouse Mangement
GA9718.10.200016:33
 VDM Interprocess Communication:Pipes and Named Pipes (and Summary)
GA9518.10.200016:38
 Einzelheiten zur 8086 Emulation(Mode)
GA9618.10.200016:41
 Interruption Handling
GA9718.10.200016:45
 I/O Port Trapping
GA9818.10.200016:46
 A20 LIne Services(64KB Wraparound)
GA9818.10.200016:48
 Zusammenfassung der 8086 Emulation
GA9718.10.200016:49
 MVDM DOS Emulation(Einzelheiten)
GA4918.10.200016:54
 System Services
GA4019.10.200010:43
 Standard Devices, Max. VDM Memory and CONFIG.SYS
GA4019.10.200010:48
 AUTOEXEC.BAT
GA3719.10.200010:49
 Command Compatibility :MEM,FC,DOSKEY,DEBUG,UNDELETE
GA4519.10.200010:58
 Command Compatibility: DIR,ATTRIB,RESTORE,FIND(and Summary)
GA3819.10.200011:04
 Devices and Drivers(Einzelheiten)
GA4519.10.200011:09
 Einzelheiten zu Virtual Device Drivers
GA3819.10.200011:16
 ROM BIOS Compatibility
GA3719.10.200011:18
 Hardware Interrupt Simulation
GA3819.10.200011:19
 Protection bei Virtual Device Drivers
GA3719.10.200011:21
 Standard Virtual Device Drivers: Einzelheiten(I)
GA4219.10.200011:28
 Standard Virtual Device Drivers: Einzelheiten(II)
GA4219.10.200011:32
 Standard Virtual Device Drivers: Einzelheiten(III)
GA3720.10.200009:21
 Standard Virtual Device Drivers: Einzelheiten(IV)
GA3920.10.200009:54
  Standard Virtual Device Drivers: Einzelheiten(V)
GA3820.10.200009:59
 Allg. Srevices:Memory,Semaphore,Freeze/Thaw,Timer/priority, Page Fault
GA3820.10.200010:07
 VDH Functions
GA3820.10.200010:08
 Termination (VDM,Normal,Abnormal)
GA3420.10.200010:13
 Memory Management: EMS,VEMM,XMS(I)
GA3720.10.200010:21
 Memory Management:Problems, EMS/UMB,HMA
GA3920.10.200010:27
 Installation von DOS-Programmen
GA3720.10.200015:45
 Planning Hard Disk Partitions
GA3820.10.200015:46
 Installing Windows Programs
GA3520.10.200015:48
 Installation: Gesichtspunkte de CONFIG.SYS und AUTOEXEC.BAT
GA3520.10.200015:51
 Migrating Programs: Migration Database(DATABASE.DAT)
GA3520.10.200015:53
 Creating a Migration Database: der Befehl PARSEDB
GA3520.10.200015:55
 Windows Applications: the Modes
GA3420.10.200016:01
 Windows Applications under OS/2 2.0
GA3620.10.200016:13
 Defining a "Seamless" WIN-OS/2 VDM
GA3420.10.200016:18
 The Windows Environment: The *.INI files
GA3020.10.200016:22
 The DOS and WIN-O2 Settings
GA3420.10.200016:23
 Windows Device Drivers
GA3220.10.200016:25
 Print Support for Windows Applications
GA3520.10.200016:27
 Font Support for Windows Applications
GA3120.10.200016:33
 Cipboard Support
GA3220.10.200016:39
 Using Cut and Paste
GA3320.10.200016:42
 Dynamic Data Exchange(DDE)
GA3320.10.200016:47
 OLE Concepts
GA3422.10.200014:01
 DOS Protected Mode Interface(DPMI)
GA4522.10.200014:15
 DPMI (Fortsetzung)
GA3122.10.200014:22
 DOS Anwendungen
GA2922.10.200014:31
 Die DOS Parameter im Kontextmenu
GA3022.10.200014:48
 Virtual Machine Boot(I)
GA3122.10.200014:54
 Virtual Machine Boot(II)
GA2822.10.200015:05
 Lotus 1-2-3 in a VDM
GA2922.10.200015:08
 Expanded Memory Specifications(EMS)
GA2922.10.200015:11
 Extended Memory Specifications(XMS)
GA2822.10.200015:13
 Multiple Virtual DOS Machine Lab Sessions(I)
GA2822.10.200015:15
 Lab Session 1: a VDM Configuration
GA3222.10.200015:19
 Check the environment size without ENVIRON.EXE
GA2722.10.200015:20
 Lab Session 2: Reboot Virtaul DO Machine
GA2722.10.200015:22
 Lab Session 3 - The Clipboard Viewer
GA2522.10.200015:24
 Lab Session 4: VDM Use of the Speaker
GA2522.10.200015:26
 Lab Session 5: VDM Interprocess Communications
GA2722.10.200015:28
 Quellcode zu PIPEDOS.BAS
GA2822.10.200015:29
 Quellcode zu C-Programm PIPEOS2.C
GA3222.10.200015:31
 Lab Session 5: VDM Boot
GA2923.10.200011:31
 Lab Session 7:Windows Clipboard
GA2723.10.200011:33
 Technical Compendium v2.0: DOS and Windows Environmenmt(Vol. 2) - Die Originaldatei
GA3529.10.200011:31


php.net OpenIT © 1998-2017 by WebTeam OS2.org