Skip to content
This repository was archived by the owner on Nov 15, 2026. It is now read-only.

Module_BufferManager

Charles edited this page Aug 5, 2026 · 13 revisions

Module: BufferManager

Status summary

Component Section 32-bit 64-bit Claimant Source Repo summary
BufferManager ROM modules Internals Internals Gerph 32-bit built, 64-bit built, tested in repo

Development status

Diagram from Module_BufferManager

Completeness

SWIs Services Vectors Others Uses Services Uses Vectors Uses Events Uses UpCalls TOTAL
95.00% 0.00% 50.00% 80.00% 100.00% 100.00% 100.00% 100.00% 82.86%

Summary

BufferManager owns shared character buffers used by DeviceFS-backed drivers. It links devices to buffers, schedules filling/emptying, and drives the BufferFilling/BufferEmptying upcall path used by serial and parallel-style devices.

Documentation

URL: PRM

Relationships

Diagram from Module_BufferManager

Diagram from Module_BufferManager

Discovered features

  • Has services
  • Has services fast
  • Has swis
  • Uses dynamic area
  • Uses heap dynamic area
  • Uses messagetrans

Provides

Functionality

In 32bit In 64 bit Interface

None found

Commands

None

SWIs

In 32bit In 64 bit Interface
✅ ✅ Buffer_Create (&42940)
✅ ✅ Buffer_Remove (&42941)
✅ ✅ Buffer_Register (&42942)
✅ ✅ Buffer_Deregister (&42943)
✅ ✅ Buffer_ModifyFlags (&42944)
✅ ✅ Buffer_LinkDevice (&42945)
✅ ✅ Buffer_UnlinkDevice (&42946)
✅ ✅ Buffer_GetInfo (&42947)
✅ ✅ Buffer_Threshold (&42948)
✅ 🔲 Buffer_InternalInfo (&42949)

Services

In 32bit In 64 bit Interface
🔲 🔲 Service_Reset

Vectors

In 32bit In 64 bit Interface
✅ 🔲 CNPV
✅ 🔲 INSV
✅ 🔲 REMV

Events

None

UpCalls

None

Others

In 32bit In 64 bit Interface
🔲 🔲 Call device for wakeup
🔲 🔲 Call device for owner change
✅ ✅ System buffer SerialIn (1)
✅ ✅ System buffer SerialOut (2)
✅ ✅ System buffer Keyboard (0)
✅ ✅ Fast dispatch InsertByte (0)
✅ ✅ Fast dispatch InsertBlock (1)
✅ ✅ Fast dispatch RemoveByte (2)
✅ ✅ Fast dispatch RemoveBlock (3)
✅ ✅ Fast dispatch ExamineByte (4)
✅ ✅ Fast dispatch ExamineBlock (5)
✅ ✅ Fast dispatch UsedSpace (6)
✅ ✅ Fast dispatch FreeSpace (7)
✅ ✅ Fast dispatch PurgeBuffer (8)
🔲 🔲 Fast dispatch NextBlock (9)

Issues calls to

Services

In 32bit In 64 bit Interface
✅ ✅ Service_BufferStarting

Vectors

In 32bit In 64 bit Interface
✅ ✅ UpCallV

Events

In 32bit In 64 bit Interface
✅ ✅ Event_InputFull
✅ ✅ Event_OutputEmpty

UpCalls

In 32bit In 64 bit Interface
✅ ✅ UpCall_BufferEmptying
✅ ✅ UpCall_BufferFilling

Modules

  • MessageTrans

Clone this wiki locally