[vim] remove vim expandtab comments on most of the files
This commit is contained in:
@@ -114,5 +114,3 @@ void clock_tests(void)
|
||||
printf("%u cycles per second\n", cycles);
|
||||
}
|
||||
}
|
||||
|
||||
// vim: set noexpandtab:
|
||||
|
||||
@@ -91,6 +91,3 @@ int fibo(int argc, const cmd_args *argv)
|
||||
|
||||
return NO_ERROR;
|
||||
}
|
||||
|
||||
// vim: set noexpandtab:
|
||||
|
||||
|
||||
@@ -662,5 +662,3 @@ int spinner(int argc, const cmd_args *argv)
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* vim: set ts=4 sw=4 noexpandtab: */
|
||||
|
||||
@@ -106,5 +106,3 @@ void usbtest_usb_setup(void)
|
||||
usbc_setup_endpoint(1, USB_OUT, 64);
|
||||
usbc_setup_endpoint(1, USB_IN, 64);
|
||||
}
|
||||
|
||||
// vim: set ts=4 sw=4 expandtab:
|
||||
|
||||
@@ -77,6 +77,3 @@ FUNCTION(unhandled_exception)
|
||||
LOCAL_DATA(default_stack)
|
||||
.skip 4096
|
||||
LOCAL_DATA(default_stack_top)
|
||||
|
||||
/* vim: set ts=4 sw=4 expandtab: */
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
/* vim: set expandtab ts=4 sw=4 tw=100: */
|
||||
/*
|
||||
* Copyright (c) 2013 Google Inc.
|
||||
*
|
||||
|
||||
@@ -614,5 +614,3 @@ void sm_intc_fiq_exit(void)
|
||||
current_fiq[cpu] = 0x3ff;
|
||||
}
|
||||
#endif
|
||||
|
||||
/* vim: set ts=4 sw=4 noexpandtab: */
|
||||
|
||||
@@ -223,5 +223,3 @@ static void arm_cortex_a9_timer_init_percpu(uint level)
|
||||
LK_INIT_HOOK_FLAGS(arm_cortex_a9_timer_init_percpu,
|
||||
arm_cortex_a9_timer_init_percpu,
|
||||
LK_INIT_LEVEL_THREADING - 1, LK_INIT_FLAG_SECONDARY_CPUS);
|
||||
|
||||
/* vim: set ts=4 sw=4 expandtab: */
|
||||
|
||||
@@ -374,5 +374,3 @@ static void arm_generic_timer_resume_cpu(uint level)
|
||||
|
||||
LK_INIT_HOOK_FLAGS(arm_generic_timer_resume_cpu, arm_generic_timer_resume_cpu,
|
||||
LK_INIT_LEVEL_PLATFORM, LK_INIT_FLAG_CPU_RESUME);
|
||||
|
||||
/* vim: set noexpandtab: */
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
/* vim: set expandtab ts=4 sw=4 tw=100: */
|
||||
/*
|
||||
* Copyright (c) 2013 Google Inc.
|
||||
*
|
||||
|
||||
@@ -239,5 +239,3 @@ extern struct thread_stats thread_stats[SMP_MAX_CPUS];
|
||||
__END_CDECLS;
|
||||
|
||||
#endif
|
||||
|
||||
/* vim: set ts=4 sw=4 noexpandtab: */
|
||||
|
||||
@@ -86,5 +86,3 @@ struct lk_init_struct {
|
||||
|
||||
#define LK_INIT_HOOK(_name, _hook, _level) \
|
||||
LK_INIT_HOOK_FLAGS(_name, _hook, _level, LK_INIT_FLAG_PRIMARY_CPU)
|
||||
|
||||
// vim: set ts=4 sw=4 expandtab:
|
||||
|
||||
@@ -240,5 +240,3 @@ static int cmd_kevlog(int argc, const cmd_args *argv)
|
||||
#endif
|
||||
|
||||
#endif // WITH_KERNEL_EVLOG
|
||||
|
||||
// vim: set noexpandtab:
|
||||
|
||||
@@ -76,6 +76,3 @@ enum handler_return mp_mbx_reschedule_irq(void)
|
||||
return (mp.active_cpus & (1U << cpu)) ? INT_RESCHEDULE : INT_NO_RESCHEDULE;
|
||||
}
|
||||
#endif
|
||||
|
||||
// vim: set noexpandtab:
|
||||
|
||||
|
||||
@@ -97,5 +97,3 @@ status_t sem_timedwait(semaphore_t *sem, lk_time_t timeout)
|
||||
THREAD_UNLOCK(state);
|
||||
return ret;
|
||||
}
|
||||
|
||||
/* vim: set noexpandtab: */
|
||||
|
||||
@@ -1270,5 +1270,3 @@ const struct __debugger_info__ {
|
||||
.off_waitq = __builtin_offsetof(thread_t, blocking_wait_queue),
|
||||
};
|
||||
#endif
|
||||
|
||||
/* vim: set ts=4 sw=4 noexpandtab: */
|
||||
|
||||
@@ -309,6 +309,3 @@ void timer_init(void)
|
||||
platform_set_periodic_timer(timer_tick, NULL, 10); /* 10ms */
|
||||
#endif
|
||||
}
|
||||
|
||||
/* vim: set noexpandtab */
|
||||
|
||||
|
||||
@@ -141,5 +141,3 @@ static int cmd_cksum_bench(int argc, const cmd_args *argv)
|
||||
}
|
||||
|
||||
#endif // WITH_LIB_CONSOLE
|
||||
|
||||
// vim: set noexpandtab:
|
||||
|
||||
@@ -821,5 +821,3 @@ static int cmd_gfx(int argc, const cmd_args *argv)
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
// vim: set noexpandtab:
|
||||
|
||||
@@ -178,5 +178,3 @@ static void gfxconsole_init_hook(uint level)
|
||||
}
|
||||
|
||||
LK_INIT_HOOK(gfxconsole, &gfxconsole_init_hook, LK_INIT_LEVEL_PLATFORM);
|
||||
|
||||
// vim: set noexpandtab:
|
||||
|
||||
@@ -87,6 +87,3 @@ ssize_t iovec_to_membuf (uint8_t *buf, uint buf_len, const iovec_t *iov, uint io
|
||||
|
||||
return (ssize_t) buf_pos;
|
||||
}
|
||||
|
||||
|
||||
// vim: set ts=4 sw=4 noexpandtab:
|
||||
|
||||
@@ -202,6 +202,3 @@ const uint8_t *arp_get_dest_mac(uint32_t host)
|
||||
|
||||
return dst_mac;
|
||||
}
|
||||
|
||||
// vim: set ts=4 sw=4 expandtab:
|
||||
|
||||
|
||||
@@ -96,5 +96,3 @@ uint16_t rfc768_chksum(struct ipv4_hdr *ipv4, struct udp_hdr *udp)
|
||||
return chksum;
|
||||
}
|
||||
#endif
|
||||
|
||||
// vim: set ts=4 sw=4 expandtab:
|
||||
|
||||
@@ -298,5 +298,3 @@ void minip_init_dhcp(tx_func_t tx_func, void *tx_arg)
|
||||
dhcp_thr = thread_create("dhcp", dhcp_thread, NULL, DEFAULT_PRIORITY, DEFAULT_STACK_SIZE);
|
||||
thread_detach_and_resume(dhcp_thr);
|
||||
}
|
||||
|
||||
// vim: set noexpandtab:
|
||||
|
||||
@@ -86,5 +86,3 @@ static inline status_t tcp_accept(tcp_socket_t *listen_socket, tcp_socket_t **ac
|
||||
|
||||
/* utilities */
|
||||
void gen_random_mac_address(uint8_t *mac_addr);
|
||||
|
||||
// vim: set ts=4 sw=4 expandtab:
|
||||
|
||||
@@ -125,5 +125,3 @@ void pktbuf_create_bufs(void *ptr, size_t size);
|
||||
|
||||
void pktbuf_dump(pktbuf_t *p);
|
||||
#endif
|
||||
|
||||
// vim: set noexpandtab:
|
||||
|
||||
@@ -170,5 +170,3 @@ STATIC_COMMAND("arp", "arp commands", &cmd_arp)
|
||||
STATIC_COMMAND("mi", "minip commands", &cmd_minip)
|
||||
STATIC_COMMAND_END(minip);
|
||||
#endif
|
||||
|
||||
// vim: set ts=4 sw=4 expandtab:
|
||||
|
||||
@@ -151,6 +151,3 @@ static inline void mac_addr_copy(uint8_t *dest, const uint8_t *src)
|
||||
*(uint32_t *)dest = *(const uint32_t *)src;
|
||||
*(uint16_t *)(dest + 4) = *(const uint16_t *)(src + 4);
|
||||
}
|
||||
|
||||
// vim: set ts=4 sw=4 expandtab:
|
||||
|
||||
|
||||
@@ -499,5 +499,3 @@ uint32_t minip_parse_ipaddr(const char *ipaddr_str, size_t len)
|
||||
|
||||
return IPV4_PACK(ip);
|
||||
}
|
||||
|
||||
// vim: set ts=4 sw=4 expandtab:
|
||||
|
||||
@@ -248,5 +248,3 @@ static void pktbuf_init(uint level)
|
||||
}
|
||||
|
||||
LK_INIT_HOOK(pktbuf, pktbuf_init, LK_INIT_LEVEL_THREADING);
|
||||
|
||||
// vim: set noexpandtab:
|
||||
|
||||
@@ -1311,5 +1311,3 @@ STATIC_COMMAND_START
|
||||
STATIC_COMMAND("tcp", "tcp commands", &cmd_tcp)
|
||||
STATIC_COMMAND_END(tcp);
|
||||
|
||||
|
||||
// vim: set ts=4 sw=4 expandtab:
|
||||
|
||||
@@ -269,6 +269,3 @@ void register_int_handler(unsigned int vector, int_handler handler, void *arg)
|
||||
|
||||
spin_unlock_irqrestore(&lock, state);
|
||||
}
|
||||
|
||||
/* vim: set noexpandtab: */
|
||||
|
||||
|
||||
@@ -246,5 +246,3 @@ void platform_init(void)
|
||||
arch_mmu_init();
|
||||
platform_init_mmu_mappings();
|
||||
}
|
||||
|
||||
/* vim: set noexpandtab: */
|
||||
|
||||
@@ -209,5 +209,3 @@ void platform_stop_timer(void)
|
||||
outp(I8253_CONTROL_REG, 0x30);
|
||||
return;
|
||||
}
|
||||
|
||||
/* vim: set noexpandtab */
|
||||
|
||||
@@ -90,5 +90,3 @@ void platform_init(void)
|
||||
printf("\n");
|
||||
|
||||
}
|
||||
|
||||
// vim: set ts=4 sw=4 noexpandtab:
|
||||
|
||||
@@ -250,5 +250,3 @@ status_t usbc_queue_tx(ep_t ep, usbc_transfer_t *transfer)
|
||||
{
|
||||
PANIC_UNIMPLEMENTED;
|
||||
}
|
||||
|
||||
// vim: set ts=4 sw=4 noexpandtab:
|
||||
|
||||
@@ -297,5 +297,3 @@ const void *const __SECTION(".text.boot.vectab2") vectab2[] = {
|
||||
VECTAB_ENTRY(pwm1_gen3), // PWM 1 Generator 3
|
||||
VECTAB_ENTRY(pwm1_fault) // PWM 1 Fault
|
||||
};
|
||||
|
||||
// vim: ts=4 sw=4 noexpandtab:
|
||||
|
||||
@@ -167,5 +167,3 @@ static int stmflash_ioctl(struct bdev *bdev, int request, void *argp)
|
||||
LTRACEF("dev %p, request %d, argp %p\n",bdev, request, argp);
|
||||
return ERR_NOT_SUPPORTED;
|
||||
}
|
||||
|
||||
// vim: set ts=4 sw=4 noexpandtab:
|
||||
|
||||
@@ -378,6 +378,3 @@ uint32_t qspi_rd1(struct qspi_ctxt *qspi, uint32_t cmd)
|
||||
qspi_cs(qspi, 1);
|
||||
return readl(QSPI_RXDATA);
|
||||
}
|
||||
|
||||
// vim: set ts=4 sw=4 noexpandtab:
|
||||
|
||||
|
||||
@@ -578,5 +578,3 @@ STATIC_COMMAND("spiflash", "spi flash manipulation utilities", cmd_spiflash)
|
||||
STATIC_COMMAND_END(qspi);
|
||||
|
||||
#endif
|
||||
|
||||
// vim: set ts=4 sw=4 noexpandtab:
|
||||
|
||||
@@ -130,5 +130,3 @@ void platform_init_timer(void)
|
||||
register_int_handler(TTC0_C_INT, &platform_tick, NULL);
|
||||
}
|
||||
#endif
|
||||
|
||||
/* vim: set ts=4 sw=4 expandtab: */
|
||||
|
||||
@@ -64,5 +64,3 @@ void target_set_debug_led(unsigned int led, bool on)
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
// vim: set ts=4 sw=4 noexpandtab:
|
||||
|
||||
@@ -128,5 +128,3 @@ void target_usb_setup(void)
|
||||
|
||||
usb_start();
|
||||
}
|
||||
|
||||
// vim: set ts=4 sw=4 expandtab:
|
||||
|
||||
@@ -321,5 +321,3 @@ out:
|
||||
close(fd_out);
|
||||
return ret;
|
||||
}
|
||||
|
||||
// vim: noexpandtab
|
||||
|
||||
@@ -122,5 +122,3 @@ int main(int argc, char **argv)
|
||||
}
|
||||
return lkboot_txn(host, cmd, fd, args);
|
||||
}
|
||||
|
||||
// vim: noexpandtab
|
||||
|
||||
@@ -148,5 +148,3 @@ int main(int argc, char **argv)
|
||||
close(fd);
|
||||
return 0;
|
||||
}
|
||||
|
||||
// vim: set noexpandtab:
|
||||
|
||||
@@ -125,5 +125,3 @@ int tcp_connect(in_addr_t addr, unsigned port)
|
||||
{
|
||||
return inet_connect(addr, SOCK_STREAM, port);
|
||||
}
|
||||
|
||||
// vim: noexpandtab
|
||||
|
||||
Reference in New Issue
Block a user