Diff for ''

Revision 14
Author:
cernyj27
Time:
2022-10-16 02:34
Revision 5
Time:
2024-09-18 21:03
Comment:
Automatizovaná konverze z MediaWiki do Markdownu
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
<includeonly><div class="math_theorem" style="margin: 1em 0em; padding: 0.5em 1em 0.4em; border: 1px solid #aaa; text-align: justify;">
<strong class="theorem-name">Věta ({{{name|{{{2}}}}}})</strong><span class="theoreme-tiret">:&nbsp;</span>{{{1}}}
</div></includeonly>
{{Smazat}}

void
example (void *data)

{

print("entering EXAMPLE\n");
&nbsp;//frame_init();

&nbsp;print("--------------------");
&nbsp;frame_alloc(4, VF_AT_KUSEG);

&nbsp;print("--------------------");
&nbsp;print("Power down at the end;\n");

}

////////////////////////////////////////////////////////////////
void *frame_alloc(unsigned int cnt, unsigned int flags) {

&nbsp;if (VF_ADDR_TYPE(flags) <2)c

&nbsp;&nbsp;printk("addres space kseg0 or kseg1\n");
&nbsp;if (VF_ADDR_TYPE(flags) >1)

&nbsp;&nbsp;printk("kseg2 ksseg3 kuuseg\n");

&nbsp;return 0;
}

//////////////////////////////////////
na vystupu je

printk("addres space kseg0 or kseg1\n");