Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
JuArce committed May 25, 2021
1 parent a4f8b3a commit ff42861
Showing 1 changed file with 31 additions and 31 deletions.
62 changes: 31 additions & 31 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,34 +12,34 @@ Este documento contiene un manual básico respecto de los comandos ofrecidos al
## Syscalls
A continuación, se encuentra un cuadro de las syscalls provistas al usuario.<br>

|Number|Syscall Name |Call |First |Second |Third |Fourth |Fifth |Sixth |Seventh |
|-------|----------------------|-------|----------------------|----------------------|--------------|---------------|--------------|--------------|---------------|
|0 |read |0x00 |unsignedintfd |char*buffer |intlength |- - |- - | | |
|1 |write |0x01 |unsignedintfd |char*buffer |introw |intcol |intcolor |- - | |
|2 |draw |0x02 |int*matrix |introw | intcol |introws |intcolumns |- - | |
|3 |clear |0x03 |- |- - - |- | | | | |
|4 |getElapsedTicks |0x04 |- |- | - |- - |- - | | |
|5 |exit |0x05 |uint64_tvalue | | - |- - |- - | | |
|6 |getRegister |0x06 |uint64_t*registers | - | - |- - |- |- | |
|7 |memDump |0x07 |char*dir |char*dump |- - |- - |- | | |
|8 |getTime |0x08 |dateDate |- - |- - |- - | | | |
|9 |setAlarm |0x09 |intlength |uint64_tenabled | - |- - |- |- | |
|10 |screenHeight |0x10 |- |- | - |- - |- - | | |
|11 |screenWidth |0x11 |- |- | - |- - |- |- | |
|12 |processesList |0x12 |- |- | - |- - |- - | | |
|13 |createProcess |0x13 |uint64\_t*entryPoint |intforeground |uint64_t fdIn |uint64_t fdOut|uint64_t first|uint64_t second|uint64_t third|
|14 |kilProcess |0x14 |unsignedintpid | - |- |- | - | | |
|15 |changeProcessPriority |0x15 |unsignedintpid | intpriority | - |- - |- - | | |
|16 |changeProcessState |0x16 |unsignedintpid | - |- - |- - |- | | |
|17 |getPID |0x17 | - | - |- - |- - |- | | |
|18 |getMem |0x18 |uint64_tsize |- |- - |- - | |- | |
|19 |freeMem |0x19 |void*ptr |- | - |- - |- - | | |
|20 |getMemInfo |0x20 |char*info |- | - |- - |- - | | |
|21 |semOpen |0x21 |char*semId |uint64_tinitialValue | - |- - |- - | | |
|22 |semClose |0x22 |char*semId |- |- - |- - |- | | |
|23 |semPost |0x23 |char*semId |- |- - |- - |- | | |
|24 |semWait |0x24 |char*buffer |- |- - |- - |- | | |
|25 |semInfo |0x25 |intfd[2] |- |- - |- - |- | | |
|26 |pipeOpen |0x26 |intfd |- |- - |- - |- | | |
|27 |pipeClose |0x27 |char*buffer |- |- - |- - |- | | |
|28 |waitPid |0x28 |intpid |- |- - |- - |- | | |
|Number |Syscall Name |Call |First |Second |Third |Fourth |Fifth |Sixth |Seventh |
|-------|-----------------------|-------|-----------------------|-------------------|---------------|---------------|-----------|-------------------|----------------|
|0 |read |0x00 |unsigned int fd |char* buffer |int length | | | | |
|1 |write |0x01 |unsigned int fd |char* buffer |int row |int col |int color | | |
|2 |draw |0x02 |int* matrix |int row | int col |int rows |int columns| | |
|3 |clear |0x03 | | | | | | | |
|4 |getElapsedTicks |0x04 | | | | | | | |
|5 |exit |0x05 |uint64_t value | | | | | | |
|6 |getRegister |0x06 |uint64_t* registers | | | | | | |
|7 |memDump |0x07 |char* dir |char* dump | | | | | |
|8 |getTime |0x08 |date Date | | | | | | |
|9 |setAlarm |0x09 |int length |uint64_t enabled | | | | | |
|10 |screenHeight |0x10 | | | | | | | |
|11 |screenWidth |0x11 | | | | | | | |
|12 |processesList |0x12 | | | | | | | |
|13 |createProcess |0x13 |uint64_t *entryPoint |int foreground |uint64_t fdIn |uint64_t fdOut|uint64_t first|uint64_t second |uint64_t third |
|14 |kilProcess |0x14 |unsigned int pid | | | | | | |
|15 |changeProcessPriority |0x15 |unsigned int pid | int priority | | | | | |
|16 |changeProcessState |0x16 |unsigned int pid | | | | | | |
|17 |getPID |0x17 | | | | | | | |
|18 |getMem |0x18 |uint64_t size | | | | | | |
|19 |freeMem |0x19 |void* ptr | | | | | | |
|20 |getMemInfo |0x20 |char* info | | | | | | |
|21 |semOpen |0x21 |char* semId |uint64_t initialValue| | | | | |
|22 |semClose |0x22 |char* semId | | | | | | |
|23 |semPost |0x23 |char* semId | | | | | | |
|24 |semWait |0x24 |char* buffer | | | | | | |
|25 |semInfo |0x25 |int fd[2] | | | | | | |
|26 |pipeOpen |0x26 |int fd | | | | | | |
|27 |pipeClose |0x27 |char* buffer | | | | | | |
|28 |waitPid |0x28 |int pid | | | | | | |

0 comments on commit ff42861

Please sign in to comment.