Jan Stoess
877de489bb
- Adopt to new TRACEPOINT style
2007-10-31 08:59:29 +01:00
Jan Stoess
234f94229f
- Pass invoker tcb to perform_exregs
...
- Adopt to new TRACEPOINT() style
- Added a type for exregs control
2007-10-31 08:59:07 +01:00
Jan Stoess
1e109244d9
- Added a display filter based on tracepoint id, tcbs, or cpus
...
- Print a newline after dumping a tbuf entry, if needed
2007-10-31 08:57:22 +01:00
Jan Stoess
23c040b732
- Adopt to new KDB parameter style
2007-10-31 08:55:52 +01:00
Jan Stoess
e6abd8afca
- Adopt to new KDB parameter style
2007-10-31 08:55:38 +01:00
Jan Stoess
cbea22d72a
- Adopt to new KDB parameter style
2007-10-31 08:55:24 +01:00
Jan Stoess
bf27f6bed0
- Some functions now need to be available for tracebuffer, too
2007-10-31 08:55:10 +01:00
Jan Stoess
d8506758a1
-Call tracepoint init function
2007-10-31 08:54:39 +01:00
Jan Stoess
64093d6ff1
-Adopt to new KDB parameter style.
...
-Remove dump_eflags, now unified for amd64/ia32 as dump_flags
2007-10-31 08:54:05 +01:00
Jan Stoess
79676aae15
Adopt to new KDB parameter style
2007-10-31 08:53:08 +01:00
Jan Stoess
3615fbce4c
Adopt to new KDB parameter style
2007-10-31 08:52:59 +01:00
Jan Stoess
fda3ee6e98
Adopt to new KDB parameter style
2007-10-31 08:52:31 +01:00
Jan Stoess
1b183575f5
Typo: IA32_USER_FLAGMASK -> X86_USER_FLAGMASK. Kudos to B.Poess
2007-10-29 09:58:10 +01:00
Jan Stoess
caa77563d2
- Add proper typecasts for bootinfo data structures, to avoid gcc warnings
2007-10-24 10:48:04 +02:00
Jan Stoess
4eed18ddff
BUGFIX: define memory_info_t as union of *a struct* containing a bitfield
...
and a raw word, rather than as union of a bitfield and a raw word.
2007-10-04 15:20:52 +02:00
Sebastian Biemueller
34b915bc6a
Remove INLINE from function to prevent function falling into discarded section.
2007-10-03 13:41:21 +02:00
Sebastian Biemueller
4b414e2f50
Make printf a TRACE_INIT.
2007-10-02 20:53:15 +02:00
Jan Stoess
91a6ad25d4
BUGFIX: if we've been running on the thread's timeslice, enqueue
...
*ourselves*, not the destination thread
2007-09-28 15:27:36 +02:00
Jan Stoess
3be82316e5
Revert again to Seb's pmtimer solution. Fixes a bug that could on overlap occur with
...
the new solution.
2007-09-20 10:46:51 +02:00
Jan Stoess
279eae77e7
Last commit had clobbered pmtimer masking fix. Reintroduce it.
2007-09-20 09:16:42 +02:00
Sebastian Biemueller
03aad15c02
Beautification of TRACE_INIT messages
2007-09-19 23:59:59 +02:00
Jan Stoess
f85605268b
Correct redirection table ASSERT to compare against actual number of
...
redirection table entries, rather than 24. Intel spec defined the maximum
to be 24; however, other implementations may have a larger number
2007-09-19 10:49:35 +02:00
Jan Stoess
be727be946
Changed ioapic related data types
...
- Add a spinlock to abstract ioapic
- Add a backpointer to ioapic in each abstract redirection table entry
- Remove lapic_map, now handled by cpu_t data types
- implementation now supports ids > CONFIG_MAX_IOAPICS
- Correct redirection table ASSERT to compare against actual number of
redirection table entries, rather than 24. Intel spec defined the maximum
to be 24; however, other implementations may have a larger number
2007-09-19 10:48:34 +02:00
Jan Stoess
d5ce1c05cb
Changed ioapic related data types
...
- Add a spinlock to abstract ioapic
- Add a backpointer to ioapic in each abstract redirection table entry
- Remove lapic_map, now handled by cpu_t data types
- implementation now supports ids > CONFIG_MAX_IOAPICS
- Correct redirection table ASSERT to compare against actual number of
redirection table entries, rather than 24. Intel spec defined the maximum
to be 24; however, other implementations may have a larger number
2007-09-19 10:48:29 +02:00
Jan Stoess
b8bed649c2
Combined IA-32's and AMD64's APIC logic into a new X86 architecture tree.
2007-09-19 10:41:41 +02:00
Jan Stoess
a986825e02
Added cpu.h containing cpu_t data type
2007-09-19 10:40:55 +02:00
Jan Stoess
6470a34b44
Initialize delay
...
Adopted to generic exception macro names
2007-09-19 10:40:28 +02:00
Jan Stoess
ef2d7d7d4a
Adopted to new generic exception macro names
2007-09-19 10:40:11 +02:00
Jan Stoess
69e4ac26fd
Adopted cpu initialization to changed ioapic and cpu_t semantics
2007-09-19 10:39:56 +02:00
Jan Stoess
3f1433dc23
Added cpu.cc
2007-09-19 10:39:37 +02:00
Jan Stoess
3025c348ed
Adopted to generic exception macro names.
2007-09-19 10:39:00 +02:00
Jan Stoess
cdae6f9fac
Adopted to generic exception macro names.
2007-09-19 10:38:49 +02:00
Jan Stoess
0079bd7e38
Adopted to generic exception macro names
2007-09-19 10:38:29 +02:00
Jan Stoess
2f1068636e
Adopted to generic exception macro names.
2007-09-19 10:38:18 +02:00
Jan Stoess
815c1fe25d
Increase IDT size to 256
...
Adopted to generic exception macro names
2007-09-19 10:38:01 +02:00
Jan Stoess
8c3afe06fc
Remove smp.cc, code will hence be contained in v4-x86/cpu.cc
2007-09-19 10:37:14 +02:00
Jan Stoess
f3cdace4d1
Coalesced v4-ia32/smp.cc and v4-amd64/smp.cc and renamed to cpu.cc, since
...
some of the contents is valid for UP, too.
2007-09-19 10:36:41 +02:00
Jan Stoess
678bb88c6d
Removed smp.cc, now contained in v4-x86/cpu.cc
2007-09-19 10:35:59 +02:00
Jan Stoess
0b69cbe8e8
Adopted to generic exception macro names
2007-09-19 10:35:36 +02:00
Jan Stoess
78f4cd301f
Adopted to generic exception macro names
2007-09-19 10:35:10 +02:00
Jan Stoess
4ab7231a47
Adopted to generic exception macro names
2007-09-19 10:34:51 +02:00
Jan Stoess
7ea4b97368
Increase IDT size to 128
...
Use IDT_LAPIC_XCPU_IPI rather than IDT_LAPIC_IPI, conforms to ia32
Introduce ioapic specific macros used by new io apic logic
Adopted EXC_INTERRUPT to generic macro names
2007-09-19 10:34:17 +02:00
Jan Stoess
7fd9b051e5
Remove smp.cc, code will hence be contained in v4-x86/cpu.cc
2007-09-19 10:32:11 +02:00
Jan Stoess
e395bfb5da
Renamed IA32_EXC_XYZ to X86_EXC_XYZ, to have X86-generic macros
2007-09-19 10:31:13 +02:00
Jan Stoess
7c2d158fbc
- Renamed AMD64_EXC_XYZ to X86_EXC_XYZ, to have X86-generic macros
2007-09-19 10:30:36 +02:00
Jan Stoess
a59c44b1c4
- Added cpuid_t data type
2007-09-19 10:29:43 +02:00
Jan Stoess
12b9d4641b
Adopted dumping the IO-APIC to changed ioapic data types
2007-09-19 10:29:14 +02:00
Jan Stoess
dfef476537
Let cmd_send_nmi use cpu_t data type
2007-09-19 10:28:42 +02:00
Sebastian Biemueller
2d8a93e016
Reactivate fpu on AMD64.
2007-09-18 21:42:46 +02:00
Jan Stoess
a9146af9b2
- Read ACPI based timer twice and compare results. The timer is reported to
...
occasionally deliver wrong results.
- BUGFIX: incorporate wraparound when calculating ACPI based timer delay
2007-09-17 16:41:38 +02:00