C# Class Mosa.DeviceDriver.PCI.VMware.VMwareSVGAII

VMware SVGA II Device Driver
Inheritance: HardwareDevice, IPixelGraphicsDevice
Afficher le fichier Open project: tgiphil/MOSA-Project

Protected Properties

Свойство Type Description
alphaMask uint
alphaMaskShift byte
bitsPerPixel uint
blueMask uint
blueMaskShift byte
bytesPerLine uint
capabilities uint
fifo IMemory
fifoSize uint
frameBuffer IFrameBuffer
frameBufferSize uint
greenMask uint
greenMaskShift byte
height ushort
indexPort IReadWriteIOPort
maxHeight uint
maxWidth uint
memory IMemory
offset uint
redMask uint
redMaskShift byte
spinLock SpinLock
valuePort IReadWriteIOPort
version uint
videoRamSize uint
width ushort

Private Properties

Свойство Type Description
IPixelGraphicsDevice Mosa.DeviceSystem.Color

Méthodes publiques

Méthode Description
OnInterrupt ( ) : bool

Called when an interrupt is received.

SetMode ( ushort width, ushort height ) : bool

Sets the mode.

Setup ( HardwareResources hardwareResources ) : bool

Setups this hardware device driver

Start ( ) : DeviceDriverStartStatus

Starts this hardware device.

VMwareSVGAII ( ) : Mosa.DeviceSystem

Initializes a new instance of the VMwareSVGAII class.

Méthodes protégées

Méthode Description
ConvertColor ( Color color ) : uint

Converts the color to the frame-buffer color

GetFifo ( uint index ) : uint

Gets the fifo.

GetMaskShift ( uint mask ) : byte

Gets the mask shift.

GetVersion ( ) : uint

Gets the version.

IPixelGraphicsDevice ( Color color ) : void

Clears the specified color.

IPixelGraphicsDevice ( Color color, ushort x, ushort y ) : void

Writes the pixel.

InitializeFifo ( ) : void

Initializes the fifo.

ReadRegister ( uint command ) : uint

Gets the value.

SendCommand ( uint command, uint value ) : void

Sends the command.

SetFifo ( uint index, uint value ) : void

Sets the fifo.

UpdateFrame ( ) : void

Updates the frame.

UpdateFrame ( ushort x, ushort y, ushort width, ushort height ) : void

Updates the frame.

WaitForFifo ( ) : void

Waits for fifo.

WriteToFifo ( uint value ) : void

Writes to fifo.

Private Methods

Méthode Description
IPixelGraphicsDevice ( ushort x, ushort y ) : Color

Reads the pixel.

Method Details

ConvertColor() protected méthode

Converts the color to the frame-buffer color
protected ConvertColor ( Color color ) : uint
color Mosa.DeviceSystem.Color The color.
Résultat uint

GetFifo() protected méthode

Gets the fifo.
protected GetFifo ( uint index ) : uint
index uint The index.
Résultat uint

GetMaskShift() protected méthode

Gets the mask shift.
protected GetMaskShift ( uint mask ) : byte
mask uint The mask.
Résultat byte

GetVersion() protected méthode

Gets the version.
protected GetVersion ( ) : uint
Résultat uint

IPixelGraphicsDevice() protected méthode

Clears the specified color.
protected IPixelGraphicsDevice ( Color color ) : void
color Mosa.DeviceSystem.Color The color.
Résultat void

IPixelGraphicsDevice() protected méthode

Writes the pixel.
protected IPixelGraphicsDevice ( Color color, ushort x, ushort y ) : void
color Mosa.DeviceSystem.Color The color.
x ushort The x.
y ushort The y.
Résultat void

InitializeFifo() protected méthode

Initializes the fifo.
protected InitializeFifo ( ) : void
Résultat void

OnInterrupt() public méthode

Called when an interrupt is received.
public OnInterrupt ( ) : bool
Résultat bool

ReadRegister() protected méthode

Gets the value.
protected ReadRegister ( uint command ) : uint
command uint The command.
Résultat uint

SendCommand() protected méthode

Sends the command.
protected SendCommand ( uint command, uint value ) : void
command uint The command.
value uint The value.
Résultat void

SetFifo() protected méthode

Sets the fifo.
protected SetFifo ( uint index, uint value ) : void
index uint The index.
value uint The value.
Résultat void

SetMode() public méthode

Sets the mode.
public SetMode ( ushort width, ushort height ) : bool
width ushort The width.
height ushort The height.
Résultat bool

Setup() public méthode

Setups this hardware device driver
public Setup ( HardwareResources hardwareResources ) : bool
hardwareResources HardwareResources
Résultat bool

Start() public méthode

Starts this hardware device.
public Start ( ) : DeviceDriverStartStatus
Résultat DeviceDriverStartStatus

UpdateFrame() protected méthode

Updates the frame.
protected UpdateFrame ( ) : void
Résultat void

UpdateFrame() protected méthode

Updates the frame.
protected UpdateFrame ( ushort x, ushort y, ushort width, ushort height ) : void
x ushort The x.
y ushort The y.
width ushort The width.
height ushort The height.
Résultat void

VMwareSVGAII() public méthode

Initializes a new instance of the VMwareSVGAII class.
public VMwareSVGAII ( ) : Mosa.DeviceSystem
Résultat Mosa.DeviceSystem

WaitForFifo() protected méthode

Waits for fifo.
protected WaitForFifo ( ) : void
Résultat void

WriteToFifo() protected méthode

Writes to fifo.
protected WriteToFifo ( uint value ) : void
value uint The value.
Résultat void

Property Details

alphaMask protected_oe property

The alpha mask
protected uint alphaMask
Résultat uint

alphaMaskShift protected_oe property

The alpha mask shift
protected byte alphaMaskShift
Résultat byte

bitsPerPixel protected_oe property

The bits per pixel
protected uint bitsPerPixel
Résultat uint

blueMask protected_oe property

The blue mask
protected uint blueMask
Résultat uint

blueMaskShift protected_oe property

The blue mask shift
protected byte blueMaskShift
Résultat byte

bytesPerLine protected_oe property

The bytes per line
protected uint bytesPerLine
Résultat uint

capabilities protected_oe property

The capabilities
protected uint capabilities
Résultat uint

fifo protected_oe property

protected IMemory fifo
Résultat IMemory

fifoSize protected_oe property

The fifo size
protected uint fifoSize
Résultat uint

frameBuffer protected_oe property

protected IFrameBuffer frameBuffer
Résultat IFrameBuffer

frameBufferSize protected_oe property

The frame buffer size
protected uint frameBufferSize
Résultat uint

greenMask protected_oe property

The green mask
protected uint greenMask
Résultat uint

greenMaskShift protected_oe property

The green mask shift
protected byte greenMaskShift
Résultat byte

height protected_oe property

The height
protected ushort height
Résultat ushort

indexPort protected_oe property

protected IReadWriteIOPort indexPort
Résultat IReadWriteIOPort

maxHeight protected_oe property

The maximum height
protected uint maxHeight
Résultat uint

maxWidth protected_oe property

The maximum width
protected uint maxWidth
Résultat uint

memory protected_oe property

protected IMemory memory
Résultat IMemory

offset protected_oe property

The offset
protected uint offset
Résultat uint

redMask protected_oe property

The red mask
protected uint redMask
Résultat uint

redMaskShift protected_oe property

The red mask shift
protected byte redMaskShift
Résultat byte

spinLock protected_oe property

protected SpinLock spinLock
Résultat SpinLock

valuePort protected_oe property

protected IReadWriteIOPort valuePort
Résultat IReadWriteIOPort

version protected_oe property

The version
protected uint version
Résultat uint

videoRamSize protected_oe property

The video ram size
protected uint videoRamSize
Résultat uint

width protected_oe property

The width
protected ushort width
Résultat ushort