Solved crash when ncpu=1
Pre-release
Pre-release
The system boots when ncpu=1.
Also, we have solved some problems:
- lapic is mapped even ncpu=1 (but only in SMP mode)
- temporary mapping is disabled even ncpu=1
- Removed unnecessary function
dummyf()
- Fixed some errors in AP stack memory assign