1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 06:17:35 +00:00

Kernel: Remove read_tsc() syscall

Since nothing is using this, let's just remove it. That's one less
thing to worry about.
This commit is contained in:
Andreas Kling 2020-01-03 09:27:09 +01:00
parent 23e4e03233
commit 24cc67d199
5 changed files with 1 additions and 21 deletions

View file

@ -439,12 +439,6 @@ void sync()
syscall(SC_sync);
}
int read_tsc(unsigned* lsw, unsigned* msw)
{
int rc = syscall(SC_read_tsc, lsw, msw);
__RETURN_WITH_ERRNO(rc, rc, -1);
}
int create_shared_buffer(int size, void** buffer)
{
int rc = syscall(SC_create_shared_buffer, size, buffer);

View file

@ -43,7 +43,6 @@ int release_shared_buffer(int shared_buffer_id);
int seal_shared_buffer(int shared_buffer_id);
int get_shared_buffer_size(int shared_buffer_id);
int set_process_icon(int icon_id);
int read_tsc(unsigned* lsw, unsigned* msw);
inline int getpagesize() { return 4096; }
pid_t fork();
int execv(const char* path, char* const argv[]);