Skip to content

Commit 5da9d53

Browse files
author
Ilu
committed
V0.7 with SQLite, Genann and libcpuid
1 parent 088c5cb commit 5da9d53

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

67 files changed

+254249
-39
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,3 +19,4 @@ dexport.c
1919
*.dxe
2020
jSH-cppcheck-build-dir/
2121
*.undef
22+
dexport.c

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
**V0.7 more modules support**
2+
* added SQLite module
3+
* added neuronal network module
4+
* added libcpuid
5+
16
**V0.6 native library loading support**
27
* added support to load DXEs during runtime to extend functionality
38
* moved comport to a loadable library

LICENSE

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,3 +102,27 @@ PERFORMANCE OF THIS SOFTWARE.
102102
is incorrect, please contact me so I can rectify the situation.
103103

104104
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
105+
106+
Copyright 2008 Veselin Georgiev,
107+
anrieffNOSPAM @ mgail_DOT.com (convert to gmail)
108+
109+
Redistribution and use in source and binary forms, with or without
110+
modification, are permitted provided that the following conditions
111+
are met:
112+
113+
1. Redistributions of source code must retain the above copyright
114+
notice, this list of conditions and the following disclaimer.
115+
2. Redistributions in binary form must reproduce the above copyright
116+
notice, this list of conditions and the following disclaimer in the
117+
documentation and/or other materials provided with the distribution.
118+
119+
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
120+
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
121+
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
122+
IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
123+
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
124+
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
125+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
126+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
127+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
128+
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

Makefile.dxemk

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@ clean distclean:
44
rm -rf *.dxe *.d *.o *.undef
55

66
%.o: %.c
7-
$(CC) -o $@ -c $(CFLAGS) $<
7+
$(CC) -o $@ -c $(CFLAGS) $(DXE_CFLAGS) $<
88

9-
%.dxe: %.o
10-
$(DXE3GEN) -o $@ $< $(DXE_LDFLAGS) -U -E _init_ -E _shutdown_ -V | tee $(basename $@).undef | sort
9+
%.dxe: %.o $(DXE_FILES)
10+
$(DXE3GEN) -o $@ $^ $(DXE_LDFLAGS) -U -E _init_ -E _shutdown_ -V | tee $(basename $@).undef | sort
1111
cp $@ ..
1212

1313
check_exports: $(DXE_NAME) ../$(DXE_TEMPLATE)

comport.dxelib/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
DXE_LDFLAGS = -L../$(DZCOMMDIR)/lib/djgpp -ldzcom
22
DXE_NAME = comport.dxe
3+
DXE_FILES =
34

45
include ../Makefile.dxemk

cpuid.dxelib/COPYING

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
Copyright 2008 Veselin Georgiev,
2+
anrieffNOSPAM @ mgail_DOT.com (convert to gmail)
3+
4+
Redistribution and use in source and binary forms, with or without
5+
modification, are permitted provided that the following conditions
6+
are met:
7+
8+
1. Redistributions of source code must retain the above copyright
9+
notice, this list of conditions and the following disclaimer.
10+
2. Redistributions in binary form must reproduce the above copyright
11+
notice, this list of conditions and the following disclaimer in the
12+
documentation and/or other materials provided with the distribution.
13+
14+
THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
15+
IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
16+
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
17+
IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
18+
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
19+
NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
20+
DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
21+
THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
22+
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
23+
THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.

cpuid.dxelib/Makefile

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
DXE_LDFLAGS =
2+
DXE_CFLAGS = -DVERSION=\"0.5.0\"
3+
DXE_NAME = cpuid.dxe
4+
DXE_FILES = asm-bits.o cpuid_main.o libcpuid_util.o recog_amd.o recog_intel.o rdtsc.o
5+
6+
include ../Makefile.dxemk

cpuid.dxelib/amd_code_t.h

Lines changed: 39 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,39 @@
1+
/*
2+
* Copyright 2016 Veselin Georgiev,
3+
* anrieffNOSPAM @ mgail_DOT.com (convert to gmail)
4+
*
5+
* Redistribution and use in source and binary forms, with or without
6+
* modification, are permitted provided that the following conditions
7+
* are met:
8+
*
9+
* 1. Redistributions of source code must retain the above copyright
10+
* notice, this list of conditions and the following disclaimer.
11+
* 2. Redistributions in binary form must reproduce the above copyright
12+
* notice, this list of conditions and the following disclaimer in the
13+
* documentation and/or other materials provided with the distribution.
14+
*
15+
* THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
16+
* IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
17+
* OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
18+
* IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
19+
* INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
20+
* NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
21+
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
22+
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
23+
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
24+
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
25+
*/
26+
27+
/*
28+
* This file contains a list of internal codes we use in detection. It is
29+
* of no external use and isn't a complete list of AMD products.
30+
*/
31+
CODE2(OPTERON_800, 1000),
32+
CODE(PHENOM),
33+
CODE(PHENOM2),
34+
CODE(FUSION_C),
35+
CODE(FUSION_E),
36+
CODE(FUSION_EA),
37+
CODE(FUSION_Z),
38+
CODE(FUSION_A),
39+

0 commit comments

Comments
 (0)