1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00
freebsd/sys/i386/include
Marcel Moolenaar bcc5241c43 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
_inttypes.h
_limits.h
_stdint.h
_types.h
acpica_machdep.h Move the code for halting the CPU (acpi_cpu_c1) into machdep files. 2004-10-11 05:39:15 +00:00
apicreg.h
apicvar.h
apm_bios.h
apm_segments.h
asm.h
asmacros.h
atomic.h Initiate deorbit burn sequence for 80386 support in FreeBSD: Remove 2004-11-16 20:42:32 +00:00
bootinfo.h
bus_at386.h
bus_dma.h
bus_memio.h
bus_pc98.h
bus_pio.h
bus.h
clock.h
comstats.h
cpu.h Initiate deorbit burn sequence for 80386 support in FreeBSD: Remove 2004-11-16 20:42:32 +00:00
cpufunc.h
cputypes.h
critical.h Pass a thread argument into cpu_critical_{enter,exit}() rather than 2004-07-27 16:41:01 +00:00
cserial.h
db_machdep.h Fix breakpoint handling for i386. 2004-09-15 23:26:49 +00:00
elan_mmcr.h
elf.h Add definitions for TLS relocations. 2004-08-02 19:12:17 +00:00
endian.h Initiate deorbit burn sequence for 80386 support in FreeBSD: Remove 2004-11-16 20:42:32 +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
frame.h Update for the KDB framework: 2004-07-10 22:11:14 +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
i4b_cause.h
i4b_debug.h
i4b_ioctl.h
i4b_rbch_ioctl.h
i4b_tel_ioctl.h
i4b_trace.h
ieeefp.h
if_wl_wavelan.h
in_cksum.h Fix a bug in in_cksum_hdr w/o -O. 2004-08-25 18:28:15 +00:00
intr_machdep.h Optimize intr_execute_handlers() by combining the pic_disable_source() and 2004-08-02 15:31:10 +00:00
ioctl_bt848.h
ioctl_meteor.h
iodev.h Break out the MI part of the /dev/[k]mem and /dev/io drivers into 2004-08-01 11:40:54 +00:00
kdb.h Introduce the KDB debugger frontend. The frontend provides a framework 2004-07-10 18:40:12 +00:00
legacyvar.h
limits.h
md_var.h
memdev.h Break out the MI part of the /dev/[k]mem and /dev/io drivers into 2004-08-01 11:40:54 +00:00
metadata.h
mp_watchdog.h Add an "options MP_WATCHDOG" to i386. This option allows one of the 2004-08-15 18:02:09 +00:00
mptable.h
mtpr.h
mutex.h
npx.h
param.h Remove UAREA_PAGES. 2004-11-20 02:29:50 +00:00
pcaudioio.h
pcb_ext.h
pcb.h Implement makectx(). The makectx() function is used by KDB to create 2004-07-10 19:56:00 +00:00
pci_cfgreg.h
pcpu.h
pcvt_ioctl.h
pecoff_machdep.h
perfmon.h
pmap.h Make pte_load_store() an atomic operation in all cases, not just i386 PAE. 2004-10-08 08:23:43 +00:00
privatespace.h
proc.h
profile.h Move the kernel-specific logic to adjust frompc from MI to MD. For 2004-08-27 19:42:35 +00:00
psl.h
ptrace.h
reg.h
reloc.h
resource.h
runq.h
segments.h
setjmp.h
sf_buf.h
sigframe.h
signal.h
smapi.h
smp.h
smptests.h
speaker.h
specialreg.h
stdarg.h
sysarch.h Begin an invasion of i386-land by amd64. 2004-11-06 03:23:36 +00:00
trap.h
tss.h
ucontext.h
varargs.h
vm86.h
vmparam.h Increase the scaling of VM_KMEM_SIZE_MAX. 2004-08-16 08:35:22 +00:00