Diff for ''

Revision 5
Time:
2024-09-18 21:03
Comment:
Automatizovaná konverze z MediaWiki do Markdownu
Revision 8
Author:
cernyj27
Time:
2024-10-16 17:53
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
{{Smazat}} # Počítačová laboratoř LABTF MFF
Line 3: Line 3:
void
example (void *data)
### Stránky počítačové laboratoře LABTF MFF
[LABTF MFF stránky](https://www.mff.cuni.cz/cs/vnitrni-zalezitosti/it-a-sluzby/pocitacove-laboratore/labtf)
Line 6: Line 6:
{ ------
Line 8: Line 8:
print("entering EXAMPLE\n");
 //frame_init();
### Letáček počítačové laboratoře LABTF MFF
![Labtf mff](/LABTF MFF/LABTF-MFF.png)
Line 11: Line 11:
 print("--------------------");
 frame_alloc(4, VF_AT_KUSEG);

 print("--------------------");
 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");