chore(devfs): remove [serial0] debug output
Keep the data written to /dev/serial0, drop the open/close/read/write debug tags.
This commit is contained in:
1 parent
cec0647708
commit
4abb0ef3f6
1 file changed
-6
@@ -338,21 +338,15 @@ def devfs_list_directory(path: const str, buffer: str, size: uint32) -> int:
|
||||
serial0_file: devfs_file* = devfs_file()
|
||||
|
||||
def serial0_open(self: rawptr, path: const str, flags: int) -> int:
|
||||
serial.puts("[serial0] open: ")
|
||||
serial.puts(path)
|
||||
serial.puts("\n")
|
||||
return 0
|
||||
|
||||
def serial0_close(self: rawptr, fd: int) -> int:
|
||||
serial.puts("[serial0] close\n")
|
||||
return 0
|
||||
|
||||
def serial0_read(self: rawptr, fd: int, buffer: rawptr, size: uint32) -> int:
|
||||
serial.puts("[serial0] read\n")
|
||||
return 0
|
||||
|
||||
def serial0_write(self: rawptr, fd: int, buffer: const rawptr, size: uint32) -> int:
|
||||
serial.puts("[serial0] write\n")
|
||||
serial.puts(buffer)
|
||||
serial.puts("\n")
|
||||
return size
|
||||
|
||||
Reference in new issue
Block a user