URL
https://opencores.org/ocsvn/eco32/eco32/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 59 |
Rev 88 |
Line 39... |
Line 39... |
* $18 total number of sectors of disk or partition to boot
|
* $18 total number of sectors of disk or partition to boot
|
*/
|
*/
|
cpuSetReg(16, dskno);
|
cpuSetReg(16, dskno);
|
cpuSetReg(17, 0);
|
cpuSetReg(17, 0);
|
cpuSetReg(18, capacity);
|
cpuSetReg(18, capacity);
|
cpuSetReg(29, TOS_BOOT);
|
|
cpuSetPC(VIRT_BOOT);
|
cpuSetPC(VIRT_BOOT);
|
cpuRun();
|
cpuRun();
|
}
|
}
|
|
|
No newline at end of file
|
No newline at end of file
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.