<div dir="ltr">Got it. Sorry, I completely missed this point. Thank you!<br clear="all"><div><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr">Georgii Ekserdzhian</div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">пÑ, 23 окÑ. 2020 г. в 08:07, Vojtech Horky <<a href="mailto:horky@d3s.mff.cuni.cz">horky@d3s.mff.cuni.cz</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hello.<br>
<br>
Dne 23. 10. 20 v 8:00 Georgii Ekserdzhian napsal(a):<br>
> Fair enough) I didn't call it in main. I kinda assumed it's called <br>
> somewhere else.<br>
> Do tests call it though? heap/basic is always failing for me because it <br>
> always says that malloc always returns NULL. So I assume that my bumper <br>
> pointer is not initialized when the test is run.<br>
<br>
Please, see [1]. The tests are executed via kernel_main() too.<br>
<br>
<a href="https://gitlab.mff.cuni.cz/teaching/nswi004/2020/upstream/team-assignment/-/blob/master/README-a02.md#L108" rel="noreferrer" target="_blank">https://gitlab.mff.cuni.cz/teaching/nswi004/2020/upstream/team-assignment/-/blob/master/README-a02.md#L108</a><br>
<br>
As another hint: you can use "git grep" to quickly search through the <br>
sources to see where the function is called (another option is gtags + <br>
htags for HTML clickable output).<br>
<br>
Cheers,<br>
- VH<br>
<br>
<br>
> <br>
> Georgii Ekserdzhian<br>
> <br>
> <br>
> пÑ, 23 окÑ. 2020 г. в 07:52, Eliáš Cizl <<a href="mailto:cizl.elias@gmail.com" target="_blank">cizl.elias@gmail.com</a> <br>
> <mailto:<a href="mailto:cizl.elias@gmail.com" target="_blank">cizl.elias@gmail.com</a>>>:<br>
> <br>
>Â Â Â Are you calling it in kernel_main()? Because otherwise, how would it<br>
>Â Â Â be called? :D<br>
> <br>
>Â Â Â On Fri, 23 Oct 2020, 07:43 Georgii Ekserdzhian, <<a href="mailto:gxrjan@gmail.com" target="_blank">gxrjan@gmail.com</a><br>
>Â Â Â <mailto:<a href="mailto:gxrjan@gmail.com" target="_blank">gxrjan@gmail.com</a>>> wrote:<br>
> <br>
>Â Â Â Â Â Good morning,<br>
> <br>
>Â Â Â Â Â I included a simple printk statement in heap_init where I<br>
>Â Â Â Â Â initialize my bumper pointer to verify that this function is<br>
>Â Â Â Â Â actually being called when the system is booted, and it turns<br>
>Â Â Â Â Â out it's not being called, since I don't see any output.<br>
>Â Â Â Â Â Do I have to write it somewhere manually? Or am I missing<br>
>Â Â Â Â Â something completely about the workflow of this project?<br>
> <br>
>Â Â Â Â Â Georgii Ekserdzhian<br>
>Â Â Â Â Â _______________________________________________<br>
>Â Â Â Â Â NSWI004 mailing list<br>
>Â Â Â Â Â <a href="mailto:NSWI004@d3s.mff.cuni.cz" target="_blank">NSWI004@d3s.mff.cuni.cz</a> <mailto:<a href="mailto:NSWI004@d3s.mff.cuni.cz" target="_blank">NSWI004@d3s.mff.cuni.cz</a>><br>
>Â Â Â Â Â <a href="https://d3s.mff.cuni.cz/mailman/listinfo/nswi004" rel="noreferrer" target="_blank">https://d3s.mff.cuni.cz/mailman/listinfo/nswi004</a><br>
> <br>
>Â Â Â _______________________________________________<br>
>Â Â Â NSWI004 mailing list<br>
>Â Â Â <a href="mailto:NSWI004@d3s.mff.cuni.cz" target="_blank">NSWI004@d3s.mff.cuni.cz</a> <mailto:<a href="mailto:NSWI004@d3s.mff.cuni.cz" target="_blank">NSWI004@d3s.mff.cuni.cz</a>><br>
>Â Â Â <a href="https://d3s.mff.cuni.cz/mailman/listinfo/nswi004" rel="noreferrer" target="_blank">https://d3s.mff.cuni.cz/mailman/listinfo/nswi004</a><br>
> <br>
> <br>
> _______________________________________________<br>
> NSWI004 mailing list<br>
> <a href="mailto:NSWI004@d3s.mff.cuni.cz" target="_blank">NSWI004@d3s.mff.cuni.cz</a><br>
> <a href="https://d3s.mff.cuni.cz/mailman/listinfo/nswi004" rel="noreferrer" target="_blank">https://d3s.mff.cuni.cz/mailman/listinfo/nswi004</a><br>
> <br>
_______________________________________________<br>
NSWI004 mailing list<br>
<a href="mailto:NSWI004@d3s.mff.cuni.cz" target="_blank">NSWI004@d3s.mff.cuni.cz</a><br>
<a href="https://d3s.mff.cuni.cz/mailman/listinfo/nswi004" rel="noreferrer" target="_blank">https://d3s.mff.cuni.cz/mailman/listinfo/nswi004</a><br>
</blockquote></div>