[NSWI004] _kernel_end

Georgii Ekserdzhian gxrjan at gmail.com
Thu Oct 22 14:52:35 CEST 2020


Good afternoon,

When I try to write into the first byte which _kernel_end points to, I get
these error message:
"error: writing 1 byte into a region of size 0"
"at offset 0 to object '_kernel_end' with size 0 declared here"

I suppose because _kernel_end is declared with size 0. But I'm not sure how
to proceed. My code is just:

uint8_t *p = _kernel_end;
*p = 1;

Georgii Ekserdzhian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://d3s.mff.cuni.cz/pipermail/nswi004/attachments/20201022/03e219aa/attachment.htm>


More information about the NSWI004 mailing list