[NSWI004] heap_init

Georgii Ekserdzhian gxrjan at gmail.com
Fri Oct 23 08:00:33 CEST 2020


Fair enough) I didn't call it in main. I kinda assumed it's called
somewhere else.
Do tests call it though? heap/basic is always failing for me because it
always says that malloc always returns NULL. So I assume that my bumper
pointer is not initialized when the test is run.

Georgii Ekserdzhian


пт, 23 окт. 2020 г. в 07:52, Eliáš Cizl <cizl.elias at gmail.com>:

> Are you calling it in kernel_main()? Because otherwise, how would it be
> called? :D
>
> On Fri, 23 Oct 2020, 07:43 Georgii Ekserdzhian, <gxrjan at gmail.com> wrote:
>
>> Good morning,
>>
>> I included a simple printk statement in heap_init where I initialize my
>> bumper pointer to verify that this function is actually being called when
>> the system is booted, and it turns out it's not being called, since I don't
>> see any output.
>> Do I have to write it somewhere manually? Or am I missing something
>> completely about the workflow of this project?
>>
>> Georgii Ekserdzhian
>> _______________________________________________
>> NSWI004 mailing list
>> NSWI004 at d3s.mff.cuni.cz
>> https://d3s.mff.cuni.cz/mailman/listinfo/nswi004
>>
> _______________________________________________
> NSWI004 mailing list
> NSWI004 at d3s.mff.cuni.cz
> https://d3s.mff.cuni.cz/mailman/listinfo/nswi004
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://d3s.mff.cuni.cz/pipermail/nswi004/attachments/20201023/e34e5250/attachment.htm>


More information about the NSWI004 mailing list