]> git.saurik.com Git - apple/xnu.git/blobdiff - pexpert/arm/pe_serial.c
xnu-7195.101.1.tar.gz
[apple/xnu.git] / pexpert / arm / pe_serial.c
index b555aa1e2a209f0bb5a77c9cab7a5b104e9db1a9..cf8dab9fbc638f52911e1ae62e8b333ef7aeb817 100644 (file)
@@ -629,8 +629,8 @@ SECURITY_READ_ONLY_LATE(static struct pe_serial_functions) dockchannel_uart_seri
 
 /****************************************************************************/
 #ifdef  PI3_UART
-vm_offset_t pi3_gpio_base_vaddr = 0;
-vm_offset_t pi3_aux_base_vaddr = 0;
+static vm_offset_t pi3_gpio_base_vaddr = 0;
+static vm_offset_t pi3_aux_base_vaddr = 0;
 static int
 pi3_uart_tr0(void)
 {
@@ -716,6 +716,10 @@ SECURITY_READ_ONLY_LATE(static struct pe_serial_functions) pi3_uart_serial_funct
 };
 
 #endif /* PI3_UART */
+
+/*****************************************************************************/
+
+
 /*****************************************************************************/
 
 static void
@@ -778,6 +782,7 @@ serial_init(void)
        }
 #endif /* PI3_UART */
 
+
 #ifdef DOCKCHANNEL_UART
        uint32_t no_dockchannel_uart = 0;
        if (SecureDTFindEntry("name", "dockchannel-uart", &entryP) == kSuccess) {