Displaying 5 results from an estimated 5 matches for "detect_cpu".
2008 Feb 21
1
Including 'detect_cpu' in libcom32.a ?
Okay, if one installs syslinux, the declaration for 'detect_cpu'
is in com32/include/cpuid.h, but the actual function code isn't
available in libcom32.a. It's only available as source down in
the com32/modules/ directory, and not actually installed anywhere.
Shouldn't 'detect_cpu' be included in libcom32.a?
--
Dr. William R. Somsky,...
2007 Apr 26
2
boot 32 or 64 kernel depending on cpu
...r, &dev_stdcon_w);
if (argc < 5) {
fprintf(stderr, "missing options, usage:\n"
" l23or64 <32b kernel> <32b initrd> \\"
" <64b kernel> <64b initrd> \\"
" [kernel arguments]\n");
return 1;
}
detect_cpu(&cpu);
if (cpu.flags.lm) {
initrd = argv[4];
kernel = argv[3];
} else {
initrd = argv[2];
kernel = argv[1];
}
p = snprintf(cmdline, sizeof cmdline - 1, "%s initrd=%s ",
kernel, initrd);
for (i = 5; i < argc; i++) {
unsigned l = strlen(argv[i]);
if ((p + l + 1)...
2006 Sep 04
1
[PATCH 1/1] : Adding a new com32 module to handle cpu information
From : Erwan Velu <erwan.velu at 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 proc...
2007 Apr 30
1
CentOS 5 single DVD for i386 and x86_64
..." l23or64 <32b kernel> <32b initrd> \\"
" <64b kernel> <64b initrd> \\"
" [kernel arguments]\n");
return 1;
}
detect_cpu(&cpu);
if (cpu.flags.lm) {
initrd = argv[4];
kernel = argv[3];
} else {
initrd = argv[2];
kernel = argv[1];
}
p = snprintf(cmdline, sizeof cmdline - 1, "%s initrd=%s ",...
2011 Apr 16
20
[PATCH 00/20] Switch to ELF modules
From: Matt Fleming <matt.fleming at linux.intel.com>
This series fixes some bugs and switches the elflink branch to be
entirely ELF modules. It applies on top of,
http://syslinux.zytor.com/archives/2011-April/016369.html
The deletions in the diff stat below are mainly from deleting
com32/elflink/modules (finally!). Now there should be no duplicate
code because we don't need COM32 and