Ignore:
Timestamp:
Jun 29, 2017, 2:27:35 PM (7 years ago)
Author:
max@…
Message:

add the and/or ops

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/x86_64/core/hal_internal.h

    r96 r98  
    4343uint32_t atomic_cas_32(volatile uint32_t *ptr, uint32_t exp, uint32_t new);
    4444uint32_t atomic_add_32(volatile uint32_t *ptr, int32_t incr);
     45uint32_t atomic_and_32(volatile uint32_t *ptr, uint32_t mask);
     46uint32_t atomic_or_32(volatile uint32_t *ptr, uint32_t mask);
    4547
    4648/* hal_gpt.c */
Note: See TracChangeset for help on using the changeset viewer.