X-Git-Url: https://git.saurik.com/apple/xnu.git/blobdiff_plain/c18c124eaa464aaaa5549e99e5a70fc9cbb50944..3e170ce000f1506b7b5d2c5c7faec85ceabb573d:/libsyscall/wrappers/csr.c diff --git a/libsyscall/wrappers/csr.c b/libsyscall/wrappers/csr.c index 2870bf97f..c5944c507 100644 --- a/libsyscall/wrappers/csr.c +++ b/libsyscall/wrappers/csr.c @@ -29,15 +29,10 @@ int __csrctl(csr_op_t op, void *buffer, size_t size); int csr_check(csr_config_t mask) { - return __csrctl(CSR_OP_CHECK, &mask, sizeof(csr_config_t)); + return __csrctl(CSR_SYSCALL_CHECK, &mask, sizeof(csr_config_t)); } int csr_get_active_config(csr_config_t *config) { - return __csrctl(CSR_OP_GET_ACTIVE_CONFIG, config, sizeof(csr_config_t)); -} - -int csr_get_pending_config(csr_config_t *config) -{ - return __csrctl(CSR_OP_GET_PENDING_CONFIG, config, sizeof(csr_config_t)); + return __csrctl(CSR_SYSCALL_GET_ACTIVE_CONFIG, config, sizeof(csr_config_t)); }