0% found this document useful (0 votes)
39 views

Memory Design

The document outlines the memory configuration of the OSAWA Phase 2 operating system. It divides memory into three sections: an OS section from addresses 0-71 for managing free page frames and process holes, a process section from 72-4095 for storing process control blocks, and a larger process section from 4096-65535 for code, data, and stack segments with a total of 60 pages. Each section uses a free frame list to track allocated and available memory frames.

Uploaded by

waleed_rahman
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
39 views

Memory Design

The document outlines the memory configuration of the OSAWA Phase 2 operating system. It divides memory into three sections: an OS section from addresses 0-71 for managing free page frames and process holes, a process section from 72-4095 for storing process control blocks, and a larger process section from 4096-65535 for code, data, and stack segments with a total of 60 pages. Each section uses a free frame list to track allocated and available memory frames.

Uploaded by

waleed_rahman
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

OSAWA Phase 2 –Memory Configuration

Memory
Section Address Usage Comments
List of all page frames not currently in use by any process. Each
OS Section – Contiguous Memory

0–7 Free Frame List frame will be represented by a bit.(1 means full, 0 means empty)
Only 60 bits out of 64 will be used since there are 64 frames.
Allocation (4K Bytes)

This space will be used for showing which parts of memory are
8 – 71 List of Holes allocated. Each entry will consist of 4 bytes: 2 for starting address
and 2 for ending address.

Please see PCB design file, to find out how each byte in a PCB is
allocated. Each PCB will have 65- 151 bytes of allocation. Since
72 –
PCB there is a maximum of 18 stack frames and each process requires
4095
1 page, there will be no more than 18 processes and there is more
than ample space in this section.

Code Segment – 21 Frames of 1024 bytes each – Code Segment


Pages of Processes will be stored here. The free page frame list
Process Section – Segmentation with Paging (60K Bytes)

will tell which frames are full and which are empty.

4096 -
65535 Data Segment – 21 Frames of 1024 bytes each – Data Segment
Pages of Processes will be stored here. The free page frame list
will tell which frames are full and which are empty.

Stack Segment – 18 Frames of 1024 bytes each – Stack Segment


page will be stored here. (Max. 1 per process) The free page
frame list will tell which frames are full and which are empty.

You might also like