westerndigitalcorporation / swerv-ISS

Western Digital’s Open Source RISC-V SweRV Instruction Set Simulator
200 stars 41 forks source link

[newlib] Fix fstat syscall #6

Closed jmonesti closed 5 years ago

jmonesti commented 5 years ago

In Core::emulateNewlib(), case fstat, rvBuff is a pointer to struct kernel_stat (cf. libgloss).

Best regards,

jrahmeh commented 5 years ago

Many thanks for the fix. Original code was mistakenly coded assuming rvBuff is a pointer to "struct stat".

jrahmeh commented 4 years ago

Hi Jmonesti, Thank you again for your contribution to swerv-ISS. Recently, we have decided to change the license from GPL-3.0 to Apache-2.0 so that it matches our SweRV core licenses for consistency. Can you please confirm that we can use your contributions to swerve-ISS under Apache-2.0?

Thanks, Joe Rahmeh

jmonesti commented 4 years ago

Hello Joe, I confirm you can use this contribution to swerve-ISS under Apache-2.0

All the best, Jean-François