diff options
author | jhb <jhb@FreeBSD.org> | 2016-04-13 17:37:31 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2016-04-13 17:37:31 +0000 |
commit | b5f76666d8323fcca3f58de34e2e065c6ea9478c (patch) | |
tree | 22756e79900f5981e72ed2cc5c1771ee865daa31 /sys/amd64/amd64/exception.S | |
parent | c87a3c998c1cd3ed74f6233e2cb7682c6dec412f (diff) | |
download | FreeBSD-src-b5f76666d8323fcca3f58de34e2e065c6ea9478c.zip FreeBSD-src-b5f76666d8323fcca3f58de34e2e065c6ea9478c.tar.gz |
Expose doreti as a global symbol on amd64 and i386.
doreti provides the common code path for returning from interrupt
andlers on x86. Exposing doreti as a global symbol allows kernel
modules to include low-level interrupt handlers instead of requiring
all low-level handlers to be statically compiled into the kernel.
Submitted by: Howard Su <howard0su@gmail.com>
Reviewed by: kib
Diffstat (limited to 'sys/amd64/amd64/exception.S')
-rw-r--r-- | sys/amd64/amd64/exception.S | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/amd64/amd64/exception.S b/sys/amd64/amd64/exception.S index caabfd9..fd8cdac 100644 --- a/sys/amd64/amd64/exception.S +++ b/sys/amd64/amd64/exception.S @@ -659,6 +659,7 @@ MCOUNT_LABEL(eintr) .text SUPERALIGN_TEXT .type doreti,@function + .globl doreti doreti: FAKE_MCOUNT($bintr) /* init "from" bintr -> doreti */ /* |