Page MenuHomeSource World

First send raw to child gives the wrong value
Closed, ResolvedPublic

Description

With the following sequence after running make run-release:

start child
send raw 5
send raw 5
send raw 5

The first one child receives the wrong value 69. Below is the full log:

[kernel::arch::interrupt::apic] timer register is 0b100000000001000000
[kernel::system_calls] Userspace print: parent rinit started.
[kernel::arch::cap::paging::pml4] PML4 mapping: 0x1000000000
[kernel::system_calls] Userspace print: testing heap: 42
[kernel::system_calls] Userspace print: parent stack addr: 0x90001000.
[kernel::system_calls] Userspace print: child rinit started.
[kernel::system_calls] Userspace print: parent stack addr: 0x90003000.
[kernel::system_calls] Userspace print: Received from master: 69
[kernel::system_calls] Userspace print: Received from master: 5
[kernel::system_calls] Userspace print: Received from master: 5