| 307 | } |
| 308 | |
| 309 | static void writeStackString(KThread* thread, CPU * cpu, const char* s) { |
| 310 | int count = (int)((strlen(s)+4)/4); |
| 311 | int i; |
| 312 | for (i=0;i<count;i++) { |
| 313 | cpu->push32(0); |
| 314 | } |
| 315 | thread->memory->strcpy(ESP, s); |
| 316 | } |
| 317 | |
| 318 | #define HWCAP_I386_FPU 1 << 0 |
| 319 | #define HWCAP_I386_VME 1 << 1 |
no test coverage detected