diff options
| author | Charles.Forsyth <devnull@localhost> | 2008-06-11 14:21:44 +0000 |
|---|---|---|
| committer | Charles.Forsyth <devnull@localhost> | 2008-06-11 14:21:44 +0000 |
| commit | 8a8c2d742b51525f66c2210e3c8a251de10022ff (patch) | |
| tree | 8282ce595e5fbe2e487dc20f54891d9e9e7cbf37 /os/boot/pc/clock.c | |
| parent | 31a18a6996a6b5927e39cc553696c167e6c88e3d (diff) | |
20080611-1520
Diffstat (limited to 'os/boot/pc/clock.c')
| -rw-r--r-- | os/boot/pc/clock.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/os/boot/pc/clock.c b/os/boot/pc/clock.c index 6c5694cd..169abd11 100644 --- a/os/boot/pc/clock.c +++ b/os/boot/pc/clock.c @@ -115,10 +115,13 @@ static X86type x86amd[] = { 5, 1, 23, "AMD-K5", }, /* guesswork */ { 5, 2, 23, "AMD-K5", }, /* guesswork */ { 5, 3, 23, "AMD-K5", }, /* guesswork */ + { 5, 4, 23, "AMD Geode GX1", }, /* guesswork */ + { 5, 5, 23, "AMD Geode GX2", }, /* guesswork */ { 5, 6, 11, "AMD-K6", }, /* trial and error */ { 5, 7, 11, "AMD-K6", }, /* trial and error */ { 5, 8, 11, "AMD-K6-2", }, /* trial and error */ { 5, 9, 11, "AMD-K6-III", },/* trial and error */ + { 5, 0xa, 23, "AMD Geode LX", }, /* guesswork */ { 6, 1, 11, "AMD-Athlon", },/* trial and error */ { 6, 2, 11, "AMD-Athlon", },/* trial and error */ @@ -164,7 +167,8 @@ cpuidentify(void) int cpuidax, cpuiddx; cpuid(cpuidid, &cpuidax, &cpuiddx); - if(strncmp(cpuidid, "AuthenticAMD", 12) == 0) + if(strncmp(cpuidid, "AuthenticAMD", 12) == 0 || + strncmp(cpuidid, "Geode by NSC", 12) == 0) t = x86amd; else t = x86intel; |
