summaryrefslogtreecommitdiffstats
path: root/documentation
diff options
context:
space:
mode:
authorRegina König2020-07-27 14:19:31 +0200
committerRegina König2020-07-27 14:19:31 +0200
commitb6ac51d02d6dd46bf99d805fe8370640df11ef94 (patch)
tree648fac5fd8dc00a446b1a64fea173069b7d744c1 /documentation
parentMakefile seems to be correct (diff)
downloadmemtest86-b6ac51d02d6dd46bf99d805fe8370640df11ef94.tar.gz
memtest86-b6ac51d02d6dd46bf99d805fe8370640df11ef94.tar.xz
memtest86-b6ac51d02d6dd46bf99d805fe8370640df11ef94.zip
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
Diffstat (limited to 'documentation')
-rw-r--r--documentation/Data Models and Sizes18
1 files changed, 18 insertions, 0 deletions
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