summaryrefslogtreecommitdiffstats
path: root/dmidecodemodule.c
Commit message (Collapse)AuthorAgeFilesLines
* Cleaning up source area, ready for debianizing, and rpm after that.nima2008-12-171-205/+0
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@108 abc39116-655e-4be6-ad55-d661dc543056
* Implemented reading a dump to - this concludes syncing to the upstream release.nima2008-10-311-23/+36
| | | | | | | | | Next, exceptions should be thrown in certain places, more error checking in the python side of things, and also in relation to setting and unsetting of the alternate memory file. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@104 abc39116-655e-4be6-ad55-d661dc543056
* Dump-to-file is almost working, there seems to be a 4-byte misalignment in thenima2008-10-311-46/+8
| | | | | | | produced file though for now - needs to be fixed. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@100 abc39116-655e-4be6-ad55-d661dc543056
* Removed junk comments.nima2008-10-311-4/+0
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@99 abc39116-655e-4be6-ad55-d661dc543056
* Cleanup.nima2008-10-311-9/+3
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@97 abc39116-655e-4be6-ad55-d661dc543056
* Cleanup.nima2008-10-311-25/+29
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@96 abc39116-655e-4be6-ad55-d661dc543056
* Integration of required `dmiopt.h' bits.nima2008-10-311-23/+94
| | | | | | | | | | Removed QUIETness code. Other cleanups. Added get/set methods for changinf the default /dev/mem device. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@95 abc39116-655e-4be6-ad55-d661dc543056
* Implementing (incomplete) upstream changes.nima2008-10-301-4/+22
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@86 abc39116-655e-4be6-ad55-d661dc543056
* Recoded the new work from upstream into these (main) files. The options tonima2008-10-291-3/+3
| | | | | | | | dump the memory image onto file, and read back from it has not yet been worked in, but the underlying work has been completed. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@83 abc39116-655e-4be6-ad55-d661dc543056
* Fixed bug reported by by Justin Cook, where dmidecode.type() would segfault.nima2008-10-181-2/+4
| | | | | | | | It turned out to be some code that was forgotten about during the conversion, or at least very incomplete and wrong. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@71 abc39116-655e-4be6-ad55-d661dc543056
* Work on CPU details - seemed to been a bug with appending to a string rathernima2008-09-041-0/+5
| | | | | | | than rewriting it. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@67 abc39116-655e-4be6-ad55-d661dc543056
* Some cleaning, crash in interactive mode on dmidecode.bios() still not fixed.nima2008-07-241-3/+2
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@13 abc39116-655e-4be6-ad55-d661dc543056
* Now that code has been converted, work has started on "bios", and at the pointnima2008-07-241-11/+8
| | | | | | | of proof-of-concept. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@12 abc39116-655e-4be6-ad55-d661dc543056
* Removing printf() statements, instead adding to Python dictionary object,nima2008-07-041-80/+37
| | | | | | | untested. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@11 abc39116-655e-4be6-ad55-d661dc543056
* Major changes have been implemented, alas, untested, in hope to move towardsnima2008-07-031-4/+8
| | | | | | | | | | a new version of dmi decode where rather than having data just printed to screen in functions, data is passed around, and some data structure is constructed, which is then used to construct the Python list/dicitonary objects. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@10 abc39116-655e-4be6-ad55-d661dc543056
* WIP - Adding h->type value to catsprintf (as int major), later will add minornima2008-07-021-1/+1
| | | | | | | | too, and finally will replace the buffer with a linked list of structs, which will be added to the python dictionary/list. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@9 abc39116-655e-4be6-ad55-d661dc543056
* Now the `Handle' hex codes are the key values in the python dictionariesnima2008-07-021-2/+35
| | | | | | | returned. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@8 abc39116-655e-4be6-ad55-d661dc543056
* Brought main() back into the python module and fixed malloc/free problems.nima2008-07-011-4/+71
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@7 abc39116-655e-4be6-ad55-d661dc543056
* Removed junk comments.nima2008-07-011-98/+0
| | | | git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@6 abc39116-655e-4be6-ad55-d661dc543056
* Project progressing along excellently. The python module is now functional andnima2008-07-011-26/+71
| | | | | | | | | has as many methods as the --type option takes. Next is to expand and harness the code around the `--string' option. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@3 abc39116-655e-4be6-ad55-d661dc543056
* Split out the module header into its own file.nima2008-06-301-35/+1
| | | | | | | Cleaned up Makefile a little. git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@2 abc39116-655e-4be6-ad55-d661dc543056
* First commit to SVN.nima2008-06-301-0/+170
git-svn-id: svn://svn.autonomy.net.au/python-dmidecode@1 abc39116-655e-4be6-ad55-d661dc543056