Removed typed addresses -- too hard to use in that implementation.
[virt-mem.git] / lib / virt_mem_mmap.ml
index e5f0101..c323c1a 100644 (file)
@@ -618,9 +618,3 @@ let align t addr =
   let ws = get_wordsize t in
   let mask = Int64.of_int (bytes_of_wordsize ws - 1) in
   (addr +^ mask) &^ (Int64.lognot mask)
-
-(* Typed addresses. *)
-type 'a typed_addr
-
-external unsafe_addr_of_typed_addr : 'a typed_addr -> addr = "%identity"
-external unsafe_typed_addr_of_addr : addr -> 'a typed_addr = "%identity"