Displaying 2 results from an estimated 2 matches for "l23or64".
2007 Apr 26
2
boot 32 or 64 kernel depending on cpu
...t;
#include <syslinux/boot.h>
int main(int argc, char *argv[])
{
const char *kernel, *initrd;
char cmdline[1024];
int i;
unsigned p;
s_cpu cpu;
openconsole(&dev_stdcon_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];
ker...
2007 Apr 30
1
CentOS 5 single DVD for i386 and x86_64
...*kernel, *initrd;
char cmdline[1024];
int i;
unsigned p;
s_cpu cpu;
openconsole(&dev_stdcon_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 (...