Skip to content

ValeBini/NachOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 

Repository files navigation

1)

_// mmu.hh

_MEMORY_SIZE = NUM_PHYS_PAGES * PAGE_SIZE; PAGE_SIZE = SECTOR_SIZE; _NUM_PHYS_PAGES = 32;

// disk.hh

SECTOR_SIZE = 128;

32*128 = 4096

  1. Aumentando la cantidad de paginas fisicas o el tamaño de las paginas.

// disk.cc

MAGIC_SIZE = sizeof (int);

DISK_SIZE = MAGIC_SIZE + NUM_SECTORS * SECTOR_SIZE;

// disk.hh

NUM_SECTORS = SECTORS_PER_TRACK * NUM_TRACKS;

NUM_TRACKS = 32;

SECTOR_SIZE = 128;

SECTORS_PER_TRACK = 32;

4 + (32*32) * 128 = 131072 + 4

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •