]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blobdiff - include/asm-generic/early_ioremap.h
mm: add utility for early copy from unmapped ram
[mirror_ubuntu-bionic-kernel.git] / include / asm-generic / early_ioremap.h
index a5de55c04fb2ee56b8f77a3444028aa52c3ecbb9..e539f27ec51ba614fa72e3701acfc67606b20312 100644 (file)
@@ -33,6 +33,12 @@ extern void early_ioremap_setup(void);
  */
 extern void early_ioremap_reset(void);
 
+/*
+ * Early copy from unmapped memory to kernel mapped memory.
+ */
+extern void copy_from_early_mem(void *dest, phys_addr_t src,
+                               unsigned long size);
+
 #else
 static inline void early_ioremap_init(void) { }
 static inline void early_ioremap_setup(void) { }