MCPcopy Create free account
hub / github.com/LibertyOS-Development/kernel / setpal

Function setpal

src/graphics/vga/mod.rs:818–824  ·  view source on GitHub ↗

Set palette

(palette: Palette)

Source from the content-addressed store, hash-verified

816
817// Set palette
818pub fn setpal(palette: Palette)
819{
820 interrupts::without_interrupts(||
821 {
822 WRITER.lock().setpal(palette)
823 })
824}
825
826
827// Set underline location

Callers 1

initFunction · 0.85

Calls 2

setpalMethod · 0.80
lockMethod · 0.80

Tested by

no test coverage detected