Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ wbflush(3spp) — UMIPS/BSD System Programmer's Package 2.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

WBFLUSH(3spp)

NAME

wbflush − wait until all R2000 memory writes have completed

SYNOPSIS

wbflush()

DESCRIPTION

Wbflush busy waits until the R2020 write buffers indicate that all R2000 memory writes have be completed.  Wbflush is necessary in two situations:

1 Where writing to one memory location may affect the contents read from another location.  An example of this is writing to device controllers where a command may be written into one device register and status read from another. 

2 Where writes to contiguous byte or halfword locations must be gathered in to larger units by the "byte gathering" mechanism of the write buffers. 

Wbflush is implemented by spinning on the coprocessor 0 condition code, this is a function of the R2300 cpu board and may not be implemented on boards other than the R2300. 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026