MCPcopy Create free account
hub / github.com/coreboot/coreboot / serial_set_cursor

Function serial_set_cursor

payloads/libpayload/drivers/serial/serial.c:109–115  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

107}
108
109void serial_set_cursor(int y, int x)
110{
111 char buffer[32];
112
113 snprintf(buffer, sizeof(buffer), VT100_CURSOR_ADDR, y + 1, x + 1);
114 serial_putcmd(buffer);
115}
116
117void serial_cursor_enable(int state)
118{

Callers 3

wnoutrefreshFunction · 0.85
PDC_gotoyxFunction · 0.85
PDC_transform_lineFunction · 0.85

Calls 2

serial_putcmdFunction · 0.85
snprintfFunction · 0.50

Tested by

no test coverage detected