freebsd-skq/sys/ia64/include
marcel c106bd9120 Change gdb_cpu_setreg() to not take the value to which to set the
specified register, but a pointer to the in-memory representation of
that value. The reason for this is twofold:
1. Not all registers can be represented by a register_t. In particular
   FP registers fall in that category. Passing the new register value
   by reference instead of by value makes this point moot.
2. When we receive a G or P packet, both are for writing a register,
   the packet will have the register value in target-byte order and
   in the memory representation (modulo the fact that bytes are sent
   as 2 printable hexadecimal numbers of course). We only need to
   decode the packet to have a pointer to the register value.

This change fixes the bug of extracting the register value of the P
packet as a hexadecimal number instead of as a bit array. The quick
(and dirty) fix to bswap the register value in gdb_cpu_setreg() as
it has been added on i386 and amd64 can therefore be removed and has
in fact been that.

Tested on: alpha, amd64, i386, ia64, sparc64
2004-12-01 06:40:35 +00:00
..
pc Remove headers copied from i386 and either useless or wrong on ia64. 2003-11-02 09:19:07 +00:00
_inttypes.h
_limits.h Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
_regset.h Remove __aligned(16) from the definition of struct _ia64_fpreg. It's 2003-07-25 08:02:24 +00:00
_stdint.h <stdint.h> should define WINT_M{AX,IN} independent from whether WCHAR_MIN is 2004-05-18 16:04:57 +00:00
_types.h Introduce the cpumask_t type. The purpose of the type is to create a 2004-03-20 20:41:40 +00:00
acpica_machdep.h Move the code for halting the CPU (acpi_cpu_c1) into machdep files. 2004-10-11 05:39:15 +00:00
asm.h Make profiling actually work. The gcc compiler emits a call to the 2004-08-25 07:42:34 +00:00
atomic.h For the atomic_{add|clear|set|subtract} family of inlines, return the 2004-09-22 19:58:43 +00:00
bootinfo.h Whitespace fixes: 2004-11-28 04:34:17 +00:00
bus_memio.h
bus_pio.h
bus.h Document the lockfunc and lockfuncarg arguments to bus_dma_tag_create() in 2003-11-07 23:29:42 +00:00
clock.h Cleanup the clock code. This includes: 2003-08-04 05:13:18 +00:00
clockvar.h
cpu.h Make profiling actually work. The gcc compiler emits a call to the 2004-08-25 07:42:34 +00:00
cpufunc.h Fix -O builds with gcc 3.4 by defining ffs as __builtin_ffs instead of 2004-07-30 07:56:53 +00:00
critical.h Pass a thread argument into cpu_critical_{enter,exit}() rather than 2004-07-27 16:41:01 +00:00
db_machdep.h Mega update for the KDB framework: turn DDB into a KDB backend. 2004-07-10 23:47:20 +00:00
dig64.h
efi.h MFp4: 2004-09-19 03:50:46 +00:00
elf.h Add sysentvec->sv_fixlimits() hook so that we can catch cases on 64 bit 2003-09-25 01:10:26 +00:00
endian.h Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
exec.h
float.h Make FLT_ROUNDS correctly reflect the dynamic rounding mode. 2004-07-19 08:17:25 +00:00
floatingpoint.h
fpu.h Provide our own FPSWA definitions, instead of depending on the Intel 2004-09-17 22:19:41 +00:00
frame.h Revamp of the syscall path, exception and context handling. The 2003-05-16 21:26:42 +00:00
gdb_machdep.h Change gdb_cpu_setreg() to not take the value to which to set the 2004-12-01 06:40:35 +00:00
ia64_cpu.h Add an instruction group break after the move to application register 2003-08-15 05:46:33 +00:00
ieee.h Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
ieeefp.h Cleanup and style(9) fixes. No functional change. 2003-08-11 21:25:19 +00:00
in_cksum.h Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
intr.h
intrcnt.h
kdb.h Introduce the KDB debugger frontend. The frontend provides a framework 2004-07-10 18:40:12 +00:00
limits.h Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
mca.h
md_var.h Move the IA-32 trap handling from trap() to ia32_trap(). Move the 2004-09-25 04:27:44 +00:00
memdev.h Remove extraneous ';'. 2004-08-01 18:51:44 +00:00
mutex.h
nexusvar.h
pal.h
param.h Remove UAREA_PAGES. 2004-11-20 02:29:50 +00:00
pcb.h As I said: the previous commit was untested... Remove an #endif which 2004-08-16 19:05:08 +00:00
pci_cfgreg.h
pcpu.h Fixed a pedantic syntax error (a stray semicolon at the end of 2003-11-17 03:40:41 +00:00
pmap.h Redefine a PTE as a 64-bit integral type instead of a struct of 2004-09-23 00:05:20 +00:00
proc.h Cleanup. Remove the md_flags for threads. It's not used. The flags 2003-10-23 06:41:59 +00:00
profile.h Move the kernel-specific logic to adjust frompc from MI to MD. For 2004-08-27 19:42:35 +00:00
pte.h Remove struct ia64_itir and use a plain old uint64_t instead. 2004-11-21 21:40:08 +00:00
ptrace.h Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00
reg.h Replace uint64_t with unsigned long in struct dbreg. 2004-03-20 05:27:14 +00:00
reloc.h
resource.h
runq.h Fix last second typo. 2003-12-10 22:59:03 +00:00
sal.h MFp4: 2004-09-19 03:50:46 +00:00
sapicreg.h
sapicvar.h Rewrite the SAPIC initialization to always program the RTEs with what 2003-09-10 22:49:38 +00:00
setjmp.h Avoid using __aligned(16). Instead define the jmp_buf in terms of 2003-07-26 08:03:43 +00:00
sf_buf.h MFamd64 2004-04-18 07:11:12 +00:00
sigframe.h
signal.h Revamp of the syscall path, exception and context handling. The 2003-05-16 21:26:42 +00:00
smp.h Revamp of the syscall path, exception and context handling. The 2003-05-16 21:26:42 +00:00
stdarg.h
sysarch.h Provide sysarch(2) prototypes in the MD sysarch.h headers. While I'm 2004-01-09 16:52:09 +00:00
ucontext.h Simplify the contexts created by the kernel and remove the related 2003-12-07 20:47:33 +00:00
unwind.h Update for the KDB framework: 2004-07-10 22:59:30 +00:00
varargs.h Drop any and all support for varargs. There's no history to worry 2003-09-28 05:34:07 +00:00
vmparam.h Remove advertising clause from University of California Regent's 2004-04-07 20:46:16 +00:00