MCPcopy Create free account
hub / github.com/danoon2/Boxedwine / seek

Method seek

source/kernel/devs/devfb.cpp:414–419  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

412}
413
414S64 DevFB::seek(S64 pos) {
415 if (pos>fb_fix_screeninfo.smem_len)
416 pos = fb_fix_screeninfo.smem_len;
417 this->pos = pos;
418 return pos;
419}
420
421U32 DevFB::readNative(U8* buffer, U32 len) {
422 if (this->pos+len>fb_fix_screeninfo.line_length)

Callers 4

getInterpreterMethod · 0.45
getMemSizeOfElfMethod · 0.45
getPELoadAddressFunction · 0.45
loadProgramMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected