CPU Simulator
    Preparing search index...

    This class represents a page table entry.

    Erik Burmester erik.burmester@nextbeam.net

    Index

    Constructors

    Properties

    NUMBER_OF_BITS_FOR_FLAGS_DEC: number = 12

    The number of bits used for the flags.

    NUMBER_OF_BITS_FOR_PAGE_FRAME_NUMBER_DEC: number = 20

    The number of bits used for the page frame number.

    flagBits: Bit[]

    This field stores the flag bits of the page table entry.

    frameNbr: Bit[]

    This field stores the number of the associated page frame.

    Methods

    • This method clears the flag that indicates that this page can only be accessed in kernel mode.

      Returns void

    • This method checks whether the page is accessable only in kernel mode.

      Returns boolean

      True if the page is accessable only in kernel mode, false otherwise.

    • This method checks whether the page is present (whether a page frame is associated to it).

      Returns boolean

      True if the page is present, false otherwise.

    • This method sets the flag that indicates that this page can only be accessed in kernel mode.

      Returns void

    • This method returns a string representation of the page table entry.

      Returns string

      A string representation of the page table entry.