System and method for handling a segmented program in a memory for a
multitasking data processing system utilizing paged virtual storage
    2.
    发明授权
    System and method for handling a segmented program in a memory for a multitasking data processing system utilizing paged virtual storage 失效
    用于处理利用分页虚拟存储的多任务数据处理系统的存储器中的分段程序的系统和方法

    公开(公告)号:US5539899A

    公开(公告)日:1996-07-23

    申请号:US862911

    申请日:1992-04-03

    IPC分类号: G06F12/10 G06F12/02

    CPC分类号: G06F12/109

    摘要: A system and method for loading a segmented program into a memory for a multitasking data processing system utilizing paged virtual storage for processes is disclosed. A virtual address space having a plurality of pages for the segmented program is established. Segments of the segmented program suitable for packing end to end across page boundaries are identified. A virtual storage object over a contiguous portion of the virtual address space is defined and the segments identified for packing into the virtual storage object are mapped into the contiguous portion. Any segments not suitable for packing across page boundaries start on page boundaries in the virtual address space. Then segments corresponding to selected pages of the virtual address space are demand loaded into frames of the memory in the same manner in which they are addressed into the virtual address space.

    摘要翻译: 公开了一种用于将分段程序加载到多任务数据处理系统的存储器中的系统和方法,所述多任务数据处理系统利用用于进程的分页虚拟存储。 建立具有分段程序的多页的虚拟地址空间。 识别分段程序的分段,适用于跨页边界的端到端打包。 定义虚拟地址空间的连续部分上的虚拟存储对象,并将识别用于打包到虚拟存储对象中的段映射到连续部分。 任何不适合跨页边界打包的片段都从虚拟地址空间的页边界开始。 然后,与虚拟地址空间的选定页面相对应的段需要以与将它们寻址到虚拟地址空间相同的方式加载到存储器的帧中。