Add newline at the end of the files.

This commit is contained in:
Enrico Fraccaroli
2022-12-13 14:25:16 -05:00
parent 565df959b1
commit 0965669f4b
64 changed files with 63 additions and 64 deletions
+1 -1
View File
@@ -138,4 +138,4 @@ void init_gdt();
void gdt_set_gate(uint8_t index, uint32_t base, uint32_t limit, uint8_t access, uint8_t granul);
/// @}
/// @}
/// @}
+1 -1
View File
@@ -60,4 +60,4 @@ typedef struct idt_pointer_t {
void init_idt();
/// @}
/// @}
/// @}
+1 -1
View File
@@ -97,4 +97,4 @@ extern void isq_handler(pt_regs *f);
//==============================================================================
/// @}
/// @}
/// @}
+1 -1
View File
@@ -130,4 +130,4 @@ void unswitch_fpu();
int fpu_install();
/// @}
/// @}
/// @}
+1 -1
View File
@@ -346,4 +346,4 @@ int pci_get_interrupt(uint32_t device);
void pci_debug_scan();
/// @}
/// @}
/// @}
+1 -1
View File
@@ -26,4 +26,4 @@ int ata_initialize();
int ata_finalize();
/// @}
/// @}
/// @}
+1 -1
View File
@@ -19,4 +19,4 @@ int fdc_initialize();
int fdc_finalize();
/// @}
/// @}
/// @}
+1 -1
View File
@@ -49,4 +49,4 @@ int keyboard_initialize();
int keyboard_finalize();
/// @}
/// @}
/// @}
+1 -1
View File
@@ -161,4 +161,4 @@ void init_keymaps();
/// @}
/// @}
/// @}
/// @}
+1 -1
View File
@@ -24,4 +24,4 @@ int mouse_initialize();
int mouse_finalize();
/// @}
/// @}
/// @}
+1 -1
View File
@@ -15,4 +15,4 @@ void ps2_write(unsigned char data);
/// @brief Reads data from the PS/2 port.
/// @return the data coming from the PS/2 port.
unsigned char ps2_read();
unsigned char ps2_read();
+1 -1
View File
@@ -26,4 +26,4 @@ int rtc_initialize();
int rtc_finalize();
/// @}
/// @}
/// @}
+1 -1
View File
@@ -288,4 +288,4 @@ const char *elf_symbol_type_to_string(int type);
/// @brief Transforms the passed ELF symbol bind to string.
/// @param bind The integer representing the ELF symbol bind.
/// @return The string representing the ELF symbol bind.
const char *elf_symbol_bind_to_string(int bind);
const char *elf_symbol_bind_to_string(int bind);
+1 -1
View File
@@ -9,4 +9,4 @@
/// @param request The device-dependent request code
/// @param data An untyped pointer to memory.
/// @return On success zero is returned.
int sys_ioctl(int fd, int request, void *data);
int sys_ioctl(int fd, int request, void *data);
+1 -1
View File
@@ -65,4 +65,4 @@ int procr_create_entry_pid(task_struct *entry);
/// @brief Destroy the entire procfs entry tree for the give process.
/// @param entry Pointer to the task_struct of the process.
/// @return 0 if succeed, or -errno in case of error.
int procr_destroy_entry_pid(task_struct *entry);
int procr_destroy_entry_pid(task_struct *entry);
+1 -1
View File
@@ -210,4 +210,4 @@ int sys_setitimer(int which, const struct itimerval *new_value, struct itimerval
/// @brief Update the profiling timer and generate SIGPROF if it has expired.
/// @param proc The process for which we must update the profiling.
void update_process_profiling_timer(task_struct *proc);
void update_process_profiling_timer(task_struct *proc);
+1 -1
View File
@@ -116,4 +116,4 @@ void vga_new_line();
/// @brief Change the color.
void vga_set_color(unsigned int color);
void vga_run_test();
void vga_run_test();
-1
View File
@@ -162,4 +162,3 @@ static inline int test_bit(int offset, volatile unsigned long *base)
// is discouraged by many C/C++ groups.
// == xchg/xchgl ==============================================================
//
+1 -1
View File
@@ -100,4 +100,4 @@ void *kmalloc_ap(unsigned int sz, unsigned int *phys);
/// @return
//void *realloc(void *ptr, unsigned int size);
#endif
#endif
+1 -1
View File
@@ -268,4 +268,4 @@ static inline void pause()
// below the block of asm statements.
// ASM(" addic. %0,%1,%2\n" : "=r"(res): "=r"(a),"r"(a))
// This can be particularly important in cases when the code is accessing
// shared memory.
// shared memory.
+1 -1
View File
@@ -111,4 +111,4 @@ int sys_waitperiod();
/// is no longer alive.
/// @param gid ID of the group
/// @return 1 if the group is orphan, 0 otherwise.
int is_orphaned_pgrp(pid_t gid);
int is_orphaned_pgrp(pid_t gid);
+1 -1
View File
@@ -107,4 +107,4 @@ int default_wake_function(wait_queue_entry_t *wait, unsigned mode, int sync);
/// @param wq Waitqueue where to sleep.
/// @return Pointer to the entry inside the wq representing the
/// sleeping process.
wait_queue_entry_t *sleep_on(wait_queue_head_t *wq);
wait_queue_entry_t *sleep_on(wait_queue_head_t *wq);
+1 -1
View File
@@ -25,4 +25,4 @@ int relocate_modules();
/// @brief Returns the address where the modules end.
/// @return Address after the modules.
uintptr_t get_address_after_modules();
uintptr_t get_address_after_modules();
+1 -1
View File
@@ -10,4 +10,4 @@
/// @param msg The message that has to be shown.
void kernel_panic(const char *msg);
#define TODO(msg) kernel_panic(#msg);
#define TODO(msg) kernel_panic(#msg);
+1 -1
View File
@@ -323,4 +323,4 @@ int sigdelset(sigset_t *set, int signum);
/// @param signum The signalt to handle.
/// @return 1 if signum is a member of set,
/// 0 if signum is not a member, and -1 on error.
int sigismember(sigset_t *set, int signum);
int sigismember(sigset_t *set, int signum);
+1 -1
View File
@@ -292,4 +292,4 @@ void boot_main(uint32_t magic, multiboot_info_t *header, uint32_t esp)
boot_kernel(boot_info.stack_base, elf_hdr->entry, &boot_info);
}
/// @}
/// @}
+1 -1
View File
@@ -496,4 +496,4 @@ void pci_debug_scan()
pr_default("--------------------------------------------------\n");
}
///! @endcond
///! @endcond
+1 -1
View File
@@ -1159,4 +1159,4 @@ int ata_finalize()
return 0;
}
/// @}
/// @}
+1 -1
View File
@@ -65,4 +65,4 @@ int fdc_finalize()
return 0;
}
/// @}
/// @}
+1 -1
View File
@@ -301,4 +301,4 @@ int keyboard_finalize()
return 0;
}
/// @}
/// @}
+1 -1
View File
@@ -240,4 +240,4 @@ void init_keymaps()
keymaps[KEYMAP_US][KEY_KP_DEC] = (keymap_t){ 0x532E, 0x532E, 0x5300, 0x5300 }; // 0x0053
}
/// @}
/// @}
+1 -1
View File
@@ -214,4 +214,4 @@ int mouse_finalize()
return 0;
}
/// @}
/// @}
+1 -1
View File
@@ -328,4 +328,4 @@ int ps2_initialize()
pr_debug("Status : %s (%3d | %02x)\n", dec_to_binary(status, 8), status, status);
return 0;
}
}
+1 -1
View File
@@ -160,4 +160,4 @@ int rtc_finalize()
return 0;
}
/// @}
/// @}
+1 -1
View File
@@ -31,4 +31,4 @@ int sys_ioctl(int fd, int request, void *data)
// Perform the ioctl.
return vfs_ioctl(file, request, data);
}
}
+1 -1
View File
@@ -60,4 +60,4 @@ int sys_creat(const char *path, mode_t mode)
// Return the file descriptor and increment it.
return fd;
}
}
+1 -1
View File
@@ -949,4 +949,4 @@ int proc_destroy_entry(const char *name, proc_dir_entry_t *parent)
return -ENOENT;
}
return 0;
}
}
+1 -1
View File
@@ -93,4 +93,4 @@ off_t sys_lseek(int fd, off_t offset, int whence)
}
// Perform the lseek.
return vfs_lseek(vfd->file_struct, offset, whence);
}
}
+1 -1
View File
@@ -42,4 +42,4 @@ int sys_fstat(int fd, stat_t *buf)
}
return vfs_fstat(vfd->file_struct, buf);
}
}
+1 -1
View File
@@ -768,4 +768,4 @@ void update_process_profiling_timer(task_struct *proc)
proc->it_prof_value = 0;
}
}
}
}