1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>references</title>
<style>
html {
font-family: Source Code Pro, monospace, sans-serif;
font-size: clamp(12px, 2vw, 16px);
}
button {
font-family: inherit;
font-size: inherit;
}
li:hover {
background-color: lightgray;
}
</style>
<script>
/// Map HTML elements to display kinds.
const elementToDisplay = (E) => {
switch (E.nodeName) {
case "LI":
return "list-item";
default:
return "block";
}
}
/// Display only elements which have all TAGS.
const showTag = (TAGS) => {
Array.from(document.getElementsByClassName("content")).forEach(E => {
// Display the element, iff the element contains every tag T in TAGS.
if (TAGS.every(T => Array.from(E.classList).includes(T))) {
E.style.display = elementToDisplay(E);
} else {
E.style.display = "none";
}
});
};
/// Initialize buttons and callbacks.
window.onload = () => {
// Handle to the filter placeholder.
const filter_node = document.getElementById("filter");
// Active filter tags.
const filter = Array();
// Create buttons for each tag T.
["arm", "x86", "riscv", "sysv", "clear"].forEach(T => {
const btn = document.createElement("button");
btn.innerHTML = T;
btn.onclick = T === "clear"
? (E) => {
// Clear active filter.
while (filter.length) { filter.pop(); }
showTag(["content"]);
filter_node.innerHTML = "filter:";
}
: (E) => {
// Toggle tag T in Active filter.
if ((idx = filter.indexOf(T)) > -1) {
filter.splice(idx, 1);
} else {
filter.push(T);
}
showTag(filter);
out = filter.map(T => `<mark>${T}</mark>`).join(" + ");
filter_node.innerHTML = `filter: ${out}`;
};
filter_node.insertAdjacentElement("beforebegin", btn);
});
}
</script>
</head>
<body>
<p>Self-hosted collection of frequently referenced documents and specifications. This page provides links to the original sources.</p>
<p id = "filter">filter:</p>
<ul>
<li class="content sysv">
<a style="color:black;" href="/pub/abi/sysv/sysv-gabi4-2013">abi/sysv/sysv-gabi4-2013</a>
[<a href="https://www.sco.com/developers/gabi/latest/contents.html">original</a>]
</li>
<li class="content sysv">
<a style="color:black;" href="/pub/abi/sysv/sysv-gabi41.pdf">abi/sysv/sysv-gabi41.pdf</a>
[<a href="https://www.sco.com/developers/devspecs/gabi41.pdf">original</a>]
</li>
<li class="content sysv x86">
<a style="color:black;" href="/pub/abi/sysv-psabi-x86-64.pdf">abi/sysv-psabi-x86-64.pdf</a>
[<a href="https://gitlab.com/x86-psABIs/x86-64-ABI/-/jobs/artifacts/master/raw/x86-64-ABI/abi.pdf?job=build">original</a>]
</li>
<li class="content sysv arm">
<a style="color:black;" href="/pub/abi/sysv/sysv-psabi-arm64.pdf">abi/sysv/sysv-psabi-arm64.pdf</a>
[<a href="https://github.com/ARM-software/abi-aa/releases/download/2023Q3/aaelf64.pdf">original</a>]
</li>
<li class="content sysv arm">
<a style="color:black;" href="/pub/abi/arm/aapcs64.pdf">abi/arm/aapcs64.pdf</a>
[<a href="https://github.com/ARM-software/abi-aa/releases/download/2023Q3/aapcs64.pdf">original</a>]
</li>
<li class="content syss riscv">
<a style="color:black;" href="/pub/abi/sysv/sysv-psabi-riscv.pdf">abi/sysv/sysv-psabi-riscv.pdf</a>
[<a href="https://github.com/riscv-non-isa/riscv-elf-psabi-doc/releases/latest">original</a>]
</li>
<li class="content x86">
<a style="color:black;" href="/pub/arch/intel/intel64-optimization-ref-vol1.pdf">arch/intel/intel64-optimization-ref-vol1.pdf</a>
[<a href="https://cdrdv2.intel.com/v1/dl/getContent/671488">original</a>]
</li>
<li class="content x86">
<a style="color:black;" href="/pub/arch/intel/intel64-optimization-ref-vol2.pdf">arch/intel/intel64-optimization-ref-vol2.pdf</a>
[<a href="https://cdrdv2.intel.com/v1/dl/getContent/787036">original</a>]
</li>
<li class="content x86">
<a style="color:black;" href="/pub/arch/intel/intel64-vol1-architecture-manual.pdf">arch/intel/intel64-vol1-architecture-manual.pdf</a>
[<a href="https://cdrdv2.intel.com/v1/dl/getContent/671436">original</a>]
</li>
<li class="content x86">
<a style="color:black;" href="/pub/arch/intel/intel64-vol2-instruction-ref.pdf">arch/intel/intel64-vol2-instruction-ref.pdf</a>
[<a href="https://cdrdv2.intel.com/v1/dl/getContent/671110">original</a>]
</li>
<li class="content x86">
<a style="color:black;" href="/pub/arch/intel/intel64-vol3-system-programming.pdf">arch/intel/intel64-vol3-system-programming.pdf</a>
[<a href="https://cdrdv2.intel.com/v1/dl/getContent/671447">original</a>]
</li>
<li class="content riscv">
<a style="color:black;" href="/pub/arch/riscv/rv-1-unprivileged-isa.pdf">arch/riscv/rv-1-unprivileged-isa.pdf</a>
[<a href="https://github.com/riscv/riscv-isa-manual/releases/tag/Ratified-IMAFDQC">original</a>]
</li>
<li class="content riscv">
<a style="color:black;" href="/pub/arch/riscv/rv-2-privileged-architecture.pdf">arch/riscv/rv-2-privileged-architecture.pdf</a>
[<a href="https://github.com/riscv/riscv-isa-manual/releases/tag/Priv-v1.12">original</a>]
</li>
</ul>
</body>
</html>
|