Commit Graph

816 Commits

Author SHA1 Message Date
Sebastian Biemueller 4e775e53d1 Merged IA-32's and AMD64's resources.h file. 2007-08-26 22:52:17 +02:00
Sebastian Biemueller 722e9ceed5 Access ACPI's madt through virtual mapping created by acpi_remap() 2007-08-21 23:22:25 +02:00
Sebastian Biemueller 5bc9d770da Fix typecast 2007-08-21 00:47:28 +02:00
Sebastian Biemueller cf74dbd473 - Added handling of pmtimer overflows.
- Remove locks on pmtimer (locks are not necessary as the timer
  is read via an atomic portio operation).
2007-08-20 23:53:48 +02:00
Sebastian Biemueller 08804e741f Merged IA-32's and AMD64's init_cpu() as well as startup_system() function 2007-08-19 16:17:11 +02:00
Sebastian Biemueller 43aab4b321 Make gdt initialization interfaces match between IA-32 and AMD64. 2007-08-19 14:48:57 +02:00
Sebastian Biemueller 01e9da2360 Merged IA-32's and AMD64's smp initialization in init.cc 2007-08-19 13:17:38 +02:00
Sebastian Biemueller 26a82ca453 Merged IA-32's and AMD64's bss initialization. 2007-08-19 12:48:33 +02:00
Sebastian Biemueller 68a25df023 Added 4k page description for x86. 2007-08-18 23:47:38 +02:00
Sebastian Biemueller ca5b02c33b Make space's page table root access function match between IA-32 and AMD64. 2007-08-18 23:45:47 +02:00
Sebastian Biemueller c4d8abcf72 Make bss symbols match between IA-32 and AMD64. 2007-08-18 23:07:11 +02:00
Sebastian Biemueller 70a284456a Merged IA32's and AMD64's tss.h 2007-08-18 22:38:21 +02:00
Sebastian Biemueller d8ea7d03da Show global bit on a pagetable dump. 2007-08-17 23:05:03 +02:00
Sebastian Biemueller 76c1172324 Resplit KSTACK offsets for IA32 and AMD64 2007-08-17 19:22:13 +02:00
Sebastian Biemueller 69e83c3a5b Added autobuild config for Intel 486 processor. Derived from ia32-p1 configuration. 2007-08-16 21:52:27 +02:00
Sebastian Biemueller 5ef660230c Removed IA-32's and AMD64's thread.cc file. 2007-08-16 21:42:51 +02:00
Sebastian Biemueller c6bbef2cc1 Merged IA-32's and AMD64's thread.cc file. 2007-08-16 21:30:42 +02:00
Uwe Dannowski 5523402190 Limit maximum assumed page size for linking amd64-kernel to 4K
Recent binutils seem to assume 2M as a good size for demand-paged binaries
and generate gigantic (6.3M) amd64-kernel images with lots of zero-padding.
The kernel ELF image merely serves as a transport container through GRUB to
KickStart and does not benefit from proper page alignment of pages within
the file.
2007-08-12 23:41:21 +02:00
Sebastian Biemueller 2aa8f13c59 Merged IA-32's and AMD64's timer.cc file. 2007-08-12 00:59:57 +02:00
Sebastian Biemueller bd8efc6b86 Make Intel 486 work again by adapting to new pgent->set_entry() signature. 2007-08-12 00:51:40 +02:00
Sebastian Biemueller b389cf5d88 Derive configuration of X86_x from AMD64_x or IA32_x 2007-08-11 18:15:04 +02:00
Sebastian Biemueller bee5c6e2e6 Correct and simply locking 2007-08-11 17:42:32 +02:00
Sebastian Biemueller 9a469fb5e9 Merged IA-32's and AMD64's timer-apic.cc file. 2007-08-10 00:33:56 +02:00
Sebastian Biemueller 1d4acc6802 Fixed race on pmtimer. 2007-08-10 00:22:46 +02:00
Sebastian Biemueller b8f2471d7a Ignore build-directory of tools/autobuild 2007-08-09 22:05:34 +02:00
Jan Stoess a43a2c5bbf Use ACPI-based timer for calibration if available. It yields pretty preci$
results with a calibration period of 100ms allows concurrent reading out.$
thus speeds up the boot process significantly.
2007-08-09 16:53:36 +02:00
Jan Stoess 7bc108612d Use ACPI-based timer for calibration if available. It yields pretty precise
results with a calibration period of 100ms allows concurrent reading out. It
thus speeds up the boot process significantly.
2007-08-09 16:53:14 +02:00
Jan Stoess fa07d37e77 Add ACPI-based timer (pmtimer) functionality 2007-08-09 16:51:21 +02:00
Jan Stoess ed2cfd80fa - Add ACPI-based timer (PMTIMER) functionality. 2007-08-09 16:51:03 +02:00
Jan Stoess e5929db6c2 Introduce FADT ACPI header type (for PM timer) 2007-08-09 16:50:22 +02:00
Jan Stoess f0bf79ac04 If kmem is larger than 32 MB, split registration into 32 MB chunks.
Otherwise, kmem allocater may run out of kmem while allocating pagetables
for new kmem
2007-08-09 16:30:32 +02:00
Uwe Dannowski d2983225d9 Include x86 directories when building for ia32 or amd64
This should provide a smooth path toward making x86 a first class
architecture and amd64 and ia32 sub-architectures eventually.
2007-08-09 14:42:13 +02:00
Sebastian Biemueller 2401be3a89 Merged IA-32's and AMD64's memory.h file. 2007-08-08 22:59:28 +02:00
Sebastian Biemueller b7364b4c4e Merged IA-32's and AMD64's ctors.cc file. 2007-08-08 21:54:53 +02:00
Sebastian Biemueller 2cb0b0610d Merged IA-32's and AMD64's asmsyms.cc file.
Hg changed kernel/src/glue/v4-ia32/Makeconf
2007-08-08 10:23:26 +02:00
Jan Stoess ffc38186b1 - Adopt small space code to to active_cpu_space_t definition 2007-08-07 13:27:45 +02:00
Jan Stoess e5a4908f81 Use __UL(X) instead of XUL, latter breaks in assembler files 2007-08-07 13:26:30 +02:00
Uwe Dannowski 8f1a9176b3 tools/autobuild: Display README.HG instead of README.CVS 2007-08-06 12:56:14 +02:00
Sebastian Biemueller 5bb7ac0963 - Merged define for IA32_KDS into X86_KDS 2007-08-06 12:39:26 +02:00
Sebastian Biemueller 3e9d5a6f3c - Fixed broken compile: Switched from amd64_mmu_t to x86_mmu_t 2007-08-06 12:09:43 +02:00
Jan Stoess 8711826282 - Initialize idle tcb's space, in case idle raises pagefaults during
scheduling
2007-08-02 17:36:43 +02:00
Sebastian Biemueller 576befd27b Removed unneeded IA32's init.cc 2007-07-29 19:18:28 +02:00
Sebastian Biemueller 3456b8b4d3 Moved IA-32's PAT to X86. 2007-07-29 19:05:53 +02:00
Sebastian Biemueller e02d3dfba7 Merged debug.h for IA-32 and AMD64 into X86. 2007-07-29 18:41:28 +02:00
Sebastian Biemueller 106dc4312a Merged IA-32's and AMD64's sysenter/sysexit MSRs. 2007-07-29 17:47:24 +02:00
Sebastian Biemueller b80c242a61 Merged IA-32's and AMD64's asm.h file. 2007-07-29 00:16:56 +02:00
Sebastian Biemueller 1ff349f1cc Removed empty hwcr.cc 2007-07-28 23:09:53 +02:00
Sebastian Biemueller e68bc4a693 Removed unneded IA-32 functions. 2007-07-28 22:55:07 +02:00
Sebastian Biemueller 3aadf80fc5 Merged IA-32's and AMD64's mmu.h file. 2007-07-28 22:20:27 +02:00
Sebastian Biemueller 4aad79b63e Merged IA-32's and AMD64's traps.h file. 2007-07-28 20:02:50 +02:00