aros-development-team / AROS

Main AROS repository for active development. Contains the main Operating System components and Build System.
http://www.aros.org
Other
381 stars 60 forks source link

Time64 #583

Open deadwood2 opened 2 years ago

deadwood2 commented 2 years ago

This is a proposal of implementation of future 64-bit time support. What the changes do now is to freeze certain elements on 32-bit "forever" - essentially places where relative time is used and 32-bits is enough as well as document how the implementation can be done in future in a way that no longer breaks compatibility.

Note: side effect of these structure changes is that structure copying no longer works in some cases even though structures have same fields. This means field by field copying is needed.

deadwood2 commented 2 years ago

Functionally tested in my repository on linux-x86_64 and amiga-m68k (for backwards compatibility). Build tested on linux-x86_64 and pc-x86_64 in this repository.

deadwood2 commented 1 year ago

FYI, the Codacy warnings are invalid in this case. We are setting fields of the request and passing the request to DoIO.