Diff for ''

Revision 5
Author:
cernyj27
Time:
2022-09-04 00:54
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:
<div style="font-weight: bold; background: #fca; border: solid 1px #700; text-align: center; margin: 1em; padding: 0.5em;">Tato stránka není kompletní a/nebo může obsahovat chyby!</div> {{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");