From b6ac51d02d6dd46bf99d805fe8370640df11ef94 Mon Sep 17 00:00:00 2001 From: Regina König Date: Mon, 27 Jul 2020 14:19:31 +0200 Subject: created two different directories to separate files for efi and bios. moved stdin.h, stdint.h and a new header rsdp.h into these dirs --- documentation/Data Models and Sizes | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 documentation/Data Models and Sizes (limited to 'documentation') diff --git a/documentation/Data Models and Sizes b/documentation/Data Models and Sizes new file mode 100644 index 0000000..305cb40 --- /dev/null +++ b/documentation/Data Models and Sizes @@ -0,0 +1,18 @@ +(https://www.ibm.com/support/knowledgecenter/SSLTBW_2.3.0/com.ibm.zos.v2r3.cbcpx01/datatypesize64.htm) + + ILP32 (32-bit environment) LP64 (64-bit environment) + size in bytes size in bytes + =========================== ================================ +char 1 1 +short 2 2 +int 4 4 +long 4 8 +long long 8 8 +float 4 4 +double 8 8 +long double 16 16 +pointer 4 8 +wchar_t 2 4 Other UNIX platforms usually have wchar_t 4 bytes for both + 32-bit and 64-bit mode +size_t 4 8 unsigned type +ptrdiff_t 4 8 signed type -- cgit v1.2.3-55-g7522