Diff for ''

Revision 15
Author:
cernyj27
Time:
2022-09-01 20:59
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="clear: right; float: right; line-height: 1.4; padding: 0; margin: 0 0 1em 1em; min-width: 14em; border: 1px solid #aaa;">
{| class="wikitable bulb" style="font-size: 85%; margin: 0; width: 100%;"
|-
! {{{name|{{{2}}}}}}:
|-
||
{{{1}}}
|}
</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");