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

Method isLdtEmpty

source/kernel/kthread.cpp:132–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

130}
131
132bool KThread::isLdtEmpty(struct user_desc* desc) {
133 return (!desc || (desc->seg_not_present==1 && desc->read_exec_only==1));
134}
135
136struct user_desc* KThread::getLDT(U32 index) {
137 if (index>=TLS_ENTRY_START_INDEX && index<TLS_ENTRIES+TLS_ENTRY_START_INDEX) {

Callers 4

callMethod · 0.80
jmpMethod · 0.80
retMethod · 0.80
iretMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected