Description: openbsd work by Nikolay and Pierre
This file as text.
(active) Revisions in this set:
47b8bf5924b835920fbf3d2f27137437c3c056de,b9e3a0692cea695c2fc7a65dd5826aa36d0e0d56,9b7cbb0e0b99bb2697e93057853c1cfdd1c99599
f6e13c50a91459873d9da21f14ad9e1eebf9a7ca,924b4c6f10917bdb65e4ff14f20c17211e72cc62,d9c109a4dd3e17405a567f2ebd657723dd86d259
6f411d6355156913f10c37aa700e1559a1a498c2,a83bc6263903a51c789545d381bfd86e3ae9f1d9,639adc314f4660859264f647b2b5172847265dcf
8988a5e028080ac37c20c06bf8d0cfc134cdeb7e,5c7adf9af382ee5919ebfb7c806cab3d520977dd,5f4a0c7af7b8f605338728aa0274ad1f877e2a75
0100c4abf8df357f5c58e9d70d8b35233e994c51,1e4442f1fa25431480c9b1f4194589b04b5fd28c,c249495e2df2c695fe8f97a17cdd5de0a02aa501
d621cef9883623c065ff5dd4d97dbb4cd49a26d4
Clicking a revision will expand files
+ added the initial implementation of my C structure checker code generator
tool, named h2paschk. This is currently a separate tool, that requires a
manually crafted input file with a special syntax (example is included as a
comment in the source code), that contains descriptions of all the records
that need to be checked, but it is planned to add support to h2pas to generate
these files automatically, since this would be very useful.
+ added h2paschk.pas to the makefiles
+ added OpenBSD RTL structure checker description file for use with the h2paschk
tool. Currently only checks the stat and dirent structures, but more will be
added in the future.
+ added pollfd to the openbsd structure checker file
+ more structures added to the openbsd structure checker file: utimbuf, flock,
tms, timezone, rusage, TRLimit and iovec
+ added h2paschk structure checker files for the DirectDraw and DirectInput
header translations, used by PTCPas.
Avoid C 64-bit compiler warnings by using %lu instead of %u for sizeof and offsetof
Improve syscall number testing script:
+ Add support for parameters:
-v sets verbose variable to 1
VAR=value gets evaluated.
* moves to rtl/$os if called at diferent level.
+ check if there is a incude directive in sysnr.inc file.
+ Add compilation of C source code with the C variant of the syscall number.
+ Support 32 and 64-bit version of C compilation for systems
allowing 32 and 64-bit executable (like x86_64-linux).
+ Add 'preprocessing' using AWK to test {$ifdef CPUXXX} macro.
+ Add summary at end of script.
* Rename check_syscall_number to check_c_syscall_from_fpc_rtl
* Rename check_syscall_number_reverse to check_c_syscall_in_fpc_rtl
* Try to remove most intermediate files.
+ Generate add_missing_syscalls.inc file if numbers are missing.
Eliminate wrong line (bug report 35441)
+ Add handling of simple types and constants
+ Add ReadID helper procedure inside ProcessH2PasChk method
Add simple types and some constants
* freebsd and openbsd also use sys/syscall.h header
+ Add AWK parser to removed parts of source not concerning current CPU
(only handles CPUXXX like CPUI386)
More improvements to script testing syscall numbers
Add more system header constants
Add '%note' to .note.openbsd.ident section
Reenable semaphore support for NetBSD and OpenBSD in syncobjs unit