summaryrefslogtreecommitdiff
path: root/com32/include
Commit message (Collapse)AuthorAgeFilesLines
* Introducing a new com32 module to parse pci devices/busessyslinux-3.2xErwan Velu2006-09-121-0/+32
| | | | | | The pcitest module implements an example of use the pci module If you like to use the string name just put a pci.ids file in the root directory (cherry picked from 85bb6facf0100592c89d5c3c5c17b25e7b0006b3 commit)
* Before this fix, the cpu flags were shiftederwan2006-09-121-0/+3
| | | | (cherry picked from b1ffc5a7732118170aaa3f6267ab821e5a237c20 commit)
* Adding a new com32 module to handle cpu informationsyslinux-3.21-pre1Erwan Velu2006-09-052-0/+355
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From : Erwan Velu <erwan.velu@free.fr> This patch a new com32 module to handle cpu information. A new "cpu" structure can be filled by calling "detect_cpu(&cpu)". It provides : - Vendor name as string - Model as string - Vendor as integer - Model as integer - Family as integer - Stepping as Integer - Flags as boolean - SMP as boolean Note that SMP is just a manner to know if the bios annonce an MPTABLE. This code can't detect each processor. I've been adding a demo program called cpuidtest to show how it works. if (cpu.flags.lm == true) printf("This system is x86_64 compatible\n"); This example shows how to test if a system is X86_64 compatible. I hope it's simple enough ;) This code is mainly taken from the Linux Kernel. Greetings for all the guys who wrote it. Testing and feedback are welcome. Signed-off-by:Erwan Velu <erwan.velu@free.fr>
* Remove CVS-era $Id$ tags.H. Peter Anvin2006-08-176-6/+0
|
* Adding a com32 module to handle DMIErwan Velu2006-08-146-0/+923
| | | | | | | | | | | | | | | | | | | | | | | | | | From : Erwan Velu <erwan.velu@free.fr> This patch add a new com32 module named dmi. It can parse DMI Hanldes number 0,1,2,3,4. Using a very simple API, you can read the values of the following "Handles" - BIOS - CHASSIS - SYSTEM - BASE_BOARD - PROCESSOR It's possible and easy to extend to many other Handles. A sample code program called dmitest shows how you can use and display this structures. The codes is mainly taken from the Linux Kernel and the smartmontool projects. Both are GPL, my code too. Testing and feedback are welcomed. Signed-off-by:Erwan Velu <erwan.velu@free.fr>
* Across-the-board stealth whitespace cleanupH. Peter Anvin2006-05-0310-41/+30
|
* Beginnings of a file-moving APIhpa2005-09-252-1/+10
|
* New "totaltimeout" option; change the menu behaviour on timeout.hpa2005-08-302-0/+62
|
* Add more low-level API function to load the kernel, and make thehpa2005-08-211-2/+19
| | | | menu subsystem use it.
* Out-of-line __intcall and __farcall; better detection mechanism for CM#2hpa2005-08-092-14/+6
|
* Add PCI_CFG_BIOShpa2005-08-031-0/+1
|
* More work on password support for the menu systems. Make the base64hpa2005-01-211-2/+2
| | | | | decoder work (necessary to handle encrypted passwords.) Simple SHA-1 password generator in Perl.
* SHA-1 support in libutil; beginnings of menu passwd supporthpa2005-01-201-0/+43
|
* Move idle function into libcom32; libutil function is now just a wrapper.hpa2005-01-201-0/+40
|
* Move <zconf.h> to the right placesyslinux-3.07-pre2hpa2005-01-121-0/+323
|
* Move png header files in place; add documentationsyslinux-3.06hpa2005-01-102-0/+4856
|
* Move <zlib.h> to include directory; add prototype for ftell()hpa2005-01-082-0/+1203
|
* Support PCI configuration space mechanism #2 if necessary.hpa2005-01-051-6/+14
|
* Fix PCI access functionshpa2005-01-041-6/+6
|
* Support timeout in the menusyslinux-2.20-pre12hpa2004-12-211-2/+2
|
* Add code to edit the command line in the simple menuhpa2004-12-211-0/+3
|
* Actually get things working with nonblocking raw console read;hpa2004-12-201-0/+0
| | | | this allows us to detect the Esc key.
* Make the raw input console non-blocking with a timeout, allows handlinghpa2004-12-201-0/+21
| | | | the [Esc] key.
* Fix regparm in libcom32; make extlinux actually work; add 3840K supporthpa2004-12-201-2/+3
| | | | to MEMDISK.
* malloc.h is internal; put in lib/hpa2004-12-161-54/+0
| | | | Fix "make clean" for unix installer
* Actually working ANSI device; add demosyslinux-2.12-pre2hpa2004-11-302-0/+12
|
* Split input and output sides of the device modelhpa2004-11-233-6/+60
|
* Division error handlinghpa2004-11-231-0/+4
|
* Separate rawcon and stdcon; actually make input workhpa2004-11-171-0/+3
|
* Very basic operations now work; need to handle line-orientedhpa2004-11-175-0/+146
| | | | versus character-oriented input
* Very first cut at a klibc-derived C library for com32hpa2004-11-1024-4/+1349
|
* Add explicit defines for the various flagshpa2004-01-241-0/+19
|
* Add "const" to things which are not to be changed...hpa2003-12-101-2/+2
|
* COM32: Try to support both farcall and intcallhpa2003-07-011-1/+2
|
* Add <stdbool.h>hpa2003-04-161-0/+33
|
* Add second hello world samplehpa2002-11-191-0/+22
|
* Fix the COM32 sample programsyslinux-2.01-pre2hpa2002-11-181-6/+7
|
* Add <stdint.h>hpa2002-06-121-0/+146
|
* Move com32.h to a subdirectory; we expect to have more stuff here...hpa2002-06-121-0/+56