Domanda di colloquio di Ampere Computing

C programming question. How will Two different entities one executing firmware and one in Operating system copy and modify a shared content. Only the address and the offset is known to both. Correct mistakes in the Swap function.