]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/i386/commpage/commpage_asm.s
xnu-7195.50.7.100.1.tar.gz
[apple/xnu.git] / osfmk / i386 / commpage / commpage_asm.s
index 1a695f0bda20e86ea3950962f396ba661e0d9adf..47c81d1b9c58846302ecc066dfc3882d92e08690 100644 (file)
 #include <machine/asm.h>
 #include <assym.s>
 
-/*
- * extern void commpage_sched_gen_inc(void);
- */
-       .text
-
-       .globl  _commpage_sched_gen_inc
-_commpage_sched_gen_inc:
-       FRAME
-       
-       /* Increment 32-bit commpage field if present */
-       movq    _commPagePtr32(%rip),%rdx
-       testq   %rdx,%rdx
-       je      1f
-       subq    $(ASM_COMM_PAGE32_BASE_ADDRESS),%rdx
-       lock
-       incl    ASM_COMM_PAGE_SCHED_GEN(%rdx)
-
-       /* Increment 64-bit commpage field if present */
-       movq    _commPagePtr64(%rip),%rdx
-       testq   %rdx,%rdx
-       je      1f
-       subq    $(ASM_COMM_PAGE32_START_ADDRESS),%rdx
-       lock
-       incl    ASM_COMM_PAGE_SCHED_GEN(%rdx)
-1:
-       EMARF
-       ret
-
 /* pointers to the 32-bit commpage routine descriptors */
 /* WARNING: these must be sorted by commpage address! */
        .const_data