freebsd-nq/sys/ia64/include
Marcel Moolenaar 8d8d970db1 Fix a place where I forgot to change the code that checks whether
we return to kernel or userland. This triggered a panic in a KSE
application when TDF_USTATCLOCK was set in the case userland was
interrupted, but we never called ast() on our way out. As such,
we called ast() at some other time. Unfortunately, TDF_USTATCLOCK
handling assumes running in the interrupt thread. This was not
the case anymore.

To avoid making the same mistake later, interrupt() now returns
to its caller whether we interrupted userland or not. This avoids
that we have to duplicate the check in assembly, where it's bound
to fall off the scope. Now we simply check the return value and
call ast() if appropriate.

Run into this: davidxu
2003-09-05 22:50:10 +00:00
..
pc use __packed. 2002-09-23 18:54:32 +00:00
_inttypes.h Since printf(3) now supports the `j' conversion specifier, use that 2002-06-30 05:48:03 +00:00
_limits.h sys/sys/limits.h: 2003-05-19 20:29:07 +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 Create a new header <machine/_stdint.h> for storing MD parts of 2002-07-29 17:41:23 +00:00
_types.h - Add vm_paddr_t, a physical address type. This is required for systems 2003-03-25 00:07:06 +00:00
acpica_machdep.h Unbreak ia64 builds now -Werror is enabled again. Avoid obsolete 2003-07-26 07:23:25 +00:00
asm.h Revamp of the syscall path, exception and context handling. The 2003-05-16 21:26:42 +00:00
atomic.h Simplify IA64_CMPXCHG to avoid having braced-groups in expressions. 2002-05-19 20:19:07 +00:00
bootinfo.h Use one of the bi_spare entries for the DIG64 HCDP table address. 2002-12-08 20:32:56 +00:00
bus_memio.h
bus_pio.h
bus.h - Introduce a new busdma flag BUS_DMA_ZERO to request for zero'ed 2003-07-27 13:52:10 +00:00
clock.h Cleanup the clock code. This includes: 2003-08-04 05:13:18 +00:00
clockvar.h
cpu.h Undo the mistake made in revision 1.77 of trap.c and which was the 2003-08-20 05:30:35 +00:00
cpufunc.h Be more careful how we restore interrupts. Don't rewrite most of the 2003-05-24 21:44:24 +00:00
critical.h Expand inline the relevant parts of src/COPYRIGHT for Matt Dillon's 2003-08-12 23:24:05 +00:00
db_machdep.h Revamp of the syscall path, exception and context handling. The 2003-05-16 21:26:42 +00:00
dig64.h More MFp4: DIG64 structures. 2002-12-18 18:52:20 +00:00
efi.h
elf.h Add TLS related relocation. 2003-06-19 06:51:43 +00:00
endian.h Style sync. 2003-08-03 07:50:19 +00:00
exec.h
float.h Correct LDBL_* constants based on values from i386. 2003-03-27 20:38:22 +00:00
floatingpoint.h
fpu.h
frame.h Revamp of the syscall path, exception and context handling. The 2003-05-16 21:26:42 +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
ieeefp.h Cleanup and style(9) fixes. No functional change. 2003-08-11 21:25:19 +00:00
in_cksum.h
inst.h
intr.h Don't hardcode the address of the local (S)APIC (aka processor 2003-01-05 22:14:30 +00:00
intrcnt.h Bump the number of interrupts from 65 to 257. This is a waste of 2003-01-05 22:00:19 +00:00
ioctl_bt848.h
ioctl_meteor.h
kse.h Add a copy of the sparc64 machine/kse.h to satisfy depencies.. 2002-06-29 18:07:50 +00:00
limits.h sys/sys/limits.h: 2003-05-19 20:29:07 +00:00
mca.h Remove the definition of struct mca_guid and use the generic 2002-05-29 05:19:07 +00:00
md_var.h Fix a place where I forgot to change the code that checks whether 2003-09-05 22:50:10 +00:00
mutex.h
nexusvar.h Convert NEXUS_ACCESSOR to use the __BUS_ACCESSOR 2002-08-22 19:47:10 +00:00
pal.h
param.h Remove PAGE_SIZE_4K, PAGE_SIZE_8K and PAGE_SIZE_16K and replace them 2003-08-23 03:39:55 +00:00
pcb.h Cleanup prototypes in cpu.h, including fswintrberr and any references 2003-08-12 03:51:53 +00:00
pci_cfgreg.h
pcpu.h Cleanup the clock code. This includes: 2003-08-04 05:13:18 +00:00
pmap.h pmap_install() needs to be atomic WRT to context switching. Protect 2003-05-19 04:16:30 +00:00
proc.h Revamp of the syscall path, exception and context handling. The 2003-05-16 21:26:42 +00:00
profile.h Change critical_t to register_t for intr_disable/restore. 2002-03-21 09:50:11 +00:00
pte.h
ptrace.h Introduce two machine specific ptrace(2) requests: PT_GETKSTACK and 2003-08-15 05:40:59 +00:00
reg.h Revamp of the syscall path, exception and context handling. The 2003-05-16 21:26:42 +00:00
reloc.h
resource.h
runq.h Move the "- 1" into the RQB_FFS(mask) macro itself so that 2002-06-20 06:21:20 +00:00
sal.h Remove special casing for running in the simulator from the kernel 2003-02-01 22:50:09 +00:00
sapicreg.h
sapicvar.h List the IO SAPIC delivery mode definitions. 2002-10-04 01:33:30 +00:00
setjmp.h Avoid using __aligned(16). Instead define the jmp_buf in terms of 2003-07-26 08:03:43 +00:00
sigframe.h Split 4.x and 5.x signal handling so that we can keep 4.x signal 2002-10-25 19:10:58 +00:00
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 o Add conditionals to allow va_list to be defined in other headers. 2002-10-06 22:01:07 +00:00
sysarch.h
ucontext.h Better define the flags in the mcontext_t and properly set the flags 2003-08-07 07:52:39 +00:00
unwind.h Add logic to trace across/over a trapframe. We have ABI markers in 2003-07-12 04:35:09 +00:00
varargs.h Add conditionals to allow va_list to be defined in other headers. 2002-10-06 22:02:06 +00:00
vmparam.h Revamp of the syscall path, exception and context handling. The 2003-05-16 21:26:42 +00:00